Make WordPress Core


Ignore:
Timestamp:
12/13/2011 11:45:31 PM (13 years ago)
Author:
ryan
Message:

Use one space, not two, after trailing punctuation. fixes #19537

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r19071 r19593  
    157157    function login_pass_ok($user_login, $user_pass) {
    158158        if ( !get_option( 'enable_xmlrpc' ) ) {
    159             $this->error = new IXR_Error( 405, sprintf( __( 'XML-RPC services are disabled on this site.  An admin user can enable them at %s'),  admin_url('options-writing.php') ) );
     159            $this->error = new IXR_Error( 405, sprintf( __( 'XML-RPC services are disabled on this site. An admin user can enable them at %s'),  admin_url('options-writing.php') ) );
    160160            return false;
    161161        }
     
    179179    function login($username, $password) {
    180180        if ( !get_option( 'enable_xmlrpc' ) ) {
    181             $this->error = new IXR_Error( 405, sprintf( __( 'XML-RPC services are disabled on this site.  An admin user can enable them at %s'),  admin_url('options-writing.php') ) );
     181            $this->error = new IXR_Error( 405, sprintf( __( 'XML-RPC services are disabled on this site. An admin user can enable them at %s'),  admin_url('options-writing.php') ) );
    182182            return false;
    183183        }
     
    19461946
    19471947        /* so it is actually editable with a windows/mac client */
    1948         // FIXME: (or delete me) do we really want to cater to bad clients at the expense of good ones by BEEPing up their line breaks? commented.     $content = str_replace("\n", "\r\n", $content);
     1948        // FIXME: (or delete me) do we really want to cater to bad clients at the expense of good ones by BEEPing up their line breaks? commented. $content = str_replace("\n", "\r\n", $content);
    19491949
    19501950        return $content;
     
    25452545
    25462546        // If there is no post data for the give post id, stop
    2547         // now and return an error.  Other wise a new post will be
     2547        // now and return an error. Other wise a new post will be
    25482548        // created (which was the old behavior).
    25492549        if ( empty($postdata["ID"]) )
Note: See TracChangeset for help on using the changeset viewer.