184 reputation
18
bio website stevendesu.com
location Kentucky
age 24
visits member for 3 years, 2 months
seen Aug 4 '11 at 23:31

I like to code. That's about it. I prefer web-based applications. PHP, MySQL, HTML, CSS, JavaScript... I can also code in Perl or Python for shell automation and C++ when I need something to run fast. I'm learning ASM. I'm a Computer Engineering graduate with a Masters in Business Administration. Math and algorithms come easily for me. Art and graphics do not.

I'm also a certified Mac Genius. Summer jobs. Whee. I don't own a Macintosh, but I can tear them apart, rebuild them, and fix just about any problem with them.


May
16
awarded  Notable Question
Aug
6
awarded  Popular Question
Dec
22
awarded  Teacher
Jul
30
comment What are the advantages to the Settings API?
I certainly hope it's improved. I honestly see no advantages to the Settings API, but rather every advantage I'm enjoying now is the result of the framework that I borrowed for it. I like that all form elements are now dynamically generated with the same appearance... but that isn't Settings API. I like that default settings and registering settings are handled by the same definitions... but that isn't Settings API. I like that jQuery not only makes the forms pretty, but is progressively enhanced - but I had to manually code the progressive enhancement...
Jul
30
accepted What are the advantages to the Settings API?
Jul
30
comment What are the advantages to the Settings API?
I finally got my Settings page working with help from this tutorial: alisothegeek.com/2011/01/wordpress-settings-api-tutorial-1 and with the help of the switch statements and helper functions I must say that things are now more orderly in my code (which is nice since I plan on moving from my two test settings to 15-20 total settings).
Jul
29
comment What are the advantages to the Settings API?
Are you aware that the source code you pointed to implements the functions oenology_get_settings_by_tab() and oenology_get_default_options without ever first defining them? I thought it was bad enough at 209 lines of code (after removing comments and blank lines), but once those functions are defined it'll be even longer... For four options?
Jul
29
comment What are the advantages to the Settings API?
So it essentially forces security and aesthetic standards that I was already following without its help? I will read through the tutorial you linked, though. If it makes the Settings API as easy as manually coding the forms (or easier) then I'll accept this answer
Jul
29
answered Add a wordpress blog to my website having users
Jul
29
asked What are the advantages to the Settings API?
Jul
29
comment $GLOBALS array for wordpress
I think it should also be noted that if you declare ANY variable in the global scope it is automatically added to the $GLOBALS array without ever typing $GLOBALS[, so a grep search wouldn't possibly return every global variable in WordPress.
Jul
29
comment Broken wordpress permalinks on pages only
I actually was recently making changes to a PremiumPress theme and had a similar issue. Randomly getting a 404 when you edited a post, page, or anything. I found that my issue was an infinite add_action() loop. Look for anywhere that you called add_action() or add_filter() and make sure the callback function doesn't run any core WordPress functions which would call the same hook or filter.
Jul
29
comment WordPress and Security
I have a good example of a crappy host (although I realize this is VERY late). A client of mine had a website running on LiquidWeb. I'm not sure what their security vulnerability was (they obviously can't divulge that information), however his website was crawling with links and ads that he didn't put there. It was only a few minutes to restore an old database backup, however, and get things working again.
Jul
29
awarded  Commentator
Jul
29
comment add_action with a class method is causing fatal errors
Issue with the Walker actually had nothing to do with this issue (although this issue was still causing bugs here and there, and you did answer the question very well). I solved the walker issue and included the answer in my original question.
Jul
29
accepted add_action with a class method is causing fatal errors
Jul
29
revised add_action with a class method is causing fatal errors
Found the issue
Jul
29
revised add_action with a class method is causing fatal errors
Fixed a typo (DEMenu -> MyClass)
Jul
29
comment add_action with a class method is causing fatal errors
Now test.php is functioning properly, but the Walker class is still messed up... I'm going to edit my original question to include my simplified plugin class.
Jul
29
comment add_action with a class method is causing fatal errors
Actually, I just figured it out. Instead of public static function MyClass(){ it should be just function MyClass(){. That's actually probably what problem was all along. I kept using public static function instead of public function.