WordPress.org

Make WordPress Core

Changeset 16804


Ignore:
Timestamp:
12/08/10 17:58:35 (3 years ago)
Author:
markjaquith
Message:

Herr Direktor von Leerzeichen ist nicht zufrieden!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/xmlrpc.php

    r16803 r16804  
    11881188        if ( !current_user_can( 'moderate_comments' ) ) 
    11891189            return new IXR_Error( 403, __( 'You are not allowed to moderate comments on this site.' ) ); 
    1190              
     1190 
    11911191        if ( !$comment = get_comment( $comment_ID ) ) 
    11921192            return new IXR_Error( 404, __( 'Invalid comment ID.' ) ); 
     
    20002000 
    20012001        do_action('xmlrpc_call', 'metaWeblog.newPost'); 
    2002          
     2002 
    20032003        $page_template = ''; 
    20042004        if ( !empty( $content_struct['post_type'] ) ) { 
     
    20292029                $cap = 'edit_posts'; 
    20302030            $error_message = __( 'Sorry, you are not allowed to publish posts on this site.' ); 
    2031             $post_type = 'post';             
     2031            $post_type = 'post'; 
    20322032        } 
    20332033 
     
    23192319                $cap = 'edit_posts'; 
    23202320            $error_message = __( 'Sorry, you are not allowed to publish posts on this site.' ); 
    2321             $post_type = 'post';             
     2321            $post_type = 'post'; 
    23222322        } 
    23232323 
Note: See TracChangeset for help on using the changeset viewer.