rmccue

rmccue

17p

13 comments posted · 0 followers · following 0

10 years ago @ Pre-Thought Listen - Introducing WP API · 0 replies · +1 points

Multisite isn\'t in the scope for the GSOC project, but it\'s possible to do right now with some filter trickery. That said, post-GSOC, it\'s something I\'d love to tackle.

10 years ago @ Pre-Thought Listen - Editing Commits with Git · 0 replies · +1 points

Absolutely! This should only ever be done locally and never once someone may have pulled it down.

11 years ago @ Pre-Thought Listen - Why WP_Error Sucks · 0 replies · +1 points

By "backwards compatibility" I'm referring to compatibility with older plugins.

11 years ago @ Pre-Thought Listen - Why WP_Error Sucks · 0 replies · +1 points

PHP 4 failing should be occurring as soon as possible. At the moment, it occurs in the installer and the upgrader. If the user somehow makes it past that, it\'ll error out very early in the loading. The only files that would need to concern themselves with this are wp-includes/load.php, wp-includes/default-constants.php and wp-includes/version.php. None of these really depend on anything else, as by this point, hardly anything is available.

If you mean in terms of plugins being able to work on older versions of WordPress using PHP 4, that\'s a fair point, but by this point in time, I wouldn\'t say that many of these plugins exist.

12 years ago @ Pre-Thought Listen - Explicit versus Implic... · 1 reply · +1 points

Huh! I swear it did last time I checked it. Stupid eyes.

Forgetting to include the prefix gives immediate results: nothing happens. Forgetting to specify nohook, on the other hand, can give weird bugs which might not be readily apparent.

In addition, if you are writing "filter_x", you'd be looking at the source to see whether it's an action or a filter anyway, so I don't see that as a problem.

It's the opposite of a magical convention, specifically because you are writing exactly what you want filtered.

12 years ago @ Pre-Thought Listen - Explicit versus Implic... · 0 replies · +1 points

Defaulting to implicit is IMHO a bad idea. If you are going to support implicit hooking, I think explicit should still be the default. Apologies for misrepresenting your position though, I've added a footnote.

As I said, I'm not against magic, but I think it should be explicit.

Regarding prefixing with `action_` or `filter_`, what problems do you forsee regarding that?

12 years ago @ Pre-Thought Listen - Explicit versus Implic... · 0 replies · +1 points

Ah, didn't realise that. Updated the post.

13 years ago @ Pre-Thought Listen - On the lack of posting... · 0 replies · +1 points

I already use WordPress for iPhone. :P

13 years ago @ Reddit Australia Compe... - (Late) ANZAC Event · 0 replies · +1 points

Ooh, nice catch! Remind me to fix this ASAP. Silly reddit.

13 years ago @ Reddit Australia Compe... - (Late) ANZAC Event · 0 replies · +1 points

If you hit any problems, let me know down here in the comments.