[wp-trac] [WordPress Trac] #60034: Fix the period in the in-line comment of wp_block_theme_activate_nonce()
WordPress Trac
noreply at wordpress.org
Fri Dec 8 05:14:01 UTC 2023
#60034: Fix the period in the in-line comment of wp_block_theme_activate_nonce()
--------------------------+-----------------------------
Reporter: stevenlinx | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: minor | Keywords:
Focuses: |
--------------------------+-----------------------------
In the in-line comment section of wp_block_theme_activate_nonce() , there
is a line:
{{{
@see https://github.com/WordPress/gutenberg/pull/41836.
}}}
https://core.trac.wordpress.org/browser/tags/6.4/src/wp-includes/theme-
previews.php#L64
=== Why is this a problem? ===
The period at the end of the URL is being linked and causing GitHub to
think you're trying to create a PR (comparing forks).
The link is being is displays on
https://developer.wordpress.org/reference/functions/wp_block_theme_activate_nonce/
The viewer clicks the link to view PR ticket in question, not to create a
PR.
=== Suggested Fix ===
Remove the period.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60034>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list