about.php and friends for the global dashboard. see #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aa6c34ac3e
commit
f9b554814e
|
@ -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 */
|
||||||
|
|
|
@ -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' );
|
|
@ -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' );
|
|
@ -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