468 reputation
37
bio website
location Norwich, UK
age
visits member for 2 years, 5 months
seen yesterday

1d
answered How to retrieve a custom post's capability?
2d
awarded  Yearling
2d
answered How to let the Contributor role preview unpublished posts?
2d
answered CDATA removing new line in script tag in wordpress
2d
answered Weird capabilities / roles behavior
2d
answered How to display wp_list_categories on div instead of li?
2d
comment Escape html structure in php
@ZakirHossenSujon Not true. While the Text string is hard-coded, its translation may come from an untrusted source. See my answer below for more info.
2d
answered Escape html structure in php
2d
answered in_category('category-sluga') returns true for Archive page of Category 'category-slugb'
Jun
16
comment Removing username from the 'wordpress_logged_in' cookie
While this approach is a good one, you should be aware that it affords no more protection. The username is substituted for the user ID, but the username can be gotten from the user ID via a request to example.com?author=123, which performs a canonical redirect to a URL such as example.com/author/john.
Dec
14
answered Overwriting posts_per_page in new WP_Query
Nov
13
awarded  Nice Answer
Sep
22
awarded  Yearling
Sep
22
answered How to create a WP-CLI command with $_POST?
Sep
4
answered Problem loading custom post type admin page
Sep
4
comment Determing number the query ran by core wordpress
Query Monitor shows you which component of the site performed each query: core, the theme (parent/child if relevant), and each individual plugin.
Aug
15
comment What's the difference between Role and Meta capabilities; When to use map_meta_cap() filter
possible duplicate of What Is The Use Of map_meta_cap Filter?
Jul
7
awarded  Critic
Jul
3
awarded  Commentator
Jul
3
comment Background Updates Not Happening
You could manually install 3.9 again somewhere and then it should auto-update to 3.9.1. Save you waiting for 3.9.2.