EXTR_SKIP. See #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2ea53cf51a
commit
e7890261e5
|
@ -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