Changeset 25283
- Timestamp:
- 09/06/2013 05:04:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-background.php
r25254 r25283 387 387 set_theme_mod('background_image_thumb', esc_url_raw( $thumbnail[0] ) ); 388 388 389 do_action('wp_create_file_in_uploads', $file, $id); // For replication 389 //duplicate_hook 390 do_action( 'wp_create_file_in_uploads', $file, $id ); // For replication 390 391 $this->updated = true; 391 392 } … … 412 413 if ( ! current_user_can('edit_theme_options') || ! isset( $_POST['attachment_id'] ) ) exit; 413 414 $attachment_id = absint($_POST['attachment_id']); 415 //duplicate_hook 414 416 $sizes = array_keys(apply_filters( 'image_size_names_choose', array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full Size')) )); 415 417 $size = 'thumbnail';
Note: See TracChangeset
for help on using the changeset viewer.