WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/29/2013 05:35:13 PM (8 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/edit-form-comment.php.

Props rzen.
Fixes #25521.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r25314 r25983  
    5050        if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) {
    5151            $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>';
    52             printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) );
     52            /** This filter is documented in wp-includes/comment-template.php */
     53            printf( __( 'URL (%s):' ), apply_filters( 'get_comment_author_link', $link ) );
    5354        } else {
    5455            _e( 'URL:' );
     
    128129<div id="postbox-container-2" class="postbox-container">
    129130<?php
     131/** This action is documented in wp-admin/edit-form-advanced.php */
     132do_action( 'add_meta_boxes', 'comment', $comment );
    130133
    131 do_action('add_meta_boxes', 'comment', $comment);
    132 do_action('add_meta_boxes_comment', $comment);
     134/**
     135 * Fires when comment-specific meta boxes are added.
     136 *
     137 * @since 3.0.0
     138 *
     139 * @param object $comment Comment object.
     140 */
     141do_action( 'add_meta_boxes_comment', $comment );
    133142
    134143do_meta_boxes(null, 'normal', $comment);
Note: See TracChangeset for help on using the changeset viewer.