Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#43375 closed defect (bug) (fixed)

Incorrect 'old_slug_redirect_post_id' filter docs

Reported by: dlh's profile dlh Owned by: sergeybiryukov's profile 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 7 years ago.

Download all attachments as: .zip

Change History (5)

@dlh
7 years ago

#1 @netweb
7 years ago

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

Introduced in [42401]

#2 @SergeyBiryukov
7 years 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
6 years 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
6 years 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.