[wp-trac] [WordPress Trac] #59756: function wp_is_stream() is causing a deprecated error when $path is null.
WordPress Trac
noreply at wordpress.org
Fri Sep 12 12:29:03 UTC 2025
#59756: function wp_is_stream() is causing a deprecated error when $path is null.
-------------------------------------+------------------------
Reporter: garymarkfuller | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 6.3.2
Severity: normal | Resolution: duplicate
Keywords: php81 reporter-feedback | Focuses:
-------------------------------------+------------------------
Comment (by ramon fincken):
Will be triggered if you call (which you should not):
{{{
plugins_url( null, __FILE__ );
}}}
Or any one that has a null for that matter ...
That will call
{{{
wp_normalize_path( $path )
}}}
and in turn that will call
{{{
if ( wp_is_stream( $path ) ) {
}}}
This is indeed not a Core issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59756#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list