rmccue

rmccue

12p

9 comments posted · 0 followers · following 0

3 weeks 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.

3 weeks 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?

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

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

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

I already use WordPress for iPhone. :P

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

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

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

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

94 weeks ago @ Reddit Australia Compe... - Test Match · 0 replies · +1 points

YA WAY

94 weeks ago @ Reddit Australia Compe... - Test Match · 2 replies · +1 points

You can comment too!

143 weeks ago @ Dented Reality - Fully Automattic · 3 replies · +1 points

Congratulations Beau!