Networks and Sites: Exit after `wp_redirect()` in `wp-admin/ms-options.php`.

This brings more consistency with the other files having the same pattern:

* `wp-admin/moderation.php`
* `wp-admin/ms-admin.php`
* `wp-admin/ms-edit.php`
* `wp-admin/ms-sites.php`
* `wp-admin/ms-themes.php`
* `wp-admin/ms-upgrade-network.php`
* `wp-admin/ms-users.php`

Follow-up to [15481], [16847].

Props jigar-bhanushali, jorbin, johnbillion, Presskopp, rajinsharwar, audrasjb, SergeyBiryukov.
Fixes #60926.
Built from https://develop.svn.wordpress.org/trunk@58460


git-svn-id: http://core.svn.wordpress.org/trunk@57909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-06-22 11:47:16 +00:00
parent 22f7f98451
commit 1925595cd8
2 changed files with 2 additions and 1 deletions

View File

@ -10,3 +10,4 @@
require_once __DIR__ . '/admin.php'; require_once __DIR__ . '/admin.php';
wp_redirect( network_admin_url( 'settings.php' ) ); wp_redirect( network_admin_url( 'settings.php' ) );
exit;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.6-beta3-58459'; $wp_version = '6.6-beta3-58460';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.