[wp-meta] [Making WordPress.org] #2879: Regex for @see linking of hooks does not account for unencoded quotes
Making WordPress.org
noreply at wordpress.org
Thu Jun 15 22:11:40 UTC 2017
#2879: Regex for @see linking of hooks does not account for unencoded quotes
---------------------------+--------------------------
Reporter: coffee2code | Owner: coffee2code
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Developer Hub | Resolution: fixed
Keywords: |
---------------------------+--------------------------
Changes (by coffee2code):
* owner: => coffee2code
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"5577"]:
{{{
#!CommitTicketReference repository="" revision="5577"
developer.wordpress.org: Change regex for `@see` linking of hooks to also
check for unencoded quotes.
In the context of descriptions, the quotes around hook names are already
encoded as HTML entities prior to handling by `link_internal_element()`.
However, data stored in meta (such as hash param descriptions) are not
encoded so regular single quotes must also be considered.
Example: https://developer.wordpress.org/reference/functions/comment_form/
Fixes #2879.
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2879#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list