[wp-trac] [WordPress Trac] #51866: metadata_exists does not pass the meta_type to the get_{$meta_type}_metadata filter

WordPress Trac noreply at wordpress.org
Thu Nov 26 12:32:50 UTC 2020


#51866: metadata_exists does not pass the meta_type to the
get_{$meta_type}_metadata filter
--------------------------------------+-----------------------------
 Reporter:  jsmoriss                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.7
Component:  Options, Meta APIs        |     Version:  5.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"49699" 49699]:
 {{{
 #!CommitTicketReference repository="" revision="49699"
 Options, Meta APIs: Pass `$meta_type` to the `get_{$meta_type}_metadata`
 filter in `metadata_exists()`.

 This matches the main instance of the filter in `get_metadata_raw()`.

 Follow-up to [48505].

 Props pbiron, jsmoriss, TimothyBlynJacobs.
 Fixes #51866.
 }}}

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


More information about the wp-trac mailing list