[wp-trac] [WordPress Trac] #46408: About: Remove unused $display_version
WordPress Trac
noreply at wordpress.org
Tue Apr 2 17:53:30 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 | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> 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>
> }}}
New description:
As per [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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list