EXTR_SKIP. See #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5712 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2383b46194
commit
240cfc467c
@ -77,7 +77,7 @@ function get_link_to_edit( $link_id ) {
|
||||
function wp_insert_link($linkdata) {
|
||||
global $wpdb, $current_user;
|
||||
|
||||
extract($linkdata);
|
||||
extract($linkdata, EXTR_SKIP);
|
||||
|
||||
$update = false;
|
||||
|
||||
|
@ -59,7 +59,7 @@ function wp_delete_category($cat_ID) {
|
||||
function wp_insert_category($catarr) {
|
||||
global $wpdb;
|
||||
|
||||
extract($catarr);
|
||||
extract($catarr, EXTR_SKIP);
|
||||
|
||||
if ( trim( $cat_name ) == '' )
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user