rmccue
17p13 comments posted · 0 followers · following 0
11 years ago @ Pre-Thought Listen - Introducing WP API · 0 replies · +1 points
11 years ago @ Pre-Thought Listen - Editing Commits with Git · 0 replies · +1 points
12 years ago @ Pre-Thought Listen - Why WP_Error Sucks · 0 replies · +1 points
12 years ago @ Pre-Thought Listen - Why WP_Error Sucks · 0 replies · +1 points
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.
13 years ago @ Pre-Thought Listen - Explicit versus Implic... · 1 reply · +1 points
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.
13 years ago @ Pre-Thought Listen - Explicit versus Implic... · 0 replies · +1 points
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?
13 years ago @ Pre-Thought Listen - Explicit versus Implic... · 0 replies · +1 points
14 years ago @ Pre-Thought Listen - On the lack of posting... · 0 replies · +1 points
14 years ago @ Reddit Australia Compe... - (Late) ANZAC Event · 0 replies · +1 points
14 years ago @ Reddit Australia Compe... - (Late) ANZAC Event · 0 replies · +1 points