Make WordPress Core

Ticket #60021: 60021.9.patch

File 60021.9.patch, 1.1 KB (added by viralsampat, 2 years ago)

I have checked above mentioned issue and founds few files. Here, I have added its patch.

  • src/wp-settings.php

    diff --git src/wp-settings.php src/wp-settings.php
    index 38b03ecf72..ad2179c1bf 100644
    require ABSPATH . WPINC . '/fonts/class-wp-font-face-resolver.php'; 
    366366require ABSPATH . WPINC . '/fonts/class-wp-font-face.php';
    367367require ABSPATH . WPINC . '/fonts.php';
    368368
     369/**
     370 * @global WP_Embed $wp_embed
     371 */
    369372$GLOBALS['wp_embed'] = new WP_Embed();
    370373
    371374/**
    if ( is_multisite() ) { 
    390393// Define must-use plugin directory constants, which may be overridden in the sunrise.php drop-in.
    391394wp_plugin_directory_constants();
    392395
     396/**
     397 * @global array $wp_plugin_paths
     398 */
    393399$GLOBALS['wp_plugin_paths'] = array();
    394400
    395401// Load must-use plugins.
  • src/xmlrpc.php

    diff --git src/xmlrpc.php src/xmlrpc.php
    index b37abde3c2..e0ba531dec 100644
    exit; 
    9696 *
    9797 * @param string $io Whether input or output
    9898 * @param string $msg Information describing logging reason.
     99 * @global xmlrpc_logging
    99100 */
    100101function logIO( $io, $msg ) {
    101102        _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );