mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: https://develop.svn.wordpress.org/trunk@18110 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -859,7 +859,7 @@ case 'add-meta' :
|
||||
'supplemental' => array('postid' => $pid)
|
||||
) );
|
||||
} else { // Update?
|
||||
$mid = (int) array_pop( $var_by_ref = array_keys($_POST['meta']) );
|
||||
$mid = (int) array_pop( array_keys($_POST['meta']) );
|
||||
$key = $_POST['meta'][$mid]['key'];
|
||||
$value = $_POST['meta'][$mid]['value'];
|
||||
if ( '' == trim($key) )
|
||||
|
||||
Reference in New Issue
Block a user