mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Multisite: Add missing "contribute.php" file to User Dashboard.
This changeset adds a `wp-admin/user/contribute.php` file to allow the "Get Involved" link to work on User Admin. This changeset prevents an unintended 404 that occurs when a logged-in user clicks the "Get Involved" link (located in the menu-bar) from inside of the multisite-specific User Dashboard. Related: r56220, r56309, #23348. Props ignatiusjeroe, audrasjb, tobiasbg. Fixes #61122. Built from https://develop.svn.wordpress.org/trunk@58118 git-svn-id: http://core.svn.wordpress.org/trunk@57583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bcff9a2fe4
commit
c894dca658
13
wp-admin/user/contribute.php
Normal file
13
wp-admin/user/contribute.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* User Dashboard Contribute administration panel.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Administration
|
||||||
|
* @since 6.6.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** Load WordPress Administration Bootstrap */
|
||||||
|
require_once __DIR__ . '/admin.php';
|
||||||
|
|
||||||
|
require ABSPATH . 'wp-admin/contribute.php';
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.6-alpha-58113';
|
$wp_version = '6.6-alpha-58118';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user