Ticket #34521: 34521-text-change-manage-options.2.patch
| File 34521-text-change-manage-options.2.patch, 589 bytes (added by , 10 years ago) |
|---|
-
wp-includes/class-wp-xmlrpc-server.php
3868 3868 return $this->error; 3869 3869 3870 3870 if ( !current_user_can( 'manage_options' ) ) 3871 return new IXR_Error( 403, __( 'Sorry, you are not allowed to update options.' ) );3871 return new IXR_Error( 403, __( 'Sorry, you are not allowed to manage options.' ) ); 3872 3872 3873 3873 $option_names = array(); 3874 3874 foreach ( $options as $o_name => $o_value ) {