[wp-trac] [WordPress Trac] #38625: Explicitly specify the end of the variable name in get_page_template().

WordPress Trac noreply at wordpress.org
Thu Jan 12 04:12:24 UTC 2017


#38625: Explicitly specify the end of the variable name in get_page_template().
-------------------------+-----------------------------
 Reporter:  kuck1u       |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  low          |   Milestone:  4.8
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  template
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39884"]:
 {{{
 #!CommitTicketReference repository="" revision="39884"
 Themes: Use curly braces for variables inside strings in
 `get_page_template() to explicitly specify the end of the variable name.

 Props kuck1u.
 Fixes #38625.
 }}}

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


More information about the wp-trac mailing list