Changeset 42703
- Timestamp:
- 02/12/2018 09:11:13 PM (7 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r42660 r42703 3769 3769 * @type string $after_page_number A string to append after the page number. Default empty. 3770 3770 * } 3771 * @return array|string|void String of page links or array of page links.3771 * @return string|array|void String of page links or array of page links. 3772 3772 */ 3773 3773 function paginate_links( $args = '' ) { -
trunk/src/wp-includes/link-template.php
r42678 r42703 2897 2897 * 2898 2898 * @param string|array $args Optional args. See paginate_links(). Default empty array. 2899 * @return string| void Markup for paginationlinks.2899 * @return string|array|void Markup for comment page links or array of comment page links. 2900 2900 */ 2901 2901 function paginate_comments_links( $args = array() ) { … … 2926 2926 $page_links = paginate_links( $args ); 2927 2927 2928 if ( $args['echo'] ) {2928 if ( $args['echo'] && 'array' !== $args['type'] ) { 2929 2929 echo $page_links; 2930 2930 } else {
Note: See TracChangeset
for help on using the changeset viewer.