Changeset 1194

Show
Ignore:
Timestamp:
02/03/08 13:55:31 (6 months ago)
Author:
donncha
Message:

Merged WP 6710

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/xmlrpc.php

    r1172 r1194  
    12101210                        && ($content_struct["post_type"] == "page") 
    12111211                ) { 
     1212                        if( !current_user_can( 'edit_page', $post_ID ) ) {  
     1213                                return(new IXR_Error(401, __("Sorry, you do not have the right to edit this page.")));  
     1214                        }  
     1215 
    12121216                        $post_type = "page"; 
    12131217                }