WordPress.org

Making WordPress.org

Changeset 5577


Ignore:
Timestamp:
06/15/2017 10:11:40 PM (3 years ago)
Author:
coffee2code
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.