WordPress.org

Make WordPress Core

Changeset 19700


Ignore:
Timestamp:
01/06/2012 06:08:45 PM (9 years ago)
Author:
nacin
Message:

about.php and friends for the global dashboard. see #19762.

Location:
trunk
Files:
5 edited
3 copied

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/about.php

    r19699 r19700  
    167167    <?php endif; ?>
    168168    <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
    169         is_network_admin() ? _e( 'Go to Dashboard' ) : _e( 'Go to Dashboard &rarr; Home' ); ?></a>
     169        is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
    170170</div>
    171171
  • trunk/wp-admin/network/about.php

    r19699 r19700  
    55 * @package WordPress
    66 * @subpackage Multisite
    7  * @since 3.1.0
     7 * @since 3.4.0
    88 */
    99
  • trunk/wp-admin/network/credits.php

    r19699 r19700  
    55 * @package WordPress
    66 * @subpackage Multisite
    7  * @since 3.1.0
     7 * @since 3.4.0
    88 */
    99
  • trunk/wp-admin/network/freedoms.php

    r19699 r19700  
    55 * @package WordPress
    66 * @subpackage Multisite
    7  * @since 3.1.0
     7 * @since 3.4.0
    88 */
    99
  • trunk/wp-admin/user/about.php

    r19699 r19700  
    11<?php
    22/**
    3  * Network About administration panel.
     3 * User Dashboard About administration panel.
    44 *
    55 * @package WordPress
    6  * @subpackage Multisite
    7  * @since 3.1.0
     6 * @subpackage Administration
     7 * @since 3.4.0
    88 */
    99
     
    1111require_once( './admin.php' );
    1212
    13 if ( ! is_multisite() )
    14     wp_die( __( 'Multisite support is not enabled.' ) );
    15 
    1613require( '../about.php' );
  • trunk/wp-admin/user/credits.php

    r19699 r19700  
    11<?php
    22/**
    3  * Network Credits administration panel.
     3 * User Dashboard Credits administration panel.
    44 *
    55 * @package WordPress
    6  * @subpackage Multisite
    7  * @since 3.1.0
     6 * @subpackage Administration
     7 * @since 3.4.0
    88 */
    99
     
    1111require_once( './admin.php' );
    1212
    13 if ( ! is_multisite() )
    14     wp_die( __( 'Multisite support is not enabled.' ) );
    15 
    1613require( '../credits.php' );
  • trunk/wp-admin/user/freedoms.php

    r19699 r19700  
    11<?php
    22/**
    3  * Network Freedoms administration panel.
     3 * User Dashboard Freedoms administration panel.
    44 *
    55 * @package WordPress
    6  * @subpackage Multisite
    7  * @since 3.1.0
     6 * @subpackage Administration
     7 * @since 3.4.0
    88 */
    99
     
    1111require_once( './admin.php' );
    1212
    13 if ( ! is_multisite() )
    14     wp_die( __( 'Multisite support is not enabled.' ) );
    15 
    1613require( '../freedoms.php' );
  • trunk/wp-includes/admin-bar.php

    r19699 r19700  
    7676        'id'    => 'wp-logo',
    7777        'title' => '<span class="ab-icon"></span>',
    78         'href'  => is_network_admin() ? network_admin_url( 'about.php' ) : admin_url( 'about.php' ),
     78        'href'  => self_admin_url( 'about.php' ),
    7979        'meta'  => array(
    8080            'title' => __('About WordPress'),
     
    8888            'id'     => 'about',
    8989            'title'  => __('About WordPress'),
    90             'href'  => is_network_admin() ? network_admin_url( 'about.php' ) : admin_url( 'about.php' ),
     90            'href'  => self_admin_url( 'about.php' ),
    9191        ) );
    9292    }
Note: See TracChangeset for help on using the changeset viewer.