Make WordPress Core

Opened 12 years ago

Last modified 7 years ago

#27158 new defect (bug)

do_enclose() throws warnings when content_type is text/html and not audio or video

Reported by: tamas_dxw Owned by:
Priority: normal Milestone:
Component: Pings/Trackbacks Version: 3.8.1
Severity: normal Keywords: needs-patch needs-unit-tests
Cc: Focuses:

Description

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

Change History (3)

#1 @kirasong
12 years ago

  • Component MediaPings/Trackbacks

This ticket was mentioned in IRC in #wordpress-dev by DH-Shredder. View the logs.


12 years ago

#3 @chriscct7
11 years ago

  • Keywords needs-patch needs-unit-tests added
Note: See TracTickets for help on using tickets.