Make WordPress Core

Changeset 4907


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

Handle array of mt_tb_ping_urls. Props bafonso. fixes #3721

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/xmlrpc.php

    r4411 r4907  
    533533      }
    534534
    535         $to_ping = $content_struct['mt_tb_ping_urls'];
     535      $to_ping = $content_struct['mt_tb_ping_urls'];
     536      if ( is_array($to_ping) )
     537        $to_ping = implode(' ', $to_ping);
    536538
    537539      // Do some timestamp voodoo
     
    616618      }
    617619
    618         $to_ping = $content_struct['mt_tb_ping_urls'];
    619 
     620      $to_ping = $content_struct['mt_tb_ping_urls'];
     621      if ( is_array($to_ping) )
     622        $to_ping = implode(' ', $to_ping);
     623     
    620624      $comment_status = (empty($content_struct['mt_allow_comments'])) ?
    621625        get_settings('default_comment_status')
Note: See TracChangeset for help on using the changeset viewer.