Changeset 53039
- Timestamp:
- 03/31/2022 03:19:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r51880 r53039 825 825 * 826 826 * @param string $option 827 * @param int $default 827 * @param int $default_value 828 828 * @return int 829 829 */ 830 protected function get_items_per_page( $option, $default = 20 ) {830 protected function get_items_per_page( $option, $default_value = 20 ) { 831 831 $per_page = (int) get_user_option( $option ); 832 832 if ( empty( $per_page ) || $per_page < 1 ) { 833 $per_page = $default ;833 $per_page = $default_value; 834 834 } 835 835
Note: See TracChangeset
for help on using the changeset viewer.