Changeset 57648 for trunk/src/wp-includes/class-wp-walker.php
- Timestamp:
- 02/17/2024 03:22:37 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-walker.php
r56549 r57648 311 311 $end = $start + $per_page; 312 312 if ( -1 == $max_depth ) { 313 $this->max_pages = ceil( $total_top / $per_page );313 $this->max_pages = (int) ceil( $total_top / $per_page ); 314 314 } 315 315 } … … 355 355 $total_top = count( $top_level_elements ); 356 356 if ( $paging ) { 357 $this->max_pages = ceil( $total_top / $per_page );357 $this->max_pages = (int) ceil( $total_top / $per_page ); 358 358 } else { 359 359 $end = $total_top;
Note: See TracChangeset
for help on using the changeset viewer.