about.php and friends for the global dashboard. see #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19700 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5ccd02fb01
commit
a5ada1a537
@ -166,7 +166,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?></a> |
|
?></a> |
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
|
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
|
||||||
is_network_admin() ? _e( 'Go to Dashboard' ) : _e( 'Go to Dashboard → Home' ); ?></a>
|
is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Multisite
|
* @subpackage Multisite
|
||||||
* @since 3.1.0
|
* @since 3.4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** Load WordPress Administration Bootstrap */
|
/** Load WordPress Administration Bootstrap */
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Multisite
|
* @subpackage Multisite
|
||||||
* @since 3.1.0
|
* @since 3.4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** Load WordPress Administration Bootstrap */
|
/** Load WordPress Administration Bootstrap */
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Multisite
|
* @subpackage Multisite
|
||||||
* @since 3.1.0
|
* @since 3.4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** Load WordPress Administration Bootstrap */
|
/** Load WordPress Administration Bootstrap */
|
||||||
|
13
wp-admin/user/about.php
Normal file
13
wp-admin/user/about.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* User Dashboard About administration panel.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Administration
|
||||||
|
* @since 3.4.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** Load WordPress Administration Bootstrap */
|
||||||
|
require_once( './admin.php' );
|
||||||
|
|
||||||
|
require( '../about.php' );
|
13
wp-admin/user/credits.php
Normal file
13
wp-admin/user/credits.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* User Dashboard Credits administration panel.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Administration
|
||||||
|
* @since 3.4.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** Load WordPress Administration Bootstrap */
|
||||||
|
require_once( './admin.php' );
|
||||||
|
|
||||||
|
require( '../credits.php' );
|
13
wp-admin/user/freedoms.php
Normal file
13
wp-admin/user/freedoms.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* User Dashboard Freedoms administration panel.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Administration
|
||||||
|
* @since 3.4.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** Load WordPress Administration Bootstrap */
|
||||||
|
require_once( './admin.php' );
|
||||||
|
|
||||||
|
require( '../freedoms.php' );
|
@ -75,7 +75,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
|
|||||||
$wp_admin_bar->add_menu( array(
|
$wp_admin_bar->add_menu( array(
|
||||||
'id' => 'wp-logo',
|
'id' => 'wp-logo',
|
||||||
'title' => '<span class="ab-icon"></span>',
|
'title' => '<span class="ab-icon"></span>',
|
||||||
'href' => is_network_admin() ? network_admin_url( 'about.php' ) : admin_url( 'about.php' ),
|
'href' => self_admin_url( 'about.php' ),
|
||||||
'meta' => array(
|
'meta' => array(
|
||||||
'title' => __('About WordPress'),
|
'title' => __('About WordPress'),
|
||||||
),
|
),
|
||||||
@ -87,7 +87,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
|
|||||||
'parent' => 'wp-logo',
|
'parent' => 'wp-logo',
|
||||||
'id' => 'about',
|
'id' => 'about',
|
||||||
'title' => __('About WordPress'),
|
'title' => __('About WordPress'),
|
||||||
'href' => is_network_admin() ? network_admin_url( 'about.php' ) : admin_url( 'about.php' ),
|
'href' => self_admin_url( 'about.php' ),
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user