Skip to content

Commit 64414c7

Browse files
committed
Options, Meta APIs: Correct $count argument passed by reference.
In r61224 the `$c` variable in `wp_ajax_add_meta()` was renamed `$count`. This update a third instance of the variable that was missed in the original commit. Follow up to r61224. Props mazharul78, audrasjb, harishtewari, mukesh27. Fixes #65934. git-svn-id: https://develop.svn.wordpress.org/trunk@63959 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 985c197 commit 64414c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/wp-admin/includes/ajax-actions.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ function wp_ajax_add_meta() {
17471747
'meta_value' => $value,
17481748
'meta_id' => $meta_id,
17491749
),
1750-
$c
1750+
$count
17511751
),
17521752
'position' => 0,
17531753
'supplemental' => array( 'postid' => $meta->post_id ),

0 commit comments

Comments
 (0)