mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Remove unused variables. Props DD32. fixes #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -78,7 +78,7 @@ function wp_upload_display( $dims = false, $href = '' ) {
|
||||
}
|
||||
|
||||
function wp_upload_view() {
|
||||
global $style, $post_id, $style;
|
||||
global $style, $style;
|
||||
$id = get_the_ID();
|
||||
$attachment_data = wp_get_attachment_metadata( $id );
|
||||
?>
|
||||
@@ -268,7 +268,6 @@ function wp_upload_tab_upload_action() {
|
||||
$url = $file['url'];
|
||||
$type = $file['type'];
|
||||
$file = $file['file'];
|
||||
$filename = basename($file);
|
||||
|
||||
// Construct the attachment array
|
||||
$attachment = array(
|
||||
|
||||
Reference in New Issue
Block a user