Make WordPress Core

Ticket #58332: 58332.patch

File 58332.patch, 29.7 KB (added by beardcat, 16 months ago)
  • src/wp-settings.php

    From ed2e03e514e27bb35446b39f97cac4f8fde95841 Mon Sep 17 00:00:00 2001
    From: Kevin Pfeifer <kevin.pfeifer@sunlime.at>
    Date: Tue, 16 May 2023 21:16:00 +0200
    Subject: [PATCH] Bootstrapping: replace require with require_once in
     wp-settings.php
    
    ---
     src/wp-settings.php | 434 ++++++++++++++++++++++----------------------
     1 file changed, 217 insertions(+), 217 deletions(-)
    
    diff --git a/src/wp-settings.php b/src/wp-settings.php
    index 3763dd825f..27bbefadb4 100644
    a b define( 'WPINC', 'wp-includes' ); 
    3030 * @global string $wp_local_package       Locale code of the package.
    3131 */
    3232global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version, $wp_local_package;
    33 require ABSPATH . WPINC . '/version.php';
    34 require ABSPATH . WPINC . '/load.php';
     33require_once ABSPATH . WPINC . '/version.php';
     34require_once ABSPATH . WPINC . '/load.php';
    3535
    3636// Check for the required PHP version and for the MySQL extension or a database drop-in.
    3737wp_check_php_mysql_versions();
    3838
    3939// Include files required for initialization.
    40 require ABSPATH . WPINC . '/class-wp-paused-extensions-storage.php';
    41 require ABSPATH . WPINC . '/class-wp-fatal-error-handler.php';
    42 require ABSPATH . WPINC . '/class-wp-recovery-mode-cookie-service.php';
    43 require ABSPATH . WPINC . '/class-wp-recovery-mode-key-service.php';
    44 require ABSPATH . WPINC . '/class-wp-recovery-mode-link-service.php';
    45 require ABSPATH . WPINC . '/class-wp-recovery-mode-email-service.php';
    46 require ABSPATH . WPINC . '/class-wp-recovery-mode.php';
    47 require ABSPATH . WPINC . '/error-protection.php';
    48 require ABSPATH . WPINC . '/default-constants.php';
     40require_once ABSPATH . WPINC . '/class-wp-paused-extensions-storage.php';
     41require_once ABSPATH . WPINC . '/class-wp-fatal-error-handler.php';
     42require_once ABSPATH . WPINC . '/class-wp-recovery-mode-cookie-service.php';
     43require_once ABSPATH . WPINC . '/class-wp-recovery-mode-key-service.php';
     44require_once ABSPATH . WPINC . '/class-wp-recovery-mode-link-service.php';
     45require_once ABSPATH . WPINC . '/class-wp-recovery-mode-email-service.php';
     46require_once ABSPATH . WPINC . '/class-wp-recovery-mode.php';
     47require_once ABSPATH . WPINC . '/error-protection.php';
     48require_once ABSPATH . WPINC . '/default-constants.php';
    4949require_once ABSPATH . WPINC . '/plugin.php';
    5050
    5151/**
    if ( WP_CACHE && apply_filters( 'enable_loading_advanced_cache_dropin', true ) & 
    104104wp_set_lang_dir();
    105105
    106106// Load early WordPress files.
    107 require ABSPATH . WPINC . '/compat.php';
    108 require ABSPATH . WPINC . '/class-wp-list-util.php';
    109 require ABSPATH . WPINC . '/formatting.php';
    110 require ABSPATH . WPINC . '/meta.php';
    111 require ABSPATH . WPINC . '/functions.php';
    112 require ABSPATH . WPINC . '/class-wp-meta-query.php';
    113 require ABSPATH . WPINC . '/class-wp-matchesmapregex.php';
    114 require ABSPATH . WPINC . '/class-wp.php';
    115 require ABSPATH . WPINC . '/class-wp-error.php';
    116 require ABSPATH . WPINC . '/pomo/mo.php';
     107require_once ABSPATH . WPINC . '/compat.php';
     108require_once ABSPATH . WPINC . '/class-wp-list-util.php';
     109require_once ABSPATH . WPINC . '/formatting.php';
     110require_once ABSPATH . WPINC . '/meta.php';
     111require_once ABSPATH . WPINC . '/functions.php';
     112require_once ABSPATH . WPINC . '/class-wp-meta-query.php';
     113require_once ABSPATH . WPINC . '/class-wp-matchesmapregex.php';
     114require_once ABSPATH . WPINC . '/class-wp.php';
     115require_once ABSPATH . WPINC . '/class-wp-error.php';
     116require_once ABSPATH . WPINC . '/pomo/mo.php';
    117117
    118118/**
    119119 * @global wpdb $wpdb WordPress database abstraction object.
    wp_set_wpdb_vars(); 
    131131wp_start_object_cache();
    132132
    133133// Attach the default filters.
    134 require ABSPATH . WPINC . '/default-filters.php';
     134require_once ABSPATH . WPINC . '/default-filters.php';
    135135
    136136// Initialize multisite if enabled.
    137137if ( is_multisite() ) {
    138         require ABSPATH . WPINC . '/class-wp-site-query.php';
    139         require ABSPATH . WPINC . '/class-wp-network-query.php';
    140         require ABSPATH . WPINC . '/ms-blogs.php';
    141         require ABSPATH . WPINC . '/ms-settings.php';
     138        require_once ABSPATH . WPINC . '/class-wp-site-query.php';
     139        require_once ABSPATH . WPINC . '/class-wp-network-query.php';
     140        require_once ABSPATH . WPINC . '/ms-blogs.php';
     141        require_once ABSPATH . WPINC . '/ms-settings.php';
    142142} elseif ( ! defined( 'MULTISITE' ) ) {
    143143        define( 'MULTISITE', false );
    144144}
    require_once ABSPATH . WPINC . '/class-wp-locale-switcher.php'; 
    160160wp_not_installed();
    161161
    162162// Load most of WordPress.
    163 require ABSPATH . WPINC . '/class-wp-walker.php';
    164 require ABSPATH . WPINC . '/class-wp-ajax-response.php';
    165 require ABSPATH . WPINC . '/capabilities.php';
    166 require ABSPATH . WPINC . '/class-wp-roles.php';
    167 require ABSPATH . WPINC . '/class-wp-role.php';
    168 require ABSPATH . WPINC . '/class-wp-user.php';
    169 require ABSPATH . WPINC . '/class-wp-query.php';
    170 require ABSPATH . WPINC . '/query.php';
    171 require ABSPATH . WPINC . '/class-wp-date-query.php';
    172 require ABSPATH . WPINC . '/theme.php';
    173 require ABSPATH . WPINC . '/class-wp-theme.php';
    174 require ABSPATH . WPINC . '/class-wp-theme-json-schema.php';
    175 require ABSPATH . WPINC . '/class-wp-theme-json-data.php';
    176 require ABSPATH . WPINC . '/class-wp-theme-json.php';
    177 require ABSPATH . WPINC . '/class-wp-theme-json-resolver.php';
    178 require ABSPATH . WPINC . '/global-styles-and-settings.php';
    179 require ABSPATH . WPINC . '/class-wp-block-template.php';
    180 require ABSPATH . WPINC . '/block-template-utils.php';
    181 require ABSPATH . WPINC . '/block-template.php';
    182 require ABSPATH . WPINC . '/theme-templates.php';
    183 require ABSPATH . WPINC . '/template.php';
    184 require ABSPATH . WPINC . '/https-detection.php';
    185 require ABSPATH . WPINC . '/https-migration.php';
    186 require ABSPATH . WPINC . '/class-wp-user-request.php';
    187 require ABSPATH . WPINC . '/user.php';
    188 require ABSPATH . WPINC . '/class-wp-user-query.php';
    189 require ABSPATH . WPINC . '/class-wp-session-tokens.php';
    190 require ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php';
    191 require ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php';
    192 require ABSPATH . WPINC . '/general-template.php';
    193 require ABSPATH . WPINC . '/link-template.php';
    194 require ABSPATH . WPINC . '/author-template.php';
    195 require ABSPATH . WPINC . '/robots-template.php';
    196 require ABSPATH . WPINC . '/post.php';
    197 require ABSPATH . WPINC . '/class-walker-page.php';
    198 require ABSPATH . WPINC . '/class-walker-page-dropdown.php';
    199 require ABSPATH . WPINC . '/class-wp-post-type.php';
    200 require ABSPATH . WPINC . '/class-wp-post.php';
    201 require ABSPATH . WPINC . '/post-template.php';
    202 require ABSPATH . WPINC . '/revision.php';
    203 require ABSPATH . WPINC . '/post-formats.php';
    204 require ABSPATH . WPINC . '/post-thumbnail-template.php';
    205 require ABSPATH . WPINC . '/category.php';
    206 require ABSPATH . WPINC . '/class-walker-category.php';
    207 require ABSPATH . WPINC . '/class-walker-category-dropdown.php';
    208 require ABSPATH . WPINC . '/category-template.php';
    209 require ABSPATH . WPINC . '/comment.php';
    210 require ABSPATH . WPINC . '/class-wp-comment.php';
    211 require ABSPATH . WPINC . '/class-wp-comment-query.php';
    212 require ABSPATH . WPINC . '/class-walker-comment.php';
    213 require ABSPATH . WPINC . '/comment-template.php';
    214 require ABSPATH . WPINC . '/rewrite.php';
    215 require ABSPATH . WPINC . '/class-wp-rewrite.php';
    216 require ABSPATH . WPINC . '/feed.php';
    217 require ABSPATH . WPINC . '/bookmark.php';
    218 require ABSPATH . WPINC . '/bookmark-template.php';
    219 require ABSPATH . WPINC . '/kses.php';
    220 require ABSPATH . WPINC . '/cron.php';
    221 require ABSPATH . WPINC . '/deprecated.php';
    222 require ABSPATH . WPINC . '/script-loader.php';
    223 require ABSPATH . WPINC . '/taxonomy.php';
    224 require ABSPATH . WPINC . '/class-wp-taxonomy.php';
    225 require ABSPATH . WPINC . '/class-wp-term.php';
    226 require ABSPATH . WPINC . '/class-wp-term-query.php';
    227 require ABSPATH . WPINC . '/class-wp-tax-query.php';
    228 require ABSPATH . WPINC . '/update.php';
    229 require ABSPATH . WPINC . '/canonical.php';
    230 require ABSPATH . WPINC . '/shortcodes.php';
    231 require ABSPATH . WPINC . '/embed.php';
    232 require ABSPATH . WPINC . '/class-wp-embed.php';
    233 require ABSPATH . WPINC . '/class-wp-oembed.php';
    234 require ABSPATH . WPINC . '/class-wp-oembed-controller.php';
    235 require ABSPATH . WPINC . '/media.php';
    236 require ABSPATH . WPINC . '/http.php';
    237 require ABSPATH . WPINC . '/html-api/class-wp-html-attribute-token.php';
    238 require ABSPATH . WPINC . '/html-api/class-wp-html-span.php';
    239 require ABSPATH . WPINC . '/html-api/class-wp-html-text-replacement.php';
    240 require ABSPATH . WPINC . '/html-api/class-wp-html-tag-processor.php';
    241 require ABSPATH . WPINC . '/class-wp-http.php';
    242 require ABSPATH . WPINC . '/class-wp-http-streams.php';
    243 require ABSPATH . WPINC . '/class-wp-http-curl.php';
    244 require ABSPATH . WPINC . '/class-wp-http-proxy.php';
    245 require ABSPATH . WPINC . '/class-wp-http-cookie.php';
    246 require ABSPATH . WPINC . '/class-wp-http-encoding.php';
    247 require ABSPATH . WPINC . '/class-wp-http-response.php';
    248 require ABSPATH . WPINC . '/class-wp-http-requests-response.php';
    249 require ABSPATH . WPINC . '/class-wp-http-requests-hooks.php';
    250 require ABSPATH . WPINC . '/widgets.php';
    251 require ABSPATH . WPINC . '/class-wp-widget.php';
    252 require ABSPATH . WPINC . '/class-wp-widget-factory.php';
    253 require ABSPATH . WPINC . '/nav-menu-template.php';
    254 require ABSPATH . WPINC . '/nav-menu.php';
    255 require ABSPATH . WPINC . '/admin-bar.php';
    256 require ABSPATH . WPINC . '/class-wp-application-passwords.php';
    257 require ABSPATH . WPINC . '/rest-api.php';
    258 require ABSPATH . WPINC . '/rest-api/class-wp-rest-server.php';
    259 require ABSPATH . WPINC . '/rest-api/class-wp-rest-response.php';
    260 require ABSPATH . WPINC . '/rest-api/class-wp-rest-request.php';
    261 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-controller.php';
    262 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-posts-controller.php';
    263 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-attachments-controller.php';
    264 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-global-styles-controller.php';
    265 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-post-types-controller.php';
    266 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-post-statuses-controller.php';
    267 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-revisions-controller.php';
    268 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-autosaves-controller.php';
    269 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-taxonomies-controller.php';
    270 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-terms-controller.php';
    271 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-menu-items-controller.php';
    272 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-menus-controller.php';
    273 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-menu-locations-controller.php';
    274 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-users-controller.php';
    275 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-comments-controller.php';
    276 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-search-controller.php';
    277 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-blocks-controller.php';
    278 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-types-controller.php';
    279 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-renderer-controller.php';
    280 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-settings-controller.php';
    281 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-themes-controller.php';
    282 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-plugins-controller.php';
    283 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-directory-controller.php';
    284 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php';
    285 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php';
    286 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-patterns-controller.php';
    287 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php';
    288 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-application-passwords-controller.php';
    289 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-site-health-controller.php';
    290 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-sidebars-controller.php';
    291 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-widget-types-controller.php';
    292 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-widgets-controller.php';
    293 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-templates-controller.php';
    294 require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-url-details-controller.php';
    295 require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-meta-fields.php';
    296 require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-comment-meta-fields.php';
    297 require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-post-meta-fields.php';
    298 require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-term-meta-fields.php';
    299 require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-user-meta-fields.php';
    300 require ABSPATH . WPINC . '/rest-api/search/class-wp-rest-search-handler.php';
    301 require ABSPATH . WPINC . '/rest-api/search/class-wp-rest-post-search-handler.php';
    302 require ABSPATH . WPINC . '/rest-api/search/class-wp-rest-term-search-handler.php';
    303 require ABSPATH . WPINC . '/rest-api/search/class-wp-rest-post-format-search-handler.php';
    304 require ABSPATH . WPINC . '/sitemaps.php';
    305 require ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps.php';
    306 require ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-index.php';
    307 require ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-provider.php';
    308 require ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-registry.php';
    309 require ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-renderer.php';
    310 require ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-stylesheet.php';
    311 require ABSPATH . WPINC . '/sitemaps/providers/class-wp-sitemaps-posts.php';
    312 require ABSPATH . WPINC . '/sitemaps/providers/class-wp-sitemaps-taxonomies.php';
    313 require ABSPATH . WPINC . '/sitemaps/providers/class-wp-sitemaps-users.php';
    314 require ABSPATH . WPINC . '/class-wp-block-editor-context.php';
    315 require ABSPATH . WPINC . '/class-wp-block-type.php';
    316 require ABSPATH . WPINC . '/class-wp-block-pattern-categories-registry.php';
    317 require ABSPATH . WPINC . '/class-wp-block-patterns-registry.php';
    318 require ABSPATH . WPINC . '/class-wp-block-styles-registry.php';
    319 require ABSPATH . WPINC . '/class-wp-block-type-registry.php';
    320 require ABSPATH . WPINC . '/class-wp-block.php';
    321 require ABSPATH . WPINC . '/class-wp-block-list.php';
    322 require ABSPATH . WPINC . '/class-wp-block-parser.php';
    323 require ABSPATH . WPINC . '/blocks.php';
    324 require ABSPATH . WPINC . '/blocks/index.php';
    325 require ABSPATH . WPINC . '/block-editor.php';
    326 require ABSPATH . WPINC . '/block-patterns.php';
    327 require ABSPATH . WPINC . '/class-wp-block-supports.php';
    328 require ABSPATH . WPINC . '/block-supports/utils.php';
    329 require ABSPATH . WPINC . '/block-supports/align.php';
    330 require ABSPATH . WPINC . '/block-supports/border.php';
    331 require ABSPATH . WPINC . '/block-supports/colors.php';
    332 require ABSPATH . WPINC . '/block-supports/custom-classname.php';
    333 require ABSPATH . WPINC . '/block-supports/dimensions.php';
    334 require ABSPATH . WPINC . '/block-supports/duotone.php';
    335 require ABSPATH . WPINC . '/block-supports/elements.php';
    336 require ABSPATH . WPINC . '/block-supports/generated-classname.php';
    337 require ABSPATH . WPINC . '/block-supports/layout.php';
    338 require ABSPATH . WPINC . '/block-supports/position.php';
    339 require ABSPATH . WPINC . '/block-supports/spacing.php';
    340 require ABSPATH . WPINC . '/block-supports/typography.php';
    341 require ABSPATH . WPINC . '/block-supports/settings.php';
    342 require ABSPATH . WPINC . '/style-engine.php';
    343 require ABSPATH . WPINC . '/style-engine/class-wp-style-engine.php';
    344 require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-declarations.php';
    345 require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-rule.php';
    346 require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-rules-store.php';
    347 require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-processor.php';
     163require_once ABSPATH . WPINC . '/class-wp-walker.php';
     164require_once ABSPATH . WPINC . '/class-wp-ajax-response.php';
     165require_once ABSPATH . WPINC . '/capabilities.php';
     166require_once ABSPATH . WPINC . '/class-wp-roles.php';
     167require_once ABSPATH . WPINC . '/class-wp-role.php';
     168require_once ABSPATH . WPINC . '/class-wp-user.php';
     169require_once ABSPATH . WPINC . '/class-wp-query.php';
     170require_once ABSPATH . WPINC . '/query.php';
     171require_once ABSPATH . WPINC . '/class-wp-date-query.php';
     172require_once ABSPATH . WPINC . '/theme.php';
     173require_once ABSPATH . WPINC . '/class-wp-theme.php';
     174require_once ABSPATH . WPINC . '/class-wp-theme-json-schema.php';
     175require_once ABSPATH . WPINC . '/class-wp-theme-json-data.php';
     176require_once ABSPATH . WPINC . '/class-wp-theme-json.php';
     177require_once ABSPATH . WPINC . '/class-wp-theme-json-resolver.php';
     178require_once ABSPATH . WPINC . '/global-styles-and-settings.php';
     179require_once ABSPATH . WPINC . '/class-wp-block-template.php';
     180require_once ABSPATH . WPINC . '/block-template-utils.php';
     181require_once ABSPATH . WPINC . '/block-template.php';
     182require_once ABSPATH . WPINC . '/theme-templates.php';
     183require_once ABSPATH . WPINC . '/template.php';
     184require_once ABSPATH . WPINC . '/https-detection.php';
     185require_once ABSPATH . WPINC . '/https-migration.php';
     186require_once ABSPATH . WPINC . '/class-wp-user-request.php';
     187require_once ABSPATH . WPINC . '/user.php';
     188require_once ABSPATH . WPINC . '/class-wp-user-query.php';
     189require_once ABSPATH . WPINC . '/class-wp-session-tokens.php';
     190require_once ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php';
     191require_once ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php';
     192require_once ABSPATH . WPINC . '/general-template.php';
     193require_once ABSPATH . WPINC . '/link-template.php';
     194require_once ABSPATH . WPINC . '/author-template.php';
     195require_once ABSPATH . WPINC . '/robots-template.php';
     196require_once ABSPATH . WPINC . '/post.php';
     197require_once ABSPATH . WPINC . '/class-walker-page.php';
     198require_once ABSPATH . WPINC . '/class-walker-page-dropdown.php';
     199require_once ABSPATH . WPINC . '/class-wp-post-type.php';
     200require_once ABSPATH . WPINC . '/class-wp-post.php';
     201require_once ABSPATH . WPINC . '/post-template.php';
     202require_once ABSPATH . WPINC . '/revision.php';
     203require_once ABSPATH . WPINC . '/post-formats.php';
     204require_once ABSPATH . WPINC . '/post-thumbnail-template.php';
     205require_once ABSPATH . WPINC . '/category.php';
     206require_once ABSPATH . WPINC . '/class-walker-category.php';
     207require_once ABSPATH . WPINC . '/class-walker-category-dropdown.php';
     208require_once ABSPATH . WPINC . '/category-template.php';
     209require_once ABSPATH . WPINC . '/comment.php';
     210require_once ABSPATH . WPINC . '/class-wp-comment.php';
     211require_once ABSPATH . WPINC . '/class-wp-comment-query.php';
     212require_once ABSPATH . WPINC . '/class-walker-comment.php';
     213require_once ABSPATH . WPINC . '/comment-template.php';
     214require_once ABSPATH . WPINC . '/rewrite.php';
     215require_once ABSPATH . WPINC . '/class-wp-rewrite.php';
     216require_once ABSPATH . WPINC . '/feed.php';
     217require_once ABSPATH . WPINC . '/bookmark.php';
     218require_once ABSPATH . WPINC . '/bookmark-template.php';
     219require_once ABSPATH . WPINC . '/kses.php';
     220require_once ABSPATH . WPINC . '/cron.php';
     221require_once ABSPATH . WPINC . '/deprecated.php';
     222require_once ABSPATH . WPINC . '/script-loader.php';
     223require_once ABSPATH . WPINC . '/taxonomy.php';
     224require_once ABSPATH . WPINC . '/class-wp-taxonomy.php';
     225require_once ABSPATH . WPINC . '/class-wp-term.php';
     226require_once ABSPATH . WPINC . '/class-wp-term-query.php';
     227require_once ABSPATH . WPINC . '/class-wp-tax-query.php';
     228require_once ABSPATH . WPINC . '/update.php';
     229require_once ABSPATH . WPINC . '/canonical.php';
     230require_once ABSPATH . WPINC . '/shortcodes.php';
     231require_once ABSPATH . WPINC . '/embed.php';
     232require_once ABSPATH . WPINC . '/class-wp-embed.php';
     233require_once ABSPATH . WPINC . '/class-wp-oembed.php';
     234require_once ABSPATH . WPINC . '/class-wp-oembed-controller.php';
     235require_once ABSPATH . WPINC . '/media.php';
     236require_once ABSPATH . WPINC . '/http.php';
     237require_once ABSPATH . WPINC . '/html-api/class-wp-html-attribute-token.php';
     238require_once ABSPATH . WPINC . '/html-api/class-wp-html-span.php';
     239require_once ABSPATH . WPINC . '/html-api/class-wp-html-text-replacement.php';
     240require_once ABSPATH . WPINC . '/html-api/class-wp-html-tag-processor.php';
     241require_once ABSPATH . WPINC . '/class-wp-http.php';
     242require_once ABSPATH . WPINC . '/class-wp-http-streams.php';
     243require_once ABSPATH . WPINC . '/class-wp-http-curl.php';
     244require_once ABSPATH . WPINC . '/class-wp-http-proxy.php';
     245require_once ABSPATH . WPINC . '/class-wp-http-cookie.php';
     246require_once ABSPATH . WPINC . '/class-wp-http-encoding.php';
     247require_once ABSPATH . WPINC . '/class-wp-http-response.php';
     248require_once ABSPATH . WPINC . '/class-wp-http-requests-response.php';
     249require_once ABSPATH . WPINC . '/class-wp-http-requests-hooks.php';
     250require_once ABSPATH . WPINC . '/widgets.php';
     251require_once ABSPATH . WPINC . '/class-wp-widget.php';
     252require_once ABSPATH . WPINC . '/class-wp-widget-factory.php';
     253require_once ABSPATH . WPINC . '/nav-menu-template.php';
     254require_once ABSPATH . WPINC . '/nav-menu.php';
     255require_once ABSPATH . WPINC . '/admin-bar.php';
     256require_once ABSPATH . WPINC . '/class-wp-application-passwords.php';
     257require_once ABSPATH . WPINC . '/rest-api.php';
     258require_once ABSPATH . WPINC . '/rest-api/class-wp-rest-server.php';
     259require_once ABSPATH . WPINC . '/rest-api/class-wp-rest-response.php';
     260require_once ABSPATH . WPINC . '/rest-api/class-wp-rest-request.php';
     261require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-controller.php';
     262require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-posts-controller.php';
     263require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-attachments-controller.php';
     264require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-global-styles-controller.php';
     265require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-post-types-controller.php';
     266require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-post-statuses-controller.php';
     267require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-revisions-controller.php';
     268require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-autosaves-controller.php';
     269require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-taxonomies-controller.php';
     270require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-terms-controller.php';
     271require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-menu-items-controller.php';
     272require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-menus-controller.php';
     273require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-menu-locations-controller.php';
     274require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-users-controller.php';
     275require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-comments-controller.php';
     276require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-search-controller.php';
     277require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-blocks-controller.php';
     278require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-types-controller.php';
     279require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-renderer-controller.php';
     280require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-settings-controller.php';
     281require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-themes-controller.php';
     282require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-plugins-controller.php';
     283require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-directory-controller.php';
     284require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php';
     285require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php';
     286require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-patterns-controller.php';
     287require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php';
     288require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-application-passwords-controller.php';
     289require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-site-health-controller.php';
     290require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-sidebars-controller.php';
     291require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-widget-types-controller.php';
     292require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-widgets-controller.php';
     293require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-templates-controller.php';
     294require_once ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-url-details-controller.php';
     295require_once ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-meta-fields.php';
     296require_once ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-comment-meta-fields.php';
     297require_once ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-post-meta-fields.php';
     298require_once ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-term-meta-fields.php';
     299require_once ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-user-meta-fields.php';
     300require_once ABSPATH . WPINC . '/rest-api/search/class-wp-rest-search-handler.php';
     301require_once ABSPATH . WPINC . '/rest-api/search/class-wp-rest-post-search-handler.php';
     302require_once ABSPATH . WPINC . '/rest-api/search/class-wp-rest-term-search-handler.php';
     303require_once ABSPATH . WPINC . '/rest-api/search/class-wp-rest-post-format-search-handler.php';
     304require_once ABSPATH . WPINC . '/sitemaps.php';
     305require_once ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps.php';
     306require_once ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-index.php';
     307require_once ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-provider.php';
     308require_once ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-registry.php';
     309require_once ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-renderer.php';
     310require_once ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps-stylesheet.php';
     311require_once ABSPATH . WPINC . '/sitemaps/providers/class-wp-sitemaps-posts.php';
     312require_once ABSPATH . WPINC . '/sitemaps/providers/class-wp-sitemaps-taxonomies.php';
     313require_once ABSPATH . WPINC . '/sitemaps/providers/class-wp-sitemaps-users.php';
     314require_once ABSPATH . WPINC . '/class-wp-block-editor-context.php';
     315require_once ABSPATH . WPINC . '/class-wp-block-type.php';
     316require_once ABSPATH . WPINC . '/class-wp-block-pattern-categories-registry.php';
     317require_once ABSPATH . WPINC . '/class-wp-block-patterns-registry.php';
     318require_once ABSPATH . WPINC . '/class-wp-block-styles-registry.php';
     319require_once ABSPATH . WPINC . '/class-wp-block-type-registry.php';
     320require_once ABSPATH . WPINC . '/class-wp-block.php';
     321require_once ABSPATH . WPINC . '/class-wp-block-list.php';
     322require_once ABSPATH . WPINC . '/class-wp-block-parser.php';
     323require_once ABSPATH . WPINC . '/blocks.php';
     324require_once ABSPATH . WPINC . '/blocks/index.php';
     325require_once ABSPATH . WPINC . '/block-editor.php';
     326require_once ABSPATH . WPINC . '/block-patterns.php';
     327require_once ABSPATH . WPINC . '/class-wp-block-supports.php';
     328require_once ABSPATH . WPINC . '/block-supports/utils.php';
     329require_once ABSPATH . WPINC . '/block-supports/align.php';
     330require_once ABSPATH . WPINC . '/block-supports/border.php';
     331require_once ABSPATH . WPINC . '/block-supports/colors.php';
     332require_once ABSPATH . WPINC . '/block-supports/custom-classname.php';
     333require_once ABSPATH . WPINC . '/block-supports/dimensions.php';
     334require_once ABSPATH . WPINC . '/block-supports/duotone.php';
     335require_once ABSPATH . WPINC . '/block-supports/elements.php';
     336require_once ABSPATH . WPINC . '/block-supports/generated-classname.php';
     337require_once ABSPATH . WPINC . '/block-supports/layout.php';
     338require_once ABSPATH . WPINC . '/block-supports/position.php';
     339require_once ABSPATH . WPINC . '/block-supports/spacing.php';
     340require_once ABSPATH . WPINC . '/block-supports/typography.php';
     341require_once ABSPATH . WPINC . '/block-supports/settings.php';
     342require_once ABSPATH . WPINC . '/style-engine.php';
     343require_once ABSPATH . WPINC . '/style-engine/class-wp-style-engine.php';
     344require_once ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-declarations.php';
     345require_once ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-rule.php';
     346require_once ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-rules-store.php';
     347require_once ABSPATH . WPINC . '/style-engine/class-wp-style-engine-processor.php';
    348348
    349349$GLOBALS['wp_embed'] = new WP_Embed();
    350350
    $GLOBALS['wp_textdomain_registry'] = new WP_Textdomain_Registry(); 
    361361
    362362// Load multisite-specific files.
    363363if ( is_multisite() ) {
    364         require ABSPATH . WPINC . '/ms-functions.php';
    365         require ABSPATH . WPINC . '/ms-default-filters.php';
    366         require ABSPATH . WPINC . '/ms-deprecated.php';
     364        require_once ABSPATH . WPINC . '/ms-functions.php';
     365        require_once ABSPATH . WPINC . '/ms-default-filters.php';
     366        require_once ABSPATH . WPINC . '/ms-deprecated.php';
    367367}
    368368
    369369// Define constants that rely on the API to obtain the default value.
    wp_cookie_constants(); 
    428428wp_ssl_constants();
    429429
    430430// Create common globals.
    431 require ABSPATH . WPINC . '/vars.php';
     431require_once ABSPATH . WPINC . '/vars.php';
    432432
    433433// Make taxonomies and posts available to plugins and themes.
    434434// @plugin authors: warning: these get registered again on the init hook.
    foreach ( wp_get_active_and_valid_plugins() as $plugin ) { 
    465465unset( $plugin, $_wp_plugin_file );
    466466
    467467// Load pluggable functions.
    468 require ABSPATH . WPINC . '/pluggable.php';
    469 require ABSPATH . WPINC . '/pluggable-deprecated.php';
     468require_once ABSPATH . WPINC . '/pluggable.php';
     469require_once ABSPATH . WPINC . '/pluggable-deprecated.php';
    470470
    471471// Set internal encoding.
    472472wp_set_internal_encoding();