[wp-trac] [WordPress Trac] #46863: site title doesn't properly escape '{{ }}'

WordPress Trac noreply at wordpress.org
Fri Oct 4 21:58:58 UTC 2019


#46863: site title doesn't properly escape '{{ }}'
---------------------------+-----------------------------
 Reporter:  OddenCreative  |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  5.3
Component:  Customize      |     Version:  5.1
 Severity:  major          |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46389" 46389]:
 {{{
 #!CommitTicketReference repository="" revision="46389"
 Customize: Prevent breaking the customizer when site title contains
 templating syntax.

 When the site title is inside an underscore template, syntax defined in
 `wp.template` like `{{ }}` is treated as special characters and will make
 Underscore treat it as data to be compiled/rendered.

 Props pierlo, donmhico.
 Fixes #46863.
 }}}

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


More information about the wp-trac mailing list