Changeset 55853 for trunk/src/wp-admin/about.php
- Timestamp:
- 05/24/2023 10:13:49 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r55848 r55853 280 280 281 281 <div class="return-to-dashboard"> 282 <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?> 283 <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php is_multisite() ? _e( 'Go to Updates' ) : _e( 'Go to Dashboard → Updates' ); ?></a> | 284 <?php endif; ?> 285 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> 282 <?php 283 if ( isset( $_GET['updated'] ) && current_user_can( 'update_core' ) ) { 284 printf( 285 '<a href="%1$s">%2$s</a> | ', 286 esc_url( self_admin_url( 'update-core.php' ) ), 287 is_multisite() ? __( 'Go to Updates' ) : __( 'Go to Dashboard → Updates' ) 288 ); 289 } 290 291 printf( 292 '<a href="%1$s">%2$s</a>', 293 esc_url( self_admin_url() ), 294 is_blog_admin() ? __( 'Go to Dashboard → Home' ) : __( 'Go to Dashboard' ) 295 ); 296 ?> 286 297 </div> 287 298 </div>
Note: See TracChangeset
for help on using the changeset viewer.