Category Archives: WordPress
Inspiration
Exposing Custom Post Type Meta for Only a Single API Endpoint
register_meta()
exposes meta fields in all REST API endpoints, which can lead to privacy leaks. To avoid that, it can be called conditionally. `WP_Widget::form()` returns a value
form()
method isn't returning a value? Accessing Post Meta and More Via $post->meta_key
get_post_meta( $post->ID, 'foo', true )
: $post->foo
. Using git-svn to Manage Plugins in the WordPress.org Repository
Finding all Sites That have a Plugin Active
Rename WordPress’ Database Prefix with WP-CLI
WordCamp Seattle 2016 Call for Speakers
Regolith
Generating Dynamic Placeholders for $wpdb->prepare()
Logging WordPress REST API errors
Quick Navigation Interface
I just pushed a new plugin to the WordPress.org repository that lets you quickly navigate around wp-admin using just the keyboard, similar to Dash/HUD in Ubuntu or Spotlight in OS X:
Update: Version 0.2 is out now, and it’ll also include your posts, pages, and other content types in the results.
Challenging Your WordPress Assumptions from 2009
Nacin gave a great talk at php[world] dispelling a lot of the myths about WordPress that still exist in the developer community.
Flushing Rewrite Rules on All Sites in a Multisite Network
Why Websites Get Hacked
Why Websites get Hacked is a good high-level article to sends to clients or friends who don’t understand why someone would want to attack their site — and therefore doesn’t see the need to protect it — or are curious about how it happens.
Internet Slowdown
Today is the Internet Slowdown, to show support for Net Neutrality.
If you want to participate, you can install the Cat Signal plugin on your WordPress.org site, or enable the setting for your WordPress.com blog.