`_list_meta_row()` should always return a string.
props ipm-frommen. fixes #31310. Built from https://develop.svn.wordpress.org/trunk@31442 git-svn-id: http://core.svn.wordpress.org/trunk@31423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6fd67ad80e
commit
268d79cb77
|
@ -582,7 +582,7 @@ function _list_meta_row( $entry, &$count ) {
|
|||
static $update_nonce = false;
|
||||
|
||||
if ( is_protected_meta( $entry['meta_key'], 'post' ) )
|
||||
return;
|
||||
return '';
|
||||
|
||||
if ( !$update_nonce )
|
||||
$update_nonce = wp_create_nonce( 'add-meta' );
|
||||
|
@ -597,7 +597,7 @@ function _list_meta_row( $entry, &$count ) {
|
|||
} else {
|
||||
// This is a serialized array/object so we should NOT display it.
|
||||
--$count;
|
||||
return;
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31441';
|
||||
$wp_version = '4.2-alpha-31442';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue