Ticket #10454: xmlrpc.php.diff

File xmlrpc.php.diff, 666 bytes (added by josephscott, 3 years ago)
  • xmlrpc.php

     
    419419                                'desc'                  => __( 'Time Format' ), 
    420420                                'readonly'              => false, 
    421421                                'option'                => 'time_format' 
     422                        ), 
     423                        'users_can_register'    => array( 
     424                                'desc'                  => __( 'Allow new users to sign up' ), 
     425                                'readonly'              => false, 
     426                                'option'                => 'users_can_register' 
    422427                        ) 
    423428                ); 
    424429 
     
    15511556 
    15521557                foreach( $options as $o_name => $o_value ) { 
    15531558                        $option_names[] = $o_name; 
    1554                         if( empty( $o_value ) ) 
    1555                                 continue; 
    1556  
    15571559                        if( !array_key_exists( $o_name, $this->blog_options ) ) 
    15581560                                continue; 
    15591561