1,416 reputation
31851
bio website iandunn.name
location Seattle, WA
age 32
visits member for 4 years, 4 months
seen 2 days ago

I'm a Seattle-based web developer working on the Dot Org team at Automattic.

I've released a few plugins into the repository and also have some some small WP-related projects on Github.


Jul
23
awarded  Informed
Jul
4
comment Is it possible to get a theme customizer setting from wp.customize using jquery?
It's even simpler: wp.customize('show_on_front').get()
Jun
30
comment How To extend WP_Customize_Control
I don't think that's necessary, you can just pass number as the type for default Control, and use input_attrs to pass step, etc.
Jun
30
comment How To extend WP_Customize_Control
The Customizer is aware of multidimensional settings.
Jun
29
awarded  Famous Question
Jun
14
awarded  Notable Question
Jun
4
awarded  Good Question
May
22
awarded  Notable Question
May
12
comment WP JSON REST API (Ryan McCue) how to query posts with specific meta data with 'AND' relation?
No need to apologize for answering your own question, that's something you should do if you're able :)
Mar
24
comment Get excerpt using get_the_excerpt outside a loop
EAMann's answer is a much better approach to this problem, and the should be considered the best practice. This approach is basically duplicating Core's internals instead of using the API.
Mar
12
awarded  Yearling
Feb
10
awarded  Popular Question
Jan
20
awarded  Notable Question
Nov
25
revised wp_next_scheduled returning a past timestamp
Fix typo in `DISABLE_WP_CRON` constant. Also remove "sorry" to get over 6 char limit, since this is a legit edit despite the short char count.
Nov
25
suggested approved edit on wp_next_scheduled returning a past timestamp
Nov
25
comment WP Cron doesn't execute when time elapses
I think WP_Cron uses GMT under the hood, like the rest of WP, so it'd be better to schedule the first event at time() instead of current_time().
Nov
25
comment WP Cron doesn't execute when time elapses
Core already provides an hourly interval, so you don't need to 1_hours.
Nov
14
comment Flush Rewrite Rules when new site is created on network
I think you need to call $wp_rewrite->init() after switch_to_blog(), otherwise you'll use the rewrite rules of the original blog with rebuilding the rules for the new blog.
Nov
14
comment Flush Rewrite Rules when new site is created on network
That's a bad idea because it will flush the rules on every page load, which severely degrades performance. See the notes on codex.wordpress.org/flush_rewrite_rules for more details.
Nov
5
comment Automatically determine minimum WordPress version required for a plugin?
That service now supports uploading a zip file, and it'll automatically scan all the files inside it :)