Make WordPress Core

Changeset 11773


Ignore:
Timestamp:
08/04/2009 09:30:21 PM (16 years ago)
Author:
westi
Message:

Allow user registration to be enabled by an XMLRPC client. Fixes #10454 props josephscott.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r11686 r11773  
    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        );
     
    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;
Note: See TracChangeset for help on using the changeset viewer.