Skip to content

Commit

Permalink
Administration: Add doing_wp_cron to wp_removable_query_args().
Browse files Browse the repository at this point in the history
It's a single-use URL parameter that does not need to be passed to canonical URLs in the admin.

Props dlh.
Fixes #49017.

git-svn-id: https://develop.svn.wordpress.org/trunk@47002 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Dec 21, 2019
1 parent 2c15e0c commit 939fbfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wp-includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,7 @@ function wp_removable_query_args() {
'deactivate',
'deleted',
'disabled',
'doing_wp_cron',
'enabled',
'error',
'hotkeys_highlight_first',
Expand Down

0 comments on commit 939fbfa

Please sign in to comment.