Make WordPress Core

Ticket #17131: 17131.diff

File 17131.diff, 753 bytes (added by nacin, 14 years ago)
  • wp-includes/class-wp-xmlrpc-server.php

     
    286286         * @since 2.6.0
    287287         */
    288288        function initialise_blog_option_info( ) {
    289                 global $wp_version;
     289                global $wp_version, $content_width;
    290290
    291291                $this->blog_options = array(
    292292                        // Read only options
     
    305305                                'readonly'              => true,
    306306                                'option'                => 'siteurl'
    307307                        ),
     308                        'content_width'                 => array(
     309                                'desc'                  => __( 'Content Width' ),
     310                                'readonly'              => true,
     311                                'value'                 => isset( $content_width ) ? (int) $content_width : 0,
     312                        ),
    308313
    309314                        // Updatable options
    310315                        'time_zone'                     => array(