[wp-trac] [WordPress Trac] #49868: Replace backticks in .htaccess instructions with regular quotes
WordPress Trac
noreply at wordpress.org
Fri Apr 10 11:31:43 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 | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+---------------------
Comment (by mayankmajeji):
Hi @SergeyBiryukov,
It seems HTACCESS File is not a part of the WordPress trunk. I can make
the required changes if you can tell where can I find htaccess file.
Thanks in advance.
Replying to [ticket:49868 SergeyBiryukov]:
> 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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list