Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57009


Ignore:
Timestamp:
11/05/2022 11:01:17 PM (23 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57009 – Description

    initial v1  
    1 This has been going on for the last couple of versions. I develop themes with XAMPP locally and when I install a fresh copy of WordPress (eg: 6.1 now), then turn on debug, I get inundated with "Depreciated:" notices. For example, fresh install, go to Plugins, and you might see them (see screenshot); install and activate a plugin, such as Classic Editor...sometimes the notices disappear after several refreshes.
     1This has been going on for the last couple of versions. I develop themes with XAMPP locally and when I install a fresh copy of WordPress (eg: 6.1 now), then turn on debug, I get inundated with "Deprecated:" notices. For example, fresh install, go to Plugins, and you might see them (see screenshot); install and activate a plugin, such as Classic Editor...sometimes the notices disappear after several refreshes.
    22
    33I get these notices all the time with debugging on, which makes it difficult to test/debug themes.
     
    55Examples:
    66
     7{{{
     8Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in D:\...\wp-includes\Requests\Cookie\Jar.php on line 63
    79
    8 {{{
    9 Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in D:\xampp\htdocs\naturals\wp-includes\Requests\Cookie\Jar.php on line 63
    10 
    11 Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in D:\xampp\htdocs\naturals\wp-includes\Requests\Cookie\Jar.php on line 73
     10Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in D:\...\wp-includes\Requests\Cookie\Jar.php on line 73
    1211}}}
    1312