Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/wp-includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@ function wp_removable_query_args() {
'skipped',
'spammed',
'trashed',
'translation_updates',
'unspammed',
'untrashed',
'update',
Expand Down
2 changes: 2 additions & 0 deletions tests/phpunit/tests/functions/wpRemovableQueryArgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Tests_Functions_WpRemovableQueryArgs extends WP_UnitTestCase {
*
* @ticket 65819
* @ticket 66300
* @ticket 42281
*/
public function test_returns_default_removable_query_args() {
$args = wp_removable_query_args();
Expand All @@ -26,6 +27,7 @@ public function test_returns_default_removable_query_args() {
$this->assertContains( 'doing_wp_cron', $args );
$this->assertContains( 'wp-post-new-reload', $args );
$this->assertContains( 'network_admin_email_updated', $args );
$this->assertContains( 'translation_updates', $args );
}

/**
Expand Down
Loading