diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index d228d67c05..01c200407f 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -160,7 +160,6 @@ if ( !empty( $post->post_password ) ) { } elseif ( is_sticky( $post->ID ) ) { $visibility = 'public'; $visibility_trans = __('Public, Sticky'); - $sticky = 'sticky'; } else { $visibility = 'public'; $visibility_trans = __('Public'); diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index 3d8a5f9040..d62aae3d1e 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -87,7 +87,7 @@ function link_submit_meta_box($link) {
- link_id", 'delete-bookmark_' . $link->link_id); ?>" onclick="if ( confirm('post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete."), $link->link_name )); ?>') ) {return true;}return false;"> + link_id", 'delete-bookmark_' . $link->link_id); ?>" onclick="if ( confirm('link_name )); ?>') ) {return true;}return false;">
diff --git a/wp-admin/import/blogger.php b/wp-admin/import/blogger.php index dc45e6ec8a..59627e8ddd 100644 --- a/wp-admin/import/blogger.php +++ b/wp-admin/import/blogger.php @@ -522,7 +522,7 @@ class Blogger_Import { } function import_post( $entry ) { - global $wpdb, $importing_blog; + global $importing_blog; // The old permalink is all Blogger gives us to link comments to their posts. if ( isset( $entry->draft ) ) @@ -659,7 +659,7 @@ class Blogger_Import { } function get_user_options($current) { - global $wpdb, $importer_users; + global $importer_users; if ( ! isset( $importer_users ) ) $importer_users = (array) get_users_of_blog(); diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php index 751fc7acf3..903f778021 100644 --- a/wp-admin/import/mt.php +++ b/wp-admin/import/mt.php @@ -55,7 +55,7 @@ class MT_Import { } function users_form($n) { - global $wpdb, $testing; + global $wpdb; $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID"); ?>