[wp-trac] [WordPress Trac] #30012: Replace escaped translations with proper function

WordPress Trac noreply at wordpress.org
Fri Oct 17 11:00:59 UTC 2014


#30012: Replace escaped translations with proper function
--------------------------------------+------------------------------
 Reporter:  obenland                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  I18N                      |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  good-first-bug => good-first-bug has-patch
 * owner:   => SergeyBiryukov
 * status:  new => accepted


Comment:

 `wp-includes/script-loader.php` can be included when `esc_attr__()` is not
 yet available, but it does not run it until `did_action( 'init' )`, so
 [attachment:30012.2.diff] should work.

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


More information about the wp-trac mailing list