[wp-trac] [WordPress Trac] #47294: 5.2.1 About Page Updates

WordPress Trac noreply at wordpress.org
Fri May 17 18:17:27 UTC 2019


#47294: 5.2.1 About Page Updates
----------------------------+--------------------------
 Reporter:  ianbelanger     |       Owner:  ianbelanger
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.2.1
Component:  Help/About      |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------------

Comment (by earnjam):

 Replying to [comment:4 birgire]:
 > This part {{{sanitize_title( '5.2.1' )}}} in the latest patch - it seems
 unnecessary to sanitize a fixed string '5.2.1'

 Probably not needed, but was done that way with the last major security
 backport release a few months ago, so it's that away across a bunch of
 branches.

 I think the intention is probably to make it easier to read and identify
 it as the actual version number, and then let `sanitize_title()` handle
 converting it to be used in the URL.

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


More information about the wp-trac mailing list