[wp-trac] [WordPress Trac] #32453: add_meta_box callback receives Post Object with ID a String instead of an Integer
WordPress Trac
noreply at wordpress.org
Thu May 21 01:43:08 UTC 2015
#32453: add_meta_box callback receives Post Object with ID a String instead of an
Integer
--------------------------------+-----------------------------
Reporter: adiant | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: 4.2.2
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
The Post Object received by the Callback Function specified in the
add_meta_box function delivers the correct value for ID, but the Type is
String, not Integer.
The attached Plugin demonstrates the problem when in the Edit Page Admin
panel.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32453>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list