Jonathan Brinley

Results 6 comments of Jonathan Brinley

I like the filter approach, for the reasons chrisdrake outlined.. Doesn't make sense in a field's arguments, since the key is added just once, when the api script is registered....

I've experienced the same issue. Rebooting clears it up.

Thanks for reporting this, Rob. I'm not able to reproduce the issue, though. Any suggestions on how I might be able to?

``` $router = WP_Router::get_instance(); if ( $router->get_route('my_custom_routing') !== NULL ) { echo 'menu-active'; } ``` But you're right, there should be a template tag for that.

Stick with your code for now. I plan to add template tags in the future, and `is_current_route()` will be among them. But I can't give you a timeline. Pull requests...

You should be able to use `$checkboxes->set_default_value(array('something'));`, just as you do with select boxes. But quickly skimming the code in `WP_Form_View_Checkboxes`, it looks like I haven't yet implemented that. I'll...