Make WordPress Core

Changeset 25868


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

Spell out duplicate hook locations.

props DrewAPicture.
fixes #25658.

Location:
trunk/src
Files:
39 edited

Legend:

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

    r25539 r25868  
    3939nocache_headers();
    4040
    41 //duplicate_hook
     41/** This action is documented in wp-admin/admin.php */
    4242do_action( 'admin_init' );
    4343
  • trunk/src/wp-admin/admin-post.php

    r25616 r25868  
    2424nocache_headers();
    2525
    26 //duplicate_hook
     26/** This action is documented in wp-admin/admin.php */
    2727do_action( 'admin_init' );
    2828
  • 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';
  • trunk/src/wp-admin/custom-header.php

    r25821 r25868  
    713713                wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) );
    714714
    715             //duplicate_hook
     715            /** This filter is documented in wp-admin/custom-header.php */
    716716            $image = apply_filters( 'wp_create_file_in_uploads', $image, $attachment_id ); // For replication
    717717
     
    855855            wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) );
    856856
    857         //duplicate_hook
     857        /** This filter is documented in wp-admin/custom-header.php */
    858858        $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication
    859859
     
    888888        $medium = str_replace( basename( $original ), 'midsize-' . basename( $original ), $original );
    889889        if ( file_exists( $medium ) ) {
    890             //duplicate_hook
     890            /**
     891             * Filter the path of the file to delete.
     892             *
     893             * @since 2.1.0
     894             *
     895             * @param string $medium Path to the file to delete.
     896             */
    891897            @unlink( apply_filters( 'wp_delete_file', $medium ) );
    892898        }
    893899
    894900        if ( empty( $_POST['create-new-attachment'] ) && empty( $_POST['skip-cropping'] ) ) {
    895             //duplicate_hook
     901            /** This filter is documented in wp-admin/custom-header.php */
    896902            @unlink( apply_filters( 'wp_delete_file', $original ) );
    897903        }
  • trunk/src/wp-admin/edit-form-advanced.php

    r25819 r25868  
    240240 */
    241241do_action( 'do_meta_boxes', $post_type, 'normal', $post );
    242 //duplicate_hook
     242/** This action is documented in wp-admin/edit-form-advanced.php */
    243243do_action( 'do_meta_boxes', $post_type, 'advanced', $post );
    244 //duplicate_hook
     244/** This action is documented in wp-admin/edit-form-advanced.php */
    245245do_action( 'do_meta_boxes', $post_type, 'side', $post );
    246246
  • trunk/src/wp-admin/edit-link-form.php

    r25670 r25868  
    3434do_action('add_meta_boxes_link', $link);
    3535
     36/** This action is documented in wp-admin/edit-form-advanced.php */
    3637do_action('do_meta_boxes', 'link', 'normal', $link);
     38/** This action is documented in wp-admin/edit-form-advanced.php */
    3739do_action('do_meta_boxes', 'link', 'advanced', $link);
     40/** This action is documented in wp-admin/edit-form-advanced.php */
    3841do_action('do_meta_boxes', 'link', 'side', $link);
    3942
  • 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
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r25698 r25868  
    541541                            $find_main_page = (int) $parent->post_parent;
    542542
    543                             if ( !isset( $parent_name ) )
     543                            if ( !isset( $parent_name ) ) {
     544                                /** This filter is documented in wp-includes/post-template.php */
    544545                                $parent_name = apply_filters( 'the_title', $parent->post_title, $parent->ID );
     546                            }
    545547                        }
    546548                    }
  • trunk/src/wp-admin/includes/dashboard.php

    r25666 r25868  
    143143        update_option( 'dashboard_widget_options', $widget_options );
    144144
     145    /** This action is documented in wp-admin/edit-form-advanced.php */
    145146    do_action('do_meta_boxes', $screen->id, 'normal', '');
     147    /** This action is documented in wp-admin/edit-form-advanced.php */
    146148    do_action('do_meta_boxes', $screen->id, 'side', '');
    147149}
  • trunk/src/wp-admin/includes/export.php

    r25315 r25868  
    368368?>
    369369    <item>
     370        <?php /** This filter is documented in wp-includes/feed.php */ ?>
    370371        <title><?php echo apply_filters( 'the_title_rss', $post->post_title ); ?></title>
    371372        <link><?php the_permalink_rss() ?></link>
  • trunk/src/wp-admin/includes/image-edit.php

    r25744 r25868  
    500500                // delete only if it's edited image
    501501                if ( preg_match('/-e[0-9]{13}\./', $parts['basename']) ) {
     502                    /** This filter is documented in wp-admin/custom-header.php */
    502503                    $delpath = apply_filters('wp_delete_file', $file);
    503504                    @unlink($delpath);
     
    523524                    // delete only if it's edited image
    524525                    if ( preg_match('/-e[0-9]{13}-/', $meta['sizes'][$default_size]['file']) ) {
     526                        /** This filter is documented in wp-admin/custom-header.php */
    525527                        $delpath = apply_filters( 'wp_delete_file', path_join($parts['dirname'], $meta['sizes'][$default_size]['file']) );
    526528                        @unlink($delpath);
     
    723725
    724726    if ( $delete ) {
     727        /** This filter is documented in wp-admin/custom-header.php */
    725728        $delpath = apply_filters('wp_delete_file', $new_path);
    726729        @unlink( $delpath );
  • trunk/src/wp-admin/includes/ms.php

    r25497 r25868  
    678678                <?php
    679679                $signup_url = network_site_url( 'wp-signup.php' );
    680                 /**
    681                  * Filter the site signup URL.
    682                  *
    683                  * @since MU
    684                  *
    685                  * @param string $signup_url The site signup URL.
    686                  */
     680                /** This filter is documented in wp-login.php */
    687681                ?>
    688682                <a href="<?php echo apply_filters( 'wp_signup_location', $signup_url ); ?>"><?php _e( 'Create a New Site' ); ?></a>
  • trunk/src/wp-admin/includes/nav-menu.php

    r25741 r25868  
    309309            $title = $item->label;
    310310        } elseif ( isset( $item->post_type ) ) {
    311             //duplicate_hook
     311            /** This filter is documented in wp-includes/post-template.php */
    312312            $title = apply_filters( 'the_title', $item->post_title, $item->ID );
    313313            if ( ! empty( $item->front_or_home ) && _x( 'Home', 'nav menu home label' ) !== $title )
  • trunk/src/wp-admin/includes/post.php

    r25719 r25868  
    271271
    272272        $attachment_data = isset( $post_data['attachments'][ $post_ID ] ) ? $post_data['attachments'][ $post_ID ] : array();
     273        /** This filter is documented in wp-admin/includes/media.php */
    273274        $post_data = apply_filters( 'attachment_fields_to_save', $post_data, $attachment_data );
    274275    }
  • trunk/src/wp-admin/includes/revision.php

    r25587 r25868  
    7171        $content_from = $compare_from ? apply_filters( "_wp_post_revision_field_$field", $compare_from->$field, $field, $compare_from, 'from' ) : '';
    7272
    73         //duplicate_hook
     73        /** This filter is documented in wp-admin/includes/revision.php */
    7474        $content_to = apply_filters( "_wp_post_revision_field_$field", $compare_to->$field, $field, $compare_to, 'to' );
    7575
  • trunk/src/wp-admin/options-writing.php

    r25616 r25868  
    2929) );
    3030
    31 //duplicate_hook
     31/** This filter is documented in wp-admin/options.php */
    3232if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
    3333    get_current_screen()->add_help_tab( array(
     
    132132
    133133<?php
    134 //duplicate_hook
     134/** This filter is documented in wp-admin/options.php */
    135135if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
    136136?>
     
    169169
    170170<?php
    171 //duplicate_hook
     171/** This filter is documented in wp-admin/options-writing.php */
    172172if ( apply_filters( 'enable_update_services_configuration', true ) ) {
    173173?>
  • trunk/src/wp-admin/user-new.php

    r25629 r25868  
    336336<p><?php _e('Create a brand new user and add them to this site.'); ?></p>
    337337<?php
    338 //duplicate_hook
     338/** This action is documented in wp-admin/user-new.php */
    339339?>
    340340<form action="" method="post" name="createuser" id="createuser" class="validate"<?php do_action('user_new_form_tag');?>>
     
    428428
    429429<?php
    430 //duplicate_hook
     430/** This action is documented in wp-admin/user-new.php */
    431431do_action( 'user_new_form', 'add-new-user' );
    432432?>
  • trunk/src/wp-content/themes/twentyeleven/content-single.php

    r25625 r25868  
    5656            <div id="author-avatar">
    5757                <?php
    58                 //duplicate_hook
     58                /** This filter is documented in author.php */
    5959                echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 68 ) );
    6060                ?>
  • trunk/src/wp-content/themes/twentyeleven/functions.php

    r25824 r25868  
    529529        $has_url = twentyeleven_url_grabber();
    530530
    531     //duplicate_hook
     531    /** This filter is documented in wp-includes/link-template.php */
    532532    return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() );
    533533}
  • trunk/src/wp-content/themes/twentyeleven/inc/widgets.php

    r25625 r25868  
    5656        extract( $args, EXTR_SKIP );
    5757
    58         //duplicate_hook
     58        /** This filter is documented in wp-includes/default-widgets.php */
    5959        $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Ephemera', 'twentyeleven' ) : $instance['title'], $instance, $this->id_base);
    6060
  • trunk/src/wp-content/themes/twentyten/loop-single.php

    r25627 r25868  
    3939                        <div id="author-avatar">
    4040                            <?php
    41                             //duplicate_hook
     41                            /** This filter is documented in author.php */
    4242                            echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) );
    4343                            ?>
  • trunk/src/wp-content/themes/twentytwelve/author.php

    r25521 r25868  
    4949                <div class="author-avatar">
    5050                    <?php
    51                     //duplicate_hook
     51                    /**
     52                     * Filter the author bio avatar size.
     53                     *
     54                     * @since Twenty Twelve 1.0
     55                     *
     56                     * @param int $size The height and width of the avatar in pixels.
     57                     */
    5258                    $author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
    5359                    echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
  • trunk/src/wp-content/themes/twentytwelve/content.php

    r25521 r25868  
    5151                    <div class="author-avatar">
    5252                        <?php
    53                         /**
    54                          * Filter the author bio avatar size.
    55                          *
    56                          * @since Twenty Twelve 1.0
    57                          *
    58                          * @param int $size The height and width of the avatar in pixels.
    59                          */
     53                        /** This filter is documented in author.php */
    6054                        $author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
    6155                        echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
  • trunk/src/wp-includes/canonical.php

    r25535 r25868  
    297297        if ( 'wp-register.php' == basename( $redirect['path'] ) ) {
    298298            if ( is_multisite() )
    299                 //duplicate_hook
     299                /** This filter is documented in wp-login.php */
    300300                $redirect_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
    301301            else
  • trunk/src/wp-includes/class-wp-embed.php

    r25726 r25868  
    216216            // If there was a result, return it
    217217            if ( $html ) {
    218                 //duplicate_hook
     218                /** This filter is documented in wp-includes/class-wp-embed.php */
    219219                return apply_filters( 'embed_oembed_html', $html, $url, $attr, $post_ID );
    220220            }
  • trunk/src/wp-includes/comment.php

    r25438 r25868  
    17731773    $excerpt = wp_html_excerpt($excerpt, 252, '&#8230;');
    17741774
     1775    /** This filter is documented in wp-includes/post-template.php */
    17751776    $post_title = apply_filters('the_title', $post->post_title, $post->ID);
    17761777    $post_title = strip_tags($post_title);
  • trunk/src/wp-includes/feed-atom-comments.php

    r23191 r25868  
    4949            if ( !is_singular() ) {
    5050                $title = get_the_title($comment_post->ID);
    51                 $title = apply_filters('the_title_rss', $title);
     51                /** This filter is documented in wp-includes/feed.php */
     52                $title = apply_filters( 'the_title_rss', $title );
    5253                printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss());
    5354            } else {
  • trunk/src/wp-includes/feed-rdf.php

    r25479 r25868  
    3131    <description><?php bloginfo_rss('description') ?></description>
    3232    <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
     33    <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
    3334    <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
    34     <?php //duplicate_hook ?>
     35    <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
    3536    <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
    3637    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
  • trunk/src/wp-includes/feed-rss2-comments.php

    r25532 r25868  
    1616    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    1717    <?php
    18     //duplicate_hook
     18    /** This action is documented in wp-includes/feed-rss2.php */
    1919    do_action( 'rss2_ns' );
    2020    ?>
     
    4242    <description><?php bloginfo_rss("description") ?></description>
    4343    <lastBuildDate><?php echo mysql2date('r', get_lastcommentmodified('GMT')); ?></lastBuildDate>
    44     <?php //duplicate_hook ?>
     44    <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
    4545    <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
    46     <?php //duplicate_hook ?>
     46    <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
    4747    <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
    4848    <?php
     
    6161            if ( !is_singular() ) {
    6262                $title = get_the_title($comment_post->ID);
    63                 //duplicate_hook
    64                 $title = apply_filters('the_title_rss', $title);
     63                /** This filter is documented in wp-includes/feed.php */
     64                $title = apply_filters( 'the_title_rss', $title );
    6565                printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss());
    6666            } else {
  • trunk/src/wp-includes/general-template.php

    r25710 r25868  
    10791079                if ( $result->post_date != '0000-00-00 00:00:00' ) {
    10801080                    $url  = get_permalink( $result );
    1081                     if ( $result->post_title )
     1081                    if ( $result->post_title ) {
     1082                        /** This filter is documented in wp-includes/post-template.php */
    10821083                        $text = strip_tags( apply_filters( 'the_title', $result->post_title, $result->ID ) );
    1083                     else
     1084                    } else {
    10841085                        $text = $result->ID;
     1086                    }
    10851087                    $output .= get_archives_link($url, $text, $format, $before, $after);
    10861088                }
     
    12671269        foreach ( (array) $ak_post_titles as $ak_post_title ) {
    12681270
     1271                /** This filter is documented in wp-includes/post-template.php */
    12691272                $post_title = esc_attr( apply_filters( 'the_title', $ak_post_title->post_title, $ak_post_title->ID ) );
    12701273
  • trunk/src/wp-includes/link-template.php

    r25662 r25868  
    14261426            $title = $previous ? __( 'Previous Post' ) : __( 'Next Post' );
    14271427
     1428        /** This filter is documented in wp-includes/post-template.php */
    14281429        $title = apply_filters( 'the_title', $title, $post->ID );
    14291430        $date = mysql2date( get_option( 'date_format' ), $post->post_date );
  • trunk/src/wp-includes/media-template.php

    r24784 r25868  
    342342                    <?php
    343343
     344                    /** This filter is documented in wp-admin/includes/media.php */
    344345                    $sizes = apply_filters( 'image_size_names_choose', array(
    345346                        'thumbnail' => __('Thumbnail'),
  • trunk/src/wp-includes/media.php

    r25744 r25868  
    17451745    if ( $meta && 'image' === $type ) {
    17461746        $sizes = array();
     1747        /** This filter is documented in wp-admin/includes/media.php */
    17471748        $possible_sizes = apply_filters( 'image_size_names_choose', array(
    17481749            'thumbnail' => __('Thumbnail'),
  • trunk/src/wp-includes/nav-menu-template.php

    r25643 r25868  
    148148        $item_output = $args->before;
    149149        $item_output .= '<a'. $attributes .'>';
    150         //duplicate_hook
     150        /** This filter is documented in wp-includes/post-template.php */
    151151        $item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
    152152        $item_output .= '</a>';
  • trunk/src/wp-includes/post-template.php

    r25745 r25868  
    10721072            $page->post_title = sprintf( __( '#%d (no title)' ), $page->ID );
    10731073
     1074        /** This filter is documented in wp-includes/post-template.php */
    10741075        $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_permalink($page->ID) . '">' . $link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) . $link_after . '</a>';
    10751076
  • trunk/src/wp-includes/post.php

    r25686 r25868  
    41914191        if (! $wpdb->get_row( $wpdb->prepare( "SELECT meta_id FROM $wpdb->postmeta WHERE meta_key = '_wp_attachment_metadata' AND meta_value LIKE %s AND post_id <> %d", '%' . $meta['thumb'] . '%', $post_id)) ) {
    41924192            $thumbfile = str_replace(basename($file), $meta['thumb'], $file);
     4193            /** This filter is documented in wp-admin/custom-header.php */
    41934194            $thumbfile = apply_filters('wp_delete_file', $thumbfile);
    41944195            @ unlink( path_join($uploadpath['basedir'], $thumbfile) );
     
    41984199    // remove intermediate and backup images if there are any
    41994200    foreach ( $intermediate_sizes as $intermediate ) {
     4201        /** This filter is documented in wp-admin/custom-header.php */
    42004202        $intermediate_file = apply_filters( 'wp_delete_file', $intermediate['path'] );
    42014203        @ unlink( path_join($uploadpath['basedir'], $intermediate_file) );
     
    42054207        foreach ( $backup_sizes as $size ) {
    42064208            $del_file = path_join( dirname($meta['file']), $size['file'] );
     4209            /** This filter is documented in wp-admin/custom-header.php */
    42074210            $del_file = apply_filters('wp_delete_file', $del_file);
    42084211            @ unlink( path_join($uploadpath['basedir'], $del_file) );
     
    42104213    }
    42114214
     4215    /** This filter is documented in wp-admin/custom-header.php */
    42124216    $file = apply_filters('wp_delete_file', $file);
    42134217
  • trunk/src/wp-login.php

    r25701 r25868  
    620620if ( get_option( 'users_can_register' ) ) :
    621621    $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
    622     //duplicate_hook
     622    /** This filter is documented in wp-login.php */
    623623    echo ' | ' . apply_filters( 'register', $registration_url );
    624624endif;
     
    766766            </div>
    767767            <?php
    768             //duplicate_hook
     768            /** This action is documented in wp-login.php */
    769769            do_action( 'login_footer' ); ?>
    770770            <?php if ( $customize_login ) : ?>
     
    870870    if ( get_option( 'users_can_register' ) ) :
    871871        $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
    872         //duplicate_hook
     872        /** This filter is documented in wp-login.php */
    873873        echo apply_filters( 'register', $registration_url ) . ' | ';
    874874    endif;
  • trunk/src/wp-mail.php

    r25001 r25868  
    1111require(dirname(__FILE__) . '/wp-load.php');
    1212
     13/** This filter is documented in wp-admin/options.php */
    1314if ( ! apply_filters( 'enable_post_by_email_configuration', true ) )
    1415    wp_die( __( 'This action has been disabled by the administrator.' ) );
  • trunk/src/wp-signup.php

    r25645 r25868  
    434434        <input type="hidden" name="stage" value="validate-user-signup" />
    435435        <?php
    436         //duplicate_hook
     436        /** This action is documented in wp-signup.php */
    437437        do_action( 'signup_hidden_fields', 'validate-user' );
    438438        ?>
     
    482482    }
    483483
    484     //duplicate_hook
     484    /** This filter is documented in wp-signup.php */
    485485    wpmu_signup_user( $user_name, $user_email, apply_filters( 'add_signup_meta', array() ) );
    486486
     
    504504    <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p>
    505505    <?php
    506     //duplicate_hook
     506    /** This action is documented in wp-signup.php */
    507507    do_action( 'signup_finished' );
    508508}
     
    564564        <input type="hidden" name="user_email" value="<?php echo esc_attr($user_email) ?>" />
    565565        <?php
    566         //duplicate_hook
     566        /** This action is documented in wp-signup.php */
    567567        do_action( 'signup_hidden_fields', 'validate-site' );
    568568        ?>
     
    606606    $meta = array ('lang_id' => 1, 'public' => $public);
    607607
    608     //duplicate_hook
     608    /** This filter is documented in wp-signup.php */
    609609    $meta = apply_filters( 'add_signup_meta', $meta );
    610610
     
    643643    </p>
    644644    <?php
    645     //duplicate_hook
     645    /** This action is documented in wp-signup.php */
    646646    do_action( 'signup_finished' );
    647647}
Note: See TracChangeset for help on using the changeset viewer.