Changeset 46770
- Timestamp:
- 11/24/2019 07:55:01 PM (5 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/dashboard.css
r46242 r46770 131 131 } 132 132 133 .welcome-panel a {133 .welcome-panel li a { 134 134 text-decoration: none; 135 135 } … … 261 261 } 262 262 263 .welcome-panel .welcome-widgets:before { 264 content: "\f538"; 265 top: -2px; 266 } 267 268 .welcome-panel .welcome-menus:before { 269 content: "\f163"; 270 top: -2px; 271 } 272 263 273 .welcome-panel .welcome-comments:before { 264 274 content: "\f117"; … … 887 897 } 888 898 889 #dashboard-widgets a, 890 #dashboard-widgets .button-link { 899 #dashboard-widgets li a, 900 #dashboard-widgets .button-link, 901 .community-events-footer a { 891 902 text-decoration: none; 892 903 } -
trunk/src/wp-admin/includes/dashboard.php
r46596 r46770 1798 1798 <h3><?php _e( 'More Actions' ); ?></h3> 1799 1799 <ul> 1800 <?php 1801 if ( current_theme_supports( 'widgets' ) || current_theme_supports( 'menus' ) ) : 1802 if ( current_theme_supports( 'widgets' ) && current_theme_supports( 'menus' ) ) { 1803 $widgets_menus_link = sprintf( 1804 /* translators: 1: URL to Widgets screen, 2: URL to Menus screen. */ 1805 __( 'Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>' ), 1806 admin_url( 'widgets.php' ), 1807 admin_url( 'nav-menus.php' ) 1808 ); 1809 } elseif ( current_theme_supports( 'widgets' ) ) { 1810 $widgets_menus_link = '<a href="' . admin_url( 'widgets.php' ) . '">' . __( 'Manage widgets' ) . '</a>'; 1811 } else { 1812 $widgets_menus_link = '<a href="' . admin_url( 'nav-menus.php' ) . '">' . __( 'Manage menus' ) . '</a>'; 1813 } 1814 ?> 1815 <li><div class="welcome-icon welcome-widgets-menus"><?php echo $widgets_menus_link; ?></div></li> 1800 <?php if ( current_theme_supports( 'widgets' ) ) : ?> 1801 <li><?php printf( '<a href="%s" class="welcome-icon welcome-widgets">' . __( 'Manage widgets' ) . '</a>', admin_url( 'widgets.php' ) ); ?></li> 1802 <?php endif; ?> 1803 <?php if ( current_theme_supports( 'menus' ) ) : ?> 1804 <li><?php printf( '<a href="%s" class="welcome-icon welcome-menus">' . __( 'Manage menus' ) . '</a>', admin_url( 'nav-menus.php' ) ); ?></li> 1816 1805 <?php endif; ?> 1817 1806 <?php if ( current_user_can( 'manage_options' ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.