$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 `post_status`… [more]
Scott Hanselman’s post on adding hotkeys to web applications is good food-for-thought if you have any power users, or just want a better experience when using the applications you develop.
I wanted a simple logger for errors in REST API requests and didn’t find one online, so I wrote this one:
Zach Tollman benchmarked wp_kses() and found that the conventional wisdom about its performance isn’t always true .
TED Radio Hour has a great episode about the pre-technology roots of the ideas behind today’s Open Source movement, and how they’re being applied beyond the digital realm, to things like architecture, deep-sea rovers, and even democracy itself.
Pagination is one of my biggest pet peeves, and Avoid the Pains of Pagination does a good job of explaining the primary reason: Users have better experiences with scrolling than clicking. The mouse wheels, touchpads and touchscreens of today make scrolling faster and easier than clicking. To get to the next page in a pagination, the user has to find the link… [more]