From a415c29efee45520ae252d2aa28f1083a521cd7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:49 +0200 Subject: Adding upstream version 6.4.3+dfsg1. Signed-off-by: Daniel Baumann --- wp-admin/user/about.php | 13 +++++++++++++ wp-admin/user/admin.php | 35 +++++++++++++++++++++++++++++++++++ wp-admin/user/credits.php | 13 +++++++++++++ wp-admin/user/freedoms.php | 13 +++++++++++++ wp-admin/user/index.php | 13 +++++++++++++ wp-admin/user/menu.php | 22 ++++++++++++++++++++++ wp-admin/user/privacy.php | 13 +++++++++++++ wp-admin/user/profile.php | 13 +++++++++++++ wp-admin/user/user-edit.php | 13 +++++++++++++ 9 files changed, 148 insertions(+) create mode 100644 wp-admin/user/about.php create mode 100644 wp-admin/user/admin.php create mode 100644 wp-admin/user/credits.php create mode 100644 wp-admin/user/freedoms.php create mode 100644 wp-admin/user/index.php create mode 100644 wp-admin/user/menu.php create mode 100644 wp-admin/user/privacy.php create mode 100644 wp-admin/user/profile.php create mode 100644 wp-admin/user/user-edit.php (limited to 'wp-admin/user') diff --git a/wp-admin/user/about.php b/wp-admin/user/about.php new file mode 100644 index 0000000..af06c62 --- /dev/null +++ b/wp-admin/user/about.php @@ -0,0 +1,13 @@ +domain, $current_site->domain ) || 0 !== strcasecmp( $current_blog->path, $current_site->path ) ); + +/** + * Filters whether to redirect the request to the User Admin in Multisite. + * + * @since 3.2.0 + * + * @param bool $redirect_user_admin_request Whether the request should be redirected. + */ +$redirect_user_admin_request = apply_filters( 'redirect_user_admin_request', $redirect_user_admin_request ); + +if ( $redirect_user_admin_request ) { + wp_redirect( user_admin_url() ); + exit; +} + +unset( $redirect_user_admin_request ); diff --git a/wp-admin/user/credits.php b/wp-admin/user/credits.php new file mode 100644 index 0000000..b28461c --- /dev/null +++ b/wp-admin/user/credits.php @@ -0,0 +1,13 @@ +