[wp-trac] [WordPress Trac] #43561: $object_id parameter is string instead of integer in delete_{$meta_type}_meta inside delete_metadata_by_mid()

WordPress Trac noreply at wordpress.org
Thu Mar 28 21:58:56 UTC 2019


#43561: $object_id parameter is string instead of integer in
delete_{$meta_type}_meta inside delete_metadata_by_mid()
--------------------------------+--------------------------
 Reporter:  salcode             |       Owner:  johnbillion
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  5.2
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:
--------------------------------+--------------------------
Changes (by johnbillion):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45064" 45064]:
 {{{
 #!CommitTicketReference repository="" revision="45064"
 Options, Meta APIs: Ensure the `$object_id` parameter passed to the
 `delete_{$meta_type}_meta` and `deleted_{$meta_type}_meta` filters is
 always an integer.

 Props salcode

 Fixes #43561
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43561#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list