510 reputation
314
bio website
location
age
visits member for 3 years, 5 months
seen Mar 31 at 20:42

Jan
9
awarded  Popular Question
Jan
8
comment “Tree view” for wp_dropdown_categories() markup
The last two paragraphs pose the question/issue. The actual question is bolded. Thanks for your help.
Jan
8
asked “Tree view” for wp_dropdown_categories() markup
Jan
8
awarded  Nice Question
Jan
8
comment Why is Wordpress code so “space-happy”?
Excellent link to PSR. Thanks, @kaiser.
Jan
8
accepted Why is Wordpress code so “space-happy”?
Jan
8
comment Why is Wordpress code so “space-happy”?
thanks for your answer! The . spacing makes sense to me, as . is really just a binary operator, just like + or -. Your thoughts on parentheses "hugging" their contents is exactly why I asked this question. This behavior, along with the even weirder rules like those for square brackets (WP says to use $foo['bar'] and $foo[ $bar ]) are exactly why I asked this question. :)
Jan
8
revised Why is Wordpress code so “space-happy”?
added 394 characters in body
Jan
8
comment Why is Wordpress code so “space-happy”?
I think I wasn't super clear in my question - I'm referring less to tabs vs spaces, and more to "Space Usage" at make.wordpress.org/core/handbook/coding-standards/php/…. I'll edit the question to be clearer.
Jan
8
comment Why is Wordpress code so “space-happy”?
Thanks for your comment, @TomJNowell! I think maybe I miscommunicated in my "question" - I'm asking less about tabs/spaces for indentation, and more about the rules mentioned under "Space Usage" at make.wordpress.org/core/handbook/coding-standards/php/…. Sorry I wasn't more clear!
Jan
8
asked Why is Wordpress code so “space-happy”?
Jan
7
awarded  Popular Question
Dec
11
awarded  Popular Question
Dec
3
comment wp_insert_post not returning post ID?
FYI, the solution to our particular problem was: eddiemoya.com/plugins/incorrect-datetime-bug-fix-wordpress
Dec
3
comment wp_insert_post not returning post ID?
I'm having a similar problem - wish this weren't closed back in the day. Ours is giving errors (a warning, technically) when we try to create a new post in the admin interface. The warning can be traced back to this issue - I'm thinking it's a problem in our database somewhere... The warning message is: Warning: Creating default object from empty value in /home/xxx/public_html/wp-admin/includes/post.php on line 475
Nov
4
revised Why does dbDelta() not catch MysqlErrors?
added 121 characters in body
Nov
3
comment Why does dbDelta() not catch MysqlErrors?
Note that while this works, it only solves part of the problem. Once I implemented this core hack, another similar issue cropped up in Wordpress' blog setup code. Once I fixed that, another one cropped up. I wonder how deep this rabbit hole goes... Perhaps I can revisit this later...
Nov
3
revised Why does dbDelta() not catch MysqlErrors?
added 113 characters in body
Nov
3
accepted Why does dbDelta() not catch MysqlErrors?
Nov
3
answered Why does dbDelta() not catch MysqlErrors?