[wp-trac] [WordPress Trac] #43504: Use correct variable name in filter docs for the `$object_id` parameter of meta auth callbacks

WordPress Trac noreply at wordpress.org
Thu Mar 8 17:54:29 UTC 2018


#43504: Use correct variable name in filter docs for the `$object_id` parameter of
meta auth callbacks
--------------------------------+----------------------------------------
 Reporter:  ocean90             |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Future Release
Component:  Options, Meta APIs  |    Version:  4.9
 Severity:  normal              |   Keywords:  needs-patch good-first-bug
  Focuses:  docs                |
--------------------------------+----------------------------------------
 Added in [41800].

 In https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-
 includes/capabilities.php?marks=326,348#L312 the `$object_id` parameter is
 referenced as `$post_id`. It should be `$object_id Object ID.`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43504>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list