diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index bcdecbee3a..729b82b772 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -584,8 +584,9 @@ function meta_form( $post = null ) { * @since 4.4.0 * * @param array|null $keys Pre-defined meta keys to be used in place of a postmeta query. Default null. + * @param WP_Post $post The current post object. */ - $keys = apply_filters( 'postmeta_form_keys', null ); + $keys = apply_filters( 'postmeta_form_keys', null, $post ); if ( null === $keys ) { /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 424992ef53..67647fd73c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta4-35729'; +$wp_version = '4.4-beta4-35730'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.