Changeset 46660 for trunk/src/wp-includes/comment.php
- Timestamp:
- 11/05/2019 09:21:46 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r46644 r46660 252 252 * @since 2.7.0 253 253 * 254 * @return array List of comment statuses.254 * @return string[] List of comment status labels keyed by status. 255 255 */ 256 256 function get_comment_statuses() { … … 1164 1164 * @global wpdb $wpdb WordPress database abstraction object. 1165 1165 * 1166 * @return array Maximum character length for the comment form fields.1166 * @return int[] Array of maximum lengths keyed by field name. 1167 1167 */ 1168 1168 function wp_get_comment_fields_max_lengths() { … … 1207 1207 * @since 4.5.0 1208 1208 * 1209 * @param array $lengths Associative array `'field_name' => 'maximum length'`.1209 * @param int[] $lengths Array of maximum lengths keyed by field name. 1210 1210 */ 1211 1211 return apply_filters( 'wp_get_comment_fields_max_lengths', $lengths ); … … 1779 1779 * @since 2.0.4 1780 1780 * 1781 * @return array Comment author, email, url respectively. 1781 * @return array { 1782 * An array of current commenter variables. 1783 * 1784 * @type string $comment_author The name of the current commenter, or an empty string. 1785 * @type string $comment_author_email The email address of the current commenter, or an empty string. 1786 * @type string $comment_author_url The URL address of the current commenter, or an empty string. 1787 * } 1782 1788 */ 1783 1789 function wp_get_current_commenter() { … … 1807 1813 * An array of current commenter variables. 1808 1814 * 1809 * @type string $comment_author The name of the author of the comment. Default empty.1810 * @type string $comment_author_email The email address of the `$comment_author`. Default empty.1811 * @type string $comment_author_url The URL address of the `$comment_author`. Default empty.1815 * @type string $comment_author The name of the current commenter, or an empty string. 1816 * @type string $comment_author_email The email address of the current commenter, or an empty string. 1817 * @type string $comment_author_url The URL address of the current commenter, or an empty string. 1812 1818 * } 1813 1819 */
Note: See TracChangeset
for help on using the changeset viewer.