Changeset 61719
- Timestamp:
- 02/23/2026 07:04:18 AM (13 days ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r61651 r61719 4656 4656 * @type string $after_page_number A string to append after the page number. Default empty. 4657 4657 * } 4658 * @return string|string[]| voidString of page links or array of page links, depending on 'type' argument.4659 * Voidif total number of pages is less than 2.4658 * @return string|string[]|null String of page links or array of page links, depending on 'type' argument. 4659 * Null if total number of pages is less than 2. 4660 4660 */ 4661 4661 function paginate_links( $args = '' ) { … … 4723 4723 $total = (int) $args['total']; 4724 4724 if ( $total < 2 ) { 4725 return ;4725 return null; 4726 4726 } 4727 4727 $current = (int) $args['current'];
Note: See TracChangeset
for help on using the changeset viewer.