Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#60034 closed defect (bug) (fixed)

Fix the period in the in-line comment of wp_block_theme_activate_nonce()

Reported by: stevenlinx's profile stevenlinx Owned by: isabel_brison's profile isabel_brison
Milestone: 6.5 Priority: normal
Severity: minor Version: 6.3
Component: Themes Keywords: good-first-bug has-patch commit
Focuses: template Cc:


In the in-line comment section of wp_block_theme_activate_nonce() , there is a line:


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

The viewer clicks the link to view PR ticket in question, not to create a PR.

Suggested Fix

Remove the period.

Change History (6)

#1 @mukesh27
5 months ago

  • Component changed from General to Themes
  • Focuses template added
  • Keywords needs-patch good-first-bug added
  • Milestone changed from Awaiting Review to 6.5
  • Version set to 6.3

Good catch, introduced in [56199] / #58712.

#2 @mukesh27
5 months ago

cc. @isabel_brison

This ticket was mentioned in PR #5741 on WordPress/wordpress-develop by @isabel_brison.

5 months ago

  • Keywords has-patch added; needs-patch removed

Trac ticket:

Removes period from end of PR link so the link will work correctly in developer docs.

#4 @mukesh27
5 months ago

  • Keywords commit added

Thanks @isabel_brison for PR. Ready for commit.

#5 @isabel_brison
5 months ago

  • Owner set to isabel_brison
  • Resolution set to fixed
  • Status changed from new to closed

In 57171:

Themes: fix documentation link.

Removes a period from an inline comment of wp_block_theme_activate_nonce that broke a link in the comment.

Props stevenlinx, mukesh27.
Fixes #60034.

@isabel_brison commented on PR #5741:

5 months ago

Committed in r57171.

Note: See TracTickets for help on using tickets.