[wp-trac] [WordPress Trac] #49868: Replace backticks in .htaccess instructions with regular quotes

WordPress Trac noreply at wordpress.org
Fri Apr 10 09:18:05 UTC 2020


#49868: Replace backticks in .htaccess instructions with regular quotes
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  5.5
Component:  Rewrite Rules   |    Version:
 Severity:  trivial         |   Keywords:  needs-patch good-first-bug
  Focuses:                  |
----------------------------+----------------------------------------
 Background: #47466

 [45694] added a comment to `# BEGIN/END` `.htaccess` markers:
 {{{
 # The directives (lines) between `BEGIN %1$s` and `END %1$s` are
 # dynamically generated, and should only be modified via WordPress
 filters.
 # Any changes to the directives between these markers will be overwritten.
 }}}

 The problem with the [https://en.wikipedia.org/wiki/Grave_accent backtick
 characters] here is that they're not necessary and result in additional
 markup when pasted on support forums, see
 [https://wordpress.org/support/topic/issue-with-permalinks-in-
 url/#post-12212632 this topic] for example:
 {{{
 # The directives (lines) between <code>BEGIN WordPress</code> and
 <code>END WordPress</code>...
 }}}

 They should be replaced with regular quotes:
 {{{
 # The directives (lines) between "BEGIN %1$s" and "END %1$s"...
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49868>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list