[wp-trac] [WordPress Trac] #36615: Avoid PHP notices when trying to update translations which are already up to date

WordPress Trac noreply at wordpress.org
Thu Apr 21 16:18:22 UTC 2016


#36615: Avoid PHP notices when trying to update translations which are already up
to date
-----------------------------+------------------
 Reporter:  ocean90          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.6
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------

Comment (by Presskopp):

 Possible coincidence!?

 wp-admin/includes/class-wp-upgrader.php
 Line 1980:

 {{{#!php
 $this->strings['up_to_date'] = __( 'The translation is up to date.' ); //
 We need to silently skip this case

 }}}

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


More information about the wp-trac mailing list