Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Blogging Forum


You are currently viewing our Blogging Forum as a guest. Please register to participate.
Login



Reply
Need some testers (wordpress plugin)
Old 05-05-2010, 03:39 AM Need some testers (wordpress plugin)
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
I've published a wordpress plugin and today I noticed that someone had indicated that it is broken on the plugin page (http://wordpress.org/extend/plugins/apparatus/). Without any actual feedback I haven't been able to determine what the issue is or even if there is one. All of my tests show it is working fine (or as well as it should be considering its a beta version).

If someone could install it and test it out I'd appreciate it. Its a PHP interpreter that I developed for testing and writing code examples.

By the way, this plugin isn't a toy. In the wrong hands this plugin could do a lot of damage.

Useful feedback will get you some TP.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
 
Register now for full access!
Old 05-05-2010, 09:55 AM Re: Need some testers (wordpress plugin)
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
Nice plugin.

I tested it locally and it seems to work fine.

My only thought is that person had no idea how to use it properly.

I admit, at first I thought this allowed you to write php in the admin area, meaning, "into a post". Like echoing the_title(); etc. (Which I have seen.)

Unless I am missing something, I also have seen that the wp functions do not work? Like wp_list_pages('title_li='); (the functions that work outside of the loop)
If you use them, it breaks the output. You may want to mention not to use wp functions in the description?

Maybe the broken report was due the the user trying to do something like the above?

I have some stuff to do today, but I can try to test it deeper later.

Good luck with it.
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 05-05-2010, 10:14 AM Re: Need some testers (wordpress plugin)
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Yes I agree I need to rewrite the readme text to be more clear.

Any included function should work fine, I've tested wp_list_pages and it is working for me. If the function isn't included (and hence isn't defined) you should get this error message:
Code:
Fatal error: Call to undefined function wp_list_pages()
Is that what happens?

I'll look further into this... half the value of the plugin is being able to test the output of wordpress functions.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 05-05-2010, 03:45 PM Re: Need some testers (wordpress plugin)
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
I have since seen that it does work with most wp functions. The one I tried first was wp_list_categories(); and got this output before I realized I forgot to put <ul> and </ul>:

Code:
Type:  	Line:  	Message:
Unknown 	709 	is_a(): Deprecated. Please use the instanceof operator
Unknown 	709 	is_a(): Deprecated. Please use the instanceof operator
Unknown 	709 	is_a(): Deprecated. Please use the instanceof operator
Unknown 	709 	is_a(): Deprecated. Please use the instanceof operator
Unknown 	709 	is_a(): Deprecated. Please use the instanceof operator
Unknown 	709 	is_a(): Deprecated. Please use the instanceof operator
Though, it DID output the html correctly.

Quote:
I'll look further into this... half the value of the plugin is being able to test the output of wordpress functions.
That is what I figured, and I should have tested more functions before I replied earlier, sorry.

What would be cool is if there was a 'quick list' of the most common wp functions. Then some less experienced users could learn more about these functions and what they output.

Something like:
Category Functions:
1.
2.
etc.
Page Functions:
etc.

Just a thought.

Last edited by racer x; 05-05-2010 at 03:47 PM..
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 05-05-2010, 09:41 PM Re: Need some testers (wordpress plugin)
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Right now it is set to report notices. is_a was deprecated in PHP5 (and then undeprecated in 5.3) so any function that uses it will issue a notice.

I agree that there needs to be some sort of function index; its something I'll work on for the next version. Thanks for the help.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Reply     « Reply to Need some testers (wordpress plugin)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16328 seconds with 12 queries