[wp-trac] [WordPress Trac] #46408: About: Remove unused $display_version

WordPress Trac noreply at wordpress.org
Mon Mar 4 06:47:00 UTC 2019


#46408: About: Remove unused $display_version
-------------------------+-----------------------------
 Reporter:  mukesh27     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Help/About   |    Version:
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------------
 As per [https://core.trac.wordpress.org/changeset/44733 44733] about.php
 page changeset we have to remove {{{ $display_version }}} as it was no
 longer in used in below statement.

 {{{
 <p class="about-text"><?php printf( __( 'Thank you for updating to the
 latest version!' ), $display_version ); ?></p>
 }}}

 Replace to

 {{{
 <p class="about-text"><?php _e( 'Thank you for updating to the latest
 version!' ); ?></p>
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46408>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list