[wp-trac] [WordPress Trac] #38907: Add `path_is_absolute` filter.

WordPress Trac noreply at wordpress.org
Thu Feb 23 02:17:17 UTC 2017


#38907: Add `path_is_absolute` filter.
-----------------------------+------------------------------
 Reporter:  tmatsuo          |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:  4.6.1
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by tmatsuo):

 Or, even, if the path starts with one of the registered stream wrappers,
 can `path_is_absolute` just return true? You can use `stream_get_wrappers`
 to get the registered protocols.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38907#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list