WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/25/2010 07:35:59 AM (8 years ago)
Author:
nacin
Message:

More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r15454 r15471  
    894894        ) );
    895895    } else { // Update?
    896         $mid = (int) array_pop(array_keys($_POST['meta']));
     896        $mid = (int) array_pop( $var_by_ref = array_keys($_POST['meta']) );
    897897        $key = $_POST['meta'][$mid]['key'];
    898898        $value = $_POST['meta'][$mid]['value'];
Note: See TracChangeset for help on using the changeset viewer.