WordPress.org

Make WordPress Core

Opened 3 months ago

Closed 4 weeks ago

#43375 closed defect (bug) (fixed)

Incorrect 'old_slug_redirect_post_id' filter docs

Reported by: dlh Owned by: SergeyBiryukov
Milestone: 4.9.6 Priority: normal
Severity: normal Version: 4.9.3
Component: Query Keywords: has-patch commit fixed-major
Focuses: docs Cc:

Description

$id is an int, per the casting in _find_post_by_old_slug() and _find_post_by_old_date().

Attachments (1)

43375.diff (655 bytes) - added by dlh 3 months ago.

Download all attachments as: .zip

Change History (5)

@dlh
3 months ago

#1 @netweb
3 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 5.0

Introduced in [42401]

#2 @SergeyBiryukov
3 months ago

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

In 42722:

Docs: Correct $id parameter type for old_slug_redirect_post_id filter.

Props dlh.
Fixes #43375.

#3 @SergeyBiryukov
4 weeks ago

  • Keywords fixed-major added
  • Milestone changed from 5.0 to 4.9.6
  • Resolution fixed deleted
  • Status changed from closed to reopened

#4 @SergeyBiryukov
4 weeks ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 43026:

Docs: Correct $id parameter type for old_slug_redirect_post_id filter.

Props dlh.
Merges [42722] to the 4.9 branch.
Fixes #43375.

Note: See TracTickets for help on using tickets.