Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#43375 closed defect (bug) (fixed)

Incorrect 'old_slug_redirect_post_id' filter docs

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

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 8 years ago.

Download all attachments as: .zip

Change History (5)

@dlh
8 years ago

#1 @netweb
8 years ago

  • Keywords commit added
  • Milestone Awaiting Review5.0

Introduced in [42401]

#2 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 42722:

Docs: Correct $id parameter type for old_slug_redirect_post_id filter.

Props dlh.
Fixes #43375.

#3 @SergeyBiryukov
8 years ago

  • Keywords fixed-major added
  • Milestone 5.04.9.6
  • Resolution fixed
  • Status closedreopened

#4 @SergeyBiryukov
8 years ago

  • Resolutionfixed
  • Status reopenedclosed

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.