Changeset 60397
- Timestamp:
- 06/30/2025 05:39:28 PM (9 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r60304 r60397 1755 1755 * @param int|WP_Post $post Optional. Post ID or WP_Post object the comment is going to be displayed on. 1756 1756 * Default current post. 1757 * @return string|false|null Link to show comment form , if successful. False, if comments are closed.1757 * @return string|false|null Link to show comment form on success. False if comments are closed. Null on failure. 1758 1758 */ 1759 1759 function get_comment_reply_link( $args = array(), $comment = null, $post = null ) { … … 1778 1778 1779 1779 if ( 0 === $args['depth'] || $args['max_depth'] <= $args['depth'] ) { 1780 return ;1780 return null; 1781 1781 } 1782 1782 … … 1784 1784 1785 1785 if ( empty( $comment ) ) { 1786 return ;1786 return null; 1787 1787 } 1788 1788 … … 1912 1912 * @type string $after Text or HTML to add after the reply link. Default empty. 1913 1913 * } 1914 * @param int|WP_Post $post Optional. Post ID or WP_Post object the comment is going to be displayed on.1915 * Default current post.1916 * @return string|false |null Link to show comment form, if successful. False,if comments are closed.1914 * @param int|WP_Post $post Optional. Post ID or WP_Post object the comment is going to be displayed on. 1915 * Default current post. 1916 * @return string|false Link to show comment form on success. False if comments are closed. 1917 1917 */ 1918 1918 function get_post_reply_link( $args = array(), $post = null ) {
Note: See TracChangeset
for help on using the changeset viewer.