Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#31569 closed defect (bug) (fixed)

Fix editable_slug hook documentation

Reported by: drewapicture's profile DrewAPicture Owned by: dd32's profile dd32
Milestone: 4.2 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch commit
Focuses: docs Cc:


In the way that these things sometimes happen, the hook doc for the original use of the editable_slug filter is not lining up in the code reference due to the apply_filters() call being nested within HTML. For the initial instance of the hook, we need to break out the value.

Attachments (1)

31569.diff (952 bytes) - added by DrewAPicture 9 years ago.

Download all attachments as: .zip

Change History (4)

9 years ago

#1 @DrewAPicture
9 years ago

  • Keywords has-patch commit added
  • Summary changed from Fix `editable_slug` hook documentation to Fix editable_slug hook documentation

#2 @dd32
9 years ago

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

In 31687:

Fix the editable_slug hook documentation, the PHPDoc must come directly before the hook call, with no HTML inbetween.
Props DrewAPicture. Fixes #31569

#3 @DrewAPicture
9 years ago

In 31688:

Update hook docs for the editable_slug filter as it is evaluated in more than just a term slug context, it is also leveraged for use with post URIs.

See #31569.

Note: See TracTickets for help on using tickets.