Make WordPress Core

Changeset 4905


Ignore:
Timestamp:
02/22/2007 01:34:06 AM (20 years ago)
Author:
ryan
Message:

Handle array of mt_tb_ping_urls. Props bafonso. fixes #3721

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r4874 r4905  
    990990          }
    991991
    992                 $to_ping = $content_struct['mt_tb_ping_urls'];
     992          $to_ping = $content_struct['mt_tb_ping_urls'];
     993          if ( is_array($to_ping) )
     994                $to_ping = implode(' ', $to_ping);
    993995
    994996          // Do some timestamp voodoo
     
    11521154          }
    11531155
    1154                 $to_ping = $content_struct['mt_tb_ping_urls'];
    1155 
     1156          $to_ping = $content_struct['mt_tb_ping_urls'];
     1157          if ( is_array($to_ping) )
     1158                $to_ping = implode(' ', $to_ping);
     1159         
    11561160          $comment_status = (empty($content_struct['mt_allow_comments'])) ?
    11571161            get_option('default_comment_status')
Note: See TracChangeset for help on using the changeset viewer.