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/includes/ajax-actions.php

    r25669 r25868  
    191191        wp_die( -1 );
    192192
    193     //duplicate_hook
     193    /** This filter is documented in wp-admin/user-new.php */
    194194    if ( ! is_super_admin() && ! apply_filters( 'autocomplete_users_for_site_admins', false ) )
    195195        wp_die( -1 );
     
    20032003        wp_send_json_error();
    20042004
    2005     //duplicate_hook
     2005    /** This filter is documented in wp-admin/includes/media.php */
    20062006    $post = apply_filters( 'attachment_fields_to_save', $post, $attachment_data );
    20072007
     
    21062106    }
    21072107
    2108     //duplicate_hook
     2108    /** This filter is documented in wp-admin/includes/media.php */
    21092109    $html = apply_filters( 'media_send_to_editor', $html, $id, $attachment );
    21102110
     
    21472147            $type = $ext_type;
    21482148
    2149     //duplicate_hook
     2149    /** This filter is documented in wp-admin/includes/media.php */
    21502150    $html = apply_filters( $type . '_send_to_editor_url', $html, $src, $title );
    21512151
Note: See TracChangeset for help on using the changeset viewer.