Changeset 56815 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 10/10/2023 11:20:28 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r56811 r56815 2021 2021 2022 2022 if ( isset( $q['page'] ) ) { 2023 $q['page'] = trim( $q['page'], '/' ); 2024 $q['page'] = absint( $q['page'] ); 2023 $q['page'] = is_scalar( $q['page'] ) ? absint( trim( $q['page'], '/' ) ) : 0; 2025 2024 } 2026 2025
Note: See TracChangeset
for help on using the changeset viewer.