Make WordPress Core


Ignore:
Timestamp:
10/22/2013 05:21:32 PM (13 years ago)
Author:
nacin
Message:

Spell out duplicate hook locations.

props DrewAPicture.
fixes #25658.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-background.php

    r25283 r25868  
    387387        set_theme_mod('background_image_thumb', esc_url_raw( $thumbnail[0] ) );
    388388
    389         //duplicate_hook
     389        /** This action is documented in wp-admin/custom-header.php */
    390390        do_action( 'wp_create_file_in_uploads', $file, $id ); // For replication
    391391        $this->updated = true;
     
    413413        if ( ! current_user_can('edit_theme_options') || ! isset( $_POST['attachment_id'] ) ) exit;
    414414        $attachment_id = absint($_POST['attachment_id']);
    415         //duplicate_hook
     415        /** This filter is documented in wp-admin/includes/media.php */
    416416        $sizes = array_keys(apply_filters( 'image_size_names_choose', array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full Size')) ));
    417417        $size = 'thumbnail';
Note: See TracChangeset for help on using the changeset viewer.