Ticket #48883: 48883.patch
| File 48883.patch, 1.6 KB (added by , 6 years ago) |
|---|
-
wp-includes/class-wp-xmlrpc-server.php
3788 3788 } 3789 3789 3790 3790 if ( ! $result ) { 3791 return new IXR_Error( 500, __( 'Sorry, th ecomment could not be edited.' ) );3791 return new IXR_Error( 500, __( 'Sorry, this comment could not be edited.' ) ); 3792 3792 } 3793 3793 3794 3794 /** … … 4979 4979 * @return IXR_Error Error object. 4980 4980 */ 4981 4981 public function blogger_getTemplate( $args ) { 4982 return new IXR_Error( 403, __( 'Sorry, th at file cannot be edited.' ) );4982 return new IXR_Error( 403, __( 'Sorry, this file could not be edited.' ) ); 4983 4983 } 4984 4984 4985 4985 /** … … 4992 4992 * @return IXR_Error Error object. 4993 4993 */ 4994 4994 public function blogger_setTemplate( $args ) { 4995 return new IXR_Error( 403, __( 'Sorry, th at file cannot be edited.' ) );4995 return new IXR_Error( 403, __( 'Sorry, this file could not be edited.' ) ); 4996 4996 } 4997 4997 4998 4998 /** … … 5132 5132 $result = wp_update_post( $postdata ); 5133 5133 5134 5134 if ( ! $result ) { 5135 return new IXR_Error( 500, __( ' For some strange yet very annoying reason, this post could not be edited.' ) );5135 return new IXR_Error( 500, __( 'Sorry, this post could not be edited.' ) ); 5136 5136 } 5137 5137 $this->attach_uploads( $actual_post['ID'], $postdata['post_content'] ); 5138 5138 … … 5889 5889 } 5890 5890 5891 5891 if ( ! $result ) { 5892 return new IXR_Error( 500, __( 'Sorry, yourentry could not be edited.' ) );5892 return new IXR_Error( 500, __( 'Sorry, this entry could not be edited.' ) ); 5893 5893 } 5894 5894 5895 5895 // Only posts can be sticky