[wp-trac] [WordPress Trac] #51866: Incompat "get_{$meta_type}_metadata" filters in wordpress/wp-includes/meta.php.
WordPress Trac
noreply at wordpress.org
Tue Nov 24 16:05:02 UTC 2020
#51866: Incompat "get_{$meta_type}_metadata" filters in wordpress/wp-
includes/meta.php.
--------------------------+-----------------------------
Reporter: jsmoriss | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.5.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
There's a 5th argument missing in this second "get_{$meta_type}_metadata"
filter call:
{{{
$ grep -n '"get_{$meta_type}_metadata"' wordpress/wp-includes/meta.php
564: $check = apply_filters( "get_{$meta_type}_metadata", null,
$object_id, $meta_key, $single, $meta_type );
676: $check = apply_filters( "get_{$meta_type}_metadata", null,
$object_id, $meta_key, true );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51866>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list