Changeset 32568 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 05/24/2015 05:39:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r32567 r32568 389 389 * @param bool $echo Optional. Whether to cho or return the output. 390 390 * Default true. 391 * @return string| null391 * @return string|void 392 392 */ 393 393 function comment_class( $class = '', $comment_id = null, $post_id = null, $echo = true ) { … … 1143 1143 * @param bool $separate_comments Optional. Whether to separate the comments by comment type. 1144 1144 * Default false. 1145 * @return null Returns null if no comments appear.1146 1145 */ 1147 1146 function comments_template( $file = '/comments.php', $separate_comments = false ) { … … 1288 1287 * @param string $none Optional. String to display when comments have been turned off. 1289 1288 * Default false. 1290 * @return null Returns null on single posts and pages.1291 1289 */ 1292 1290 function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) { … … 1387 1385 * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. 1388 1386 * Default current post. 1389 * @return null|false|string Link to show comment form, if successful. False, if comments are closed.1387 * @return void|false|string Link to show comment form, if successful. False, if comments are closed. 1390 1388 */ 1391 1389 function get_comment_reply_link( $args = array(), $comment = null, $post = null ) { … … 1790 1788 * @param array $args An array of arguments. 1791 1789 * @param string $output Passed by reference. Used to append additional content. 1792 * @return null Null on failure with no changes to parameters.1793 1790 */ 1794 1791 public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) { 1795 1796 1792 if ( !$element ) 1797 1793 return;
Note: See TracChangeset
for help on using the changeset viewer.