[wp-trac] [WordPress Trac] #58373: Link to return to updates page after core update is too long

WordPress Trac noreply at wordpress.org
Mon May 22 12:52:02 UTC 2023


#58373: Link to return to updates page after core update is too long
-------------------------------------+-------------------------------------
 Reporter:  NekoJonez                |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.3
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  ui, css,
  patch needs-refresh                |  administration
-------------------------------------+-------------------------------------
Changes (by mukesh27):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch needs-
     refresh


Comment:

 Hi there!

 More information for new contributor. Open https://github.com/WordPress
 /wordpress-develop/blob/trunk/src/wp-admin/about.php and change code in
 single line and share the Patch/PR.

 {{{
 <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> |
 }}}

 Replace to

 {{{
 <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> |
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58373#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list