WordPress.org

Make WordPress Core

Ticket #34521: 34521-text-change-manage-options.2.patch

File 34521-text-change-manage-options.2.patch, 589 bytes (added by ramiy, 5 years ago)

Text change: manage options

  • wp-includes/class-wp-xmlrpc-server.php

     
    38683868                        return $this->error;
    38693869
    38703870                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.' ) );
    38723872
    38733873                $option_names = array();
    38743874                foreach ( $options as $o_name => $o_value ) {