WordPress.org

Make WordPress Core

Ticket #24143: 24143.2.diff

File 24143.2.diff, 457 bytes (added by Denis-de-Bernardy, 4 years ago)

fix typo

  • wp-settings.php

    diff --git wp-settings.php wp-settings.php
    index 236615b..b07fa75 100644
    create_initial_post_types(); 
    204204 
    205205// Register the default theme directory root 
    206206register_theme_directory( get_theme_root() ); 
     207if ( WP_CONTENT_DIR != ABSPATH . 'wp-content' ) { 
     208        register_theme_directory( ABSPATH . 'wp-content/themes' ); 
     209} 
    207210 
    208211// Load active plugins. 
    209212foreach ( wp_get_active_and_valid_plugins() as $plugin )