Changes between Initial Version and Version 3 of Ticket #59704
- Timestamp:
- 10/23/2023 03:23:57 PM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59704
-
Property
Type
changed from
defect (bug)
toenhancement
-
Property
Summary
changed from
TwentyFifteen: refactor twentyfifteen_fonts_url code for php 8.1
toTwenty Fifteen: harden twentyfifteen_fonts_url code for php 8.1
-
Property
Type
changed from
-
Ticket #59704 – Description
initial v3 1 If twentyfifteen_fonts_url is overwritten and no fonts are returned then line 184 of functions.php creates a warning as the subject of str_replacedoes not exist.1 If `twentyfifteen_fonts_url` is overwritten and no fonts are returned then [https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentyfifteen/functions.php?rev=56556#L184 line 184] of `functions.php` creates a warning as the subject of `str_replace` does not exist.