Make WordPress Core


Ignore:
Timestamp:
12/16/2003 01:58:39 AM (22 years ago)
Author:
mikelittle
Message:

Some more b2->wp renaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r614 r617  
    821821    // original function by Dries Buytaert for Drupal
    822822    global $use_weblogsping, $blogname,$siteurl,$blogfilename;
    823     if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="b2.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_weblogsping)) {
     823    if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="wp.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_weblogsping)) {
    824824        $client = new xmlrpc_client("/RPC2", "rpc.weblogs.com", 80);
    825825        $message = new xmlrpcmsg("weblogUpdates.ping", array(new xmlrpcval($blogname), new xmlrpcval($siteurl."/".$blogfilename)));
     
    853853function pingCafelog($cafelogID,$title='',$p='') {
    854854    global $use_cafelogping, $blogname, $siteurl, $blogfilename;
    855     if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="b2.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_cafelogping) && ($cafelogID != '')) {
     855    if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="wp.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_cafelogping) && ($cafelogID != '')) {
    856856        $client = new xmlrpc_client("/xmlrpc.php", "cafelog.tidakada.com", 80);
    857857        $message = new xmlrpcmsg("b2.ping", array(new xmlrpcval($cafelogID), new xmlrpcval($title), new xmlrpcval($p)));
     
    869869function pingBlogs($blog_ID="1") {
    870870    global $use_blodotgsping, $blodotgsping_url, $use_rss, $blogname, $siteurl, $blogfilename;
    871     if ((!(($blogname=='my weblog') && ($siteurl=='http://example.com') && ($blogfilename=='b2.php'))) && (!preg_match('/localhost\//',$siteurl)) && ($use_blodotgsping)) {
     871    if ((!(($blogname=='my weblog') && ($siteurl=='http://example.com') && ($blogfilename=='wp.php'))) && (!preg_match('/localhost\//',$siteurl)) && ($use_blodotgsping)) {
    872872        $url = ($blodotgsping_url == 'http://example.com') ? $siteurl.'/'.$blogfilename : $blodotgsping_url;
    873873        $client = new xmlrpc_client('/', 'ping.blo.gs', 80);
Note: See TracChangeset for help on using the changeset viewer.