Preventing a Tragedy of the Commons

Dries Buytaert wrote a compelling article on the challenges that large open source projects like Drupal and WordPress face in seeking to be sustainable, and preventing a tragedy of the commons, where large corporations use open source software without giving back.

Continue reading...

Using git-svn to Manage Plugins in the WordPress.org Repository

Unfortunately, the WordPress.org plugin repository doesn’t provide a way to maintain your plugin with Git. In the past, I’ve either just used Subversion, or hosted an extra copy on GitHub, and setup Git and SVN side-by-side in the same directory. Awhile ago, I briefly considered using git-svn, because it would allow me to avoid using Subversion entirely, […]

Continue reading...

WordCamp Seattle 2016 Call for Speakers

We’ve opened the call for speakers for this year’s WordCamp Seattle. Give it a shot if you have any ideas, best practices, use cases, or stories you want to share with the community. I think people are often hesitant to put themselves out there, and that’s definitely understandable, but the WordPress community is really welcoming, and I think […]

Continue reading...

Regolith

I just finished the first version of a new WordPress installation template called Regolith. I’ve been using my personalized fork of Mark Jaquith’s WordPress Skeleton for the past several years, but recently came across Bedrock and really liked it. I started playing around with it, but quickly discovered that the tools and practices it embraced were a bit overkill for […]

Continue reading...

Generating Dynamic Placeholders for $wpdb->prepare()

$wpdb->prepare() is often called with each un-sanitized value explicitly passed as an individual argument; for example: $wpdb->prepare( "SELECT id FROM wp_posts WHERE id > %d AND `post_status` = %s", $min_id, $status ) The function will also accept an array of un-sanitized values, though, like this: $wpdb->prepare( "SELECT id FROM wp_posts WHERE id > %d AND […]

Continue reading...