Ticket #5418: 5418.s-apply_filters-do_action.diff
| File 5418.s-apply_filters-do_action.diff, 1.4 kB (added by DD32, 10 months ago) |
|---|
-
wp-admin/custom-header.php
old new 228 228 229 229 if ( $width == HEADER_IMAGE_WIDTH && $height == HEADER_IMAGE_HEIGHT ) { 230 230 set_theme_mod('header_image', clean_url($url)); 231 apply_filters('wp_create_file_in_uploads', $file, $id); // For replication231 do_action('wp_create_file_in_uploads', $file, $id); // For replication 232 232 return $this->finished(); 233 233 } elseif ( $width > HEADER_IMAGE_WIDTH ) { 234 234 $oitar = $width / HEADER_IMAGE_WIDTH; -
wp-admin/link-import.php
old new 123 123 } // end else 124 124 125 125 if ( ! $blogrolling ) 126 apply_filters( 'wp_delete_file', $opml_url);126 do_action( 'wp_delete_file', $opml_url); 127 127 @unlink($opml_url); 128 128 ?> 129 129 </div> -
wp-app.php
old new 412 412 $url = $file['url']; 413 413 $file = $file['file']; 414 414 415 apply_filters('wp_create_file_in_uploads', $file); // replicate415 do_action('wp_create_file_in_uploads', $file); // replicate 416 416 417 417 // Construct the attachment array 418 418 $attachment = array(
