Make WordPress Core

Changeset 5825 for trunk/xmlrpc.php


Ignore:
Timestamp:
07/30/2007 04:32:12 PM (18 years ago)
Author:
markjaquith
Message:

Favor the term "blog" instead of "weblog." Props foolswisdom and Nazgul. fixes #4674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r5807 r5825  
    708708      }
    709709
    710       /* warning: here we make the assumption that the weblog's URL is on the same server */
     710      /* warning: here we make the assumption that the blog's URL is on the same server */
    711711      $filename = get_option('home') . '/';
    712712      $filename = preg_replace('#https?://.+?/#', $_SERVER['DOCUMENT_ROOT'].'/', $filename);
     
    743743      }
    744744
    745       /* warning: here we make the assumption that the weblog's URL is on the same server */
     745      /* warning: here we make the assumption that the blog's URL is on the same server */
    746746      $filename = get_option('home') . '/';
    747747      $filename = preg_replace('#https?://.+?/#', $_SERVER['DOCUMENT_ROOT'].'/', $filename);
     
    778778      $user = set_current_user(0, $user_login);
    779779      if ( !current_user_can($cap) )
    780         return new IXR_Error(401, __('Sorry, you can not post on this weblog or category.'));
     780        return new IXR_Error(401, __('Sorry, you are not allowed to post on this blog.'));
    781781
    782782      $post_status = ($publish) ? 'publish' : 'draft';
     
    918918      $user = set_current_user(0, $user_login);
    919919      if ( !current_user_can($cap) )
    920         return new IXR_Error(401, __('Sorry, you can not post on this weblog or category.'));
     920        return new IXR_Error(401, __('Sorry, you are not allowed to post on this blog.'));
    921921
    922922        // The post_type defaults to post, but could also be page.
     
    14581458
    14591459
    1460     /* metaweblog.getCategories ...returns the list of categories on a given weblog */
     1460    /* metaweblog.getCategories ...returns the list of categories on a given blog */
    14611461    function mw_getCategories($args) {
    14621462
     
    16141614
    16151615
    1616     /* mt.getCategoryList ...returns the list of categories on a given weblog */
     1616    /* mt.getCategoryList ...returns the list of categories on a given blog */
    16171617    function mt_getCategoryList($args) {
    16181618
Note: See TracChangeset for help on using the changeset viewer.