Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #59704


Ignore:
Timestamp:
10/23/2023 03:23:57 PM (14 months ago)
Author:
sabernhardt
Comment:

I'm changing this to an enhancement because it should work with the documented type.

However, it could be worth fixing type errors, as I had done it wrong with Twenty Fifteen and/or Twenty Sixteen before working on the patches in #55985.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59704

    • Property Type changed from defect (bug) to enhancement
    • Property Summary changed from TwentyFifteen: refactor twentyfifteen_fonts_url code for php 8.1 to Twenty Fifteen: harden twentyfifteen_fonts_url code for php 8.1
  • 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_replace does not exist.
     1If `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.