Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#43504 closed defect (bug) (fixed)

Use correct variable name in filter docs for the `$object_id` parameter of meta auth callbacks

Reported by: ocean90's profile ocean90 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.1 Priority: normal
Severity: normal Version: 4.9
Component: Options, Meta APIs Keywords: good-first-bug has-patch
Focuses: docs Cc:


Added in [41800].

In,348#L312 the $object_id parameter is referenced as $post_id. It should be $object_id Object ID..

Attachments (1)

43504.patch (2.0 KB) - added by milana_cap 6 years ago.

Download all attachments as: .zip

Change History (5)

6 years ago

#1 @milana_cap
6 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
6 years ago

  • Milestone changed from Future Release to 5.0

#3 @SergeyBiryukov
6 years ago

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

In 42809:

Docs: Improve documentation for meta capability filters.

Remove self-references, correct parameter names and descriptions.

Props milana_cap, ocean90, SergeyBiryukov.
Fixes #43504.

#4 @johnbillion
5 years ago

  • Milestone changed from 5.0 to 5.1
Note: See TracTickets for help on using tickets.