user avatar
user avatar
user avatar
henrywright
  • Member for 9 years, 8 months
  • Last seen more than a month ago
30 votes
1 answer
36k views

How to create custom 401, 403 and 500 error pages?

19 votes
4 answers
3k views

How to deprecate a function used in a plugin?

15 votes
1 answer
610 views

Are WordPress Heartbeat API 'beats' staggered or do they occur simultaneously for all users?

14 votes
1 answer
11k views

Why use wp_send_json() over echo json_encode()?

14 votes
1 answer
4k views

How to run an activation function when plugin is network activated on multisite?

13 votes
3 answers
4k views

Should I sanitize an email address before passing it to the is_email() function?

12 votes
7 answers
28k views

How to check if a string is a valid URL

10 votes
3 answers
6k views

What's the difference between get_site_option and get_blog_option?

9 votes
1 answer
8k views

What is the difference between wp_strip_all_tags and wp_filter_nohtml_kses?

7 votes
2 answers
4k views

How to get the custom header image's alt text?

7 votes
2 answers
1k views

Why include a composer.json file with my plugin?

7 votes
1 answer
1k views

When unit testing a plugin, does the plugin need to be in the wp-content/plugins directory of the WordPress tests install?

6 votes
1 answer
9k views

How to escape the single quote character in i18n translation strings?

6 votes
6 answers
14k views

How to get the active theme's slug?

5 votes
1 answer
4k views

How to get the number of times an audio file has been played

5 votes
2 answers
609 views

How should I document function calls?

5 votes
3 answers
8k views

How to change the wp-login.php page title?

4 votes
2 answers
3k views

How to search display_name column when using WP_User_Query

4 votes
1 answer
699 views

How to escape single and plural i18n text strings?

4 votes
2 answers
1k views

How to check if new posts have been published since page load?

4 votes
2 answers
2k views

How to order WP_User_Query results to match the order of an array of user IDs?

3 votes
1 answer
3k views

How to get author ID when an author page is being viewed?

3 votes
1 answer
359 views

Should the value of core functions be escaped before outputting?

3 votes
2 answers
387 views

Who's job is it to load a plugin's translated strings?

3 votes
1 answer
3k views

Multiple category RSS feeds

3 votes
2 answers
477 views

Filtering the default avatar list

3 votes
2 answers
566 views

Using Travis CI to run unit tests and running phpunit locally [closed]

3 votes
1 answer
778 views

How to output a permanently delete comment link?

2 votes
1 answer
768 views

How to get the ID of an item in an audio playlist?

2 votes
1 answer
2k views

How to set status codes such as 401 and 403?