Permalink
Browse files

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
  • Loading branch information...
nacin
nacin committed Jan 6, 2012
1 parent aa6c34a commit f9b554814e95cbf6f8bc14f52ae7d48ea0c7f903
View
@@ -166,7 +166,7 @@
?></a> |
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
- is_network_admin() ? _e( 'Go to Dashboard' ) : _e( 'Go to Dashboard &rarr; Home' ); ?></a>
+ is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
</div>
@@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage Multisite
- * @since 3.1.0
+ * @since 3.4.0
*/
/** Load WordPress Administration Bootstrap */
@@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage Multisite
- * @since 3.1.0
+ * @since 3.4.0
*/
/** Load WordPress Administration Bootstrap */
@@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage Multisite
- * @since 3.1.0
+ * @since 3.4.0
*/
/** Load WordPress Administration Bootstrap */
View
@@ -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' );
View
@@ -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' );
View
@@ -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(
'id' => 'wp-logo',
'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(
'title' => __('About WordPress'),
),
@@ -87,7 +87,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
'parent' => 'wp-logo',
'id' => 'about',
'title' => __('About WordPress'),
- 'href' => is_network_admin() ? network_admin_url( 'about.php' ) : admin_url( 'about.php' ),
+ 'href' => self_admin_url( 'about.php' ),
) );
}

0 comments on commit f9b5548

Please sign in to comment.