[wp-trac] [WordPress Trac] #37838: Merge two similar translation strings in wp-activate.php

WordPress Trac noreply at wordpress.org
Fri Aug 26 12:10:20 UTC 2016


#37838: Merge two similar translation strings in wp-activate.php
--------------------------+------------------------------
 Reporter:  ramiy         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by ramiy):

 * keywords:   => has-patch


Comment:

 This patch is:

 1. Merges the two similar translation strings into one string '''BUT'''
 with different placeholder variables.
 2. Removes `$login_url` var. It is being used once. I moved it into to the
 `sprintf()`.
 3. Adds `esc_url()` to all the URL's.

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


More information about the wp-trac mailing list