[wp-trac] [WordPress Trac] #43229: Documentation for add_meta_boxes hook is incorrect
WordPress Trac
noreply at wordpress.org
Mon Feb 5 12:23:37 UTC 2018
#43229: Documentation for add_meta_boxes hook is incorrect
--------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
--------------------------+------------------------------
Changes (by danieltj):
* component: Options, Meta APIs => General
Comment:
The `add_meta_boxes` hook doesn't have a parameter for a `$post`, at least
not in function I found. Am I looking at the wrong one? I didn't see
anything that referenced posts.
Reference: https://core.trac.wordpress.org/browser/tags/4.9/src/wp-
admin/includes/template.php#L886
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43229#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list