Make WordPress Core

Changeset 57748

Timestamp:
03/02/2024 10:45:27 AM (5 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document some globals in wp-settings.php.

Follow-up to [18532], [18993], [27158], [38362].

Props upadalavipul, viralsampat, sabernhardt.
See #60021.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r57704 r57748  
    131131require_wp_db();
    132132
     133
     134
     135
     136
     137
     138
     139
    133140// Set the database table prefix and the format specifiers for database table columns.
    134 $GLOBALS['table_prefix'] = $table_prefix;
    135141wp_set_wpdb_vars();
    136142
     
    394400add_action( 'after_setup_theme', array( wp_interactivity(), 'add_hooks' ) );
    395401
     402
     403
     404
     405
     406
    396407$GLOBALS['wp_embed'] = new WP_Embed();
    397408
     
    419430wp_plugin_directory_constants();
    420431
     432
     433
     434
     435
     436
    421437$GLOBALS['wp_plugin_paths'] = array();
    422438
Note: See TracChangeset for help on using the changeset viewer.