Changeset 42876 for trunk/src/wp-includes/comment.php
- Timestamp:
- 03/25/2018 07:32:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r42772 r42876 518 518 * @since 4.5.0 519 519 * 520 * @param array$comments Array of comment objects.520 * @param WP_Comment[] $comments Array of comment objects. 521 521 */ 522 522 function wp_queue_comments_for_comment_meta_lazyload( $comments ) { … … 919 919 * @since 2.7.0 920 920 * 921 * @param array$comments Array of comments922 * @return arrayArray of comments keyed by comment_type.921 * @param WP_Comment[] $comments Array of comments 922 * @return WP_Comment[] Array of comments keyed by comment_type. 923 923 */ 924 924 function separate_comments( &$comments ) { … … 953 953 * @global WP_Query $wp_query 954 954 * 955 * @param array $comments Optional array of WP_Comment objects. Defaults to $wp_query->comments956 * @param int $per_page Optional comments per page.957 * @param bool $threaded Optional control over flat or threaded comments.955 * @param WP_Comment[] $comments Optional. Array of WP_Comment objects. Defaults to $wp_query->comments. 956 * @param int $per_page Optional. Comments per page. 957 * @param bool $threaded Optional. Control over flat or threaded comments. 958 958 * @return int Number of comment pages. 959 959 */ … … 2741 2741 * @since 2.0.0 2742 2742 * 2743 * @param array $post_links An array of post links to be checked (passed by reference).2744 * @param array $pung Whether a link has already beenpinged (passed by reference).2745 * @param int $post_ID The post ID.2743 * @param string[] $post_links Array of link URLs to be checked (passed by reference). 2744 * @param string[] $pung Array of link URLs already pinged (passed by reference). 2745 * @param int $post_ID The post ID. 2746 2746 */ 2747 2747 do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post->ID ) ); … … 2933 2933 * @since 4.4.0 Introduced the `$update_meta_cache` parameter. 2934 2934 * 2935 * @param array $comments Array of comment rowobjects2936 * @param bool $update_meta_cache Whether to update commentmeta cache. Default true.2935 * @param WP_Comment[] $comments Array of comment objects 2936 * @param bool $update_meta_cache Whether to update commentmeta cache. Default true. 2937 2937 */ 2938 2938 function update_comment_cache( $comments, $update_meta_cache = true ) { … … 2960 2960 * @global wpdb $wpdb WordPress database abstraction object. 2961 2961 * 2962 * @param array$comment_ids Array of comment IDs.2962 * @param int[] $comment_ids Array of comment IDs. 2963 2963 * @param bool $update_meta_cache Optional. Whether to update the meta cache. Default true. 2964 2964 */ … … 2998 2998 * @since 3.2.0 2999 2999 * 3000 * @param array $post_types An array of registered post types. Default array with 'post'.3000 * @param string[] $post_types An array of post type names. 3001 3001 */ 3002 3002 $post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) );
Note: See TracChangeset
for help on using the changeset viewer.