Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59704, comment 5


Ignore:
Timestamp:
01/29/2024 06:50:39 PM (11 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59704, comment 5

    initial v1  
    1 Or for a smaller change, casting it as a string seems to prevent the error.
     1Or for a smaller change, casting it as a string seems to prevent the error in PHP 8.2.
    22
    33{{{
     
    99}}}
    1010
    11 (The type cast is used for `strpos()` in `twentyfifteen_scripts()` and `twentyfifteen_block_editor_styles()`, and those functions did not cause an error.)
     11(The type cast is used for `strpos()` in `twentyfifteen_scripts()` and `twentyfifteen_block_editor_styles()`, and those functions did not cause an error when I overrode the fonts URL function with an empty bracket `function twentyfifteen_fonts_url() {}` in a child theme.)