Changeset 42764 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 02/28/2018 03:18:47 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r42719 r42764 3921 3921 3922 3922 if ( ! current_user_can( 'publish_posts' ) ) { 3923 return new IXR_Error( 403, __( 'Sorry, you are not allowed access todetails about this site.' ) );3923 return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details about this site.' ) ); 3924 3924 } 3925 3925 … … 3962 3962 3963 3963 if ( ! current_user_can( 'edit_post', $post_id ) ) { 3964 return new IXR_Error( 403, __( 'Sorry, you are not allowed access todetails of this post.' ) );3964 return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details of this post.' ) ); 3965 3965 } 3966 3966 … … 4003 4003 4004 4004 if ( ! current_user_can( 'edit_posts' ) ) { 4005 return new IXR_Error( 403, __( 'Sorry, you are not allowed access todetails about this site.' ) );4005 return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details about this site.' ) ); 4006 4006 } 4007 4007 … … 4037 4037 4038 4038 if ( ! current_user_can( 'edit_pages' ) ) { 4039 return new IXR_Error( 403, __( 'Sorry, you are not allowed access todetails about this site.' ) );4039 return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details about this site.' ) ); 4040 4040 } 4041 4041 … … 4071 4071 4072 4072 if ( ! current_user_can( 'edit_pages' ) ) { 4073 return new IXR_Error( 403, __( 'Sorry, you are not allowed access todetails about this site.' ) );4073 return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details about this site.' ) ); 4074 4074 } 4075 4075 … … 4332 4332 4333 4333 if ( ! current_user_can( 'edit_posts' ) ) { 4334 return new IXR_Error( 403, __( 'Sorry, you are not allowed access todetails about this site.' ) );4334 return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details about this site.' ) ); 4335 4335 } 4336 4336
Note: See TracChangeset
for help on using the changeset viewer.