Changeset 48590 for trunk/src/wp-includes/comment.php
- Timestamp:
- 07/23/2020 09:09:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r48576 r48590 1063 1063 * @param int $comment_ID Comment ID. 1064 1064 * @param array $args { 1065 * Array of optional arguments. 1066 * @type string $type Limit paginated comments to those matching a given type. 1067 * Accepts 'comment', 'trackback', 'pingback', 'pings' 1068 * (trackbacks and pingbacks), or 'all'. Default 'all'. 1069 * @type int $per_page Per-page count to use when calculating pagination. 1070 * Defaults to the value of the 'comments_per_page' option. 1071 * @type int|string $max_depth If greater than 1, comment page will be determined 1072 * for the top-level parent `$comment_ID`. 1073 * Defaults to the value of the 'thread_comments_depth' option. 1065 * Array of optional arguments. 1066 * 1067 * @type string $type Limit paginated comments to those matching a given type. 1068 * Accepts 'comment', 'trackback', 'pingback', 'pings' 1069 * (trackbacks and pingbacks), or 'all'. Default 'all'. 1070 * @type int $per_page Per-page count to use when calculating pagination. 1071 * Defaults to the value of the 'comments_per_page' option. 1072 * @type int|string $max_depth If greater than 1, comment page will be determined 1073 * for the top-level parent `$comment_ID`. 1074 * Defaults to the value of the 'thread_comments_depth' option. 1074 1075 * } * 1075 1076 * @return int|null Comment page number or null on error. … … 2115 2116 * @since 2.1.0 2116 2117 * 2117 * @param bool $block Whether plugin has already blocked comment.2118 * @param int $time_lastcomment Timestamp for last comment.2119 * @param int $time_newcommentTimestamp for new comment.2118 * @param bool $block Whether plugin has already blocked comment. 2119 * @param int $time_lastcomment Timestamp for last comment. 2120 * @param int $time_newcomment Timestamp for new comment. 2120 2121 * @return bool Whether comment should be blocked. 2121 2122 */ … … 2173 2174 * 'REMOTE_ADDR' in the `$_SERVER` superglobal sent in the original request. 2174 2175 * } 2175 * @param bool $wp_error Should errors be returned as WP_Error objects instead of2176 * executing wp_die()? Default false.2176 * @param bool $wp_error Should errors be returned as WP_Error objects instead of 2177 * executing wp_die()? Default false. 2177 2178 * @return int|false|WP_Error The ID of the comment on success, false or WP_Error on failure. 2178 2179 */ … … 2711 2712 * @since 1.5.0 2712 2713 * 2713 * @param string $url URL to ping.2714 * @param int $deprecated Not Used.2714 * @param string $url URL to ping. 2715 * @param int $deprecated Not Used. 2715 2716 * @return string|false String containing URI on success, false on failure. 2716 2717 */ … … 2941 2942 * @since 4.7.0 `$post_id` can be a WP_Post object. 2942 2943 * 2943 * @param string $content Post content to check for links. If empty will retrieve from post.2944 * @param string $content Post content to check for links. If empty will retrieve from post. 2944 2945 * @param int|WP_Post $post_id Post Object or ID. 2945 2946 */ … … 3068 3069 * 3069 3070 * @param string $trackback_url URL to send trackbacks. 3070 * @param string $title Title of post.3071 * @param string $excerpt Excerpt of post.3072 * @param int $IDPost ID.3071 * @param string $title Title of post. 3072 * @param string $excerpt Excerpt of post. 3073 * @param int $ID Post ID. 3073 3074 * @return int|false|void Database query from update. 3074 3075 */ … … 3287 3288 * @access private 3288 3289 * 3289 * @param bool $open Comments open or closed3290 * @param int $post_id Post ID3290 * @param bool $open Comments open or closed. 3291 * @param int $post_id Post ID. 3291 3292 * @return bool $open 3292 3293 */
Note: See TracChangeset
for help on using the changeset viewer.