At Sprout Apps we’re going to be using the awesome NinjaDemo plugin but we wanted to allow for a demo to be created without directing them to the bland demo site running Twenty Twelve :). Here’s the solution I came up with: Add some AJAX handlers on the WPMU demo site running NinjaDemo. I wish […]
View the code on Gist.
Noticing that new Date( ‘July 17, 2014′ ).getTime() and new Date( ’07/17/2014’ ).getTime() will return two different values. The former will have the GMT offset attached while the later will not. I need to test if this has anything to do with the values of the first are from a string and the second is from a date […]
My experience with contributing to WordPress core has been awful and after years of convincing myself it’s gotten better the results might be the same. Hopefully my feeling of discouragement changes because I really want to be involved.
This week we at Sprout Venture migrated our largest project to git. Without going into detail about our process we ran into a problem with our superproject’s submodules initialized with detached HEADs; regardless if they’re added with the branch set. The .gitmodules file would properly show the branch, e.g. [code language=”text”] [submodule “wordpress”] path = […]
Ran into a problem tonight where simply applying ‘the_content’ filter to some content wasn’t getting any oembed magic. After a look at WP_Embed class I quickly found that WP does the right thing and caches the filtered content, so without a PostID is quites before it does any work. Here’s a quick hack to get that […]