Changes between Initial Version and Version 2 of Ticket #63353
- Timestamp:
- 04/25/2025 10:52:53 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #63353
- Property Keywords has-patch added
-
Ticket #63353 – Description
initial v2 1 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/class-wp-rewrite.php#L1923 1 [https://github.com/WordPress/wordpress-develop/blob/c38f581f03f44e7f4bea7824973e1669a77226ab/src/wp-includes/class-wp-rewrite.php#L1923 class-wp-rewrite.php, line 1923] 2 2 3 If the option is not set (e.g. when installing WP), get_option returns false, which will subsequently pass false to substr/str_ends_withwhich is invalid4 (if strict_types were used, would be a fatal TypeError)3 If the option is not set (e.g. when installing WP), `get_option` returns false, which will subsequently pass false to `substr`/`str_ends_with` which is invalid 4 (if `strict_type` were used, would be a fatal `TypeError`)