[wp-trac] [WordPress Trac] #27158: do_enclose() throws warnings when content_type is text/html and not audio or video
WordPress Trac
noreply at wordpress.org
Wed Feb 19 17:25:59 UTC 2014
#27158: do_enclose() throws warnings when content_type is text/html and not audio
or video
--------------------------+-----------------------------
Reporter: tamas_dxw | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
cron calls do_pings()/do_all_pings() which in turn goes on to
do_enclose().
PHP Warning: strpos() expects parameter 1 to be string, array given in
/var/vhost/site/wp-includes/functions.php on line 505
$url is valid, $type is "text/html; charset=UTF-8", $len is valid as well.
$allowed_types is array(0=>video, 1=>audio)
server environment:
PHP 5.5.3-1ubuntu2.1
Apache 2.4.6
running WP 3.8.1, no multisite
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27158>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list