Make WordPress Core

Ticket #57082: 57082.patch

File 57082.patch, 1.6 KB (added by krunal265, 2 years ago)

Patch added

  • src/wp-admin/includes/post.php

    diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
    index 8db8861c42..2a2452299b 100644
    a b function get_block_editor_server_block_settings() { 
    22092209/**
    22102210 * Renders the meta boxes forms.
    22112211 *
     2212 * @global WP_Post $post The post to edit.
     2213 * @global WP_Screen $current_screen     WordPress current screen object.
     2214 * @global array $wp_meta_boxes
    22122215 * @since 5.0.0
    22132216 */
    22142217function the_block_editor_meta_boxes() {
  • src/wp-includes/block-template-utils.php

    diff --git a/src/wp-includes/block-template-utils.php b/src/wp-includes/block-template-utils.php
    index 8ecb9dfe55..2f0e4f1cc6 100644
    a b function wp_is_theme_directory_ignored( $path ) { 
    11991199 *
    12001200 * @since 5.9.0
    12011201 * @since 6.0.0 Adds the whole theme to the export archive.
     1202 *
     1203 * @global string $wp_version  The WordPress version string.
    12021204 *
    12031205 * @return WP_Error|string Path of the ZIP file or error on failure.
    12041206 */
  • src/wp-includes/class-wp-oembed-controller.php

    diff --git a/src/wp-includes/class-wp-oembed-controller.php b/src/wp-includes/class-wp-oembed-controller.php
    index 22fceb54a9..ed26cd822d 100644
    a b final class WP_oEmbed_Controller { 
    161161         *
    162162         * @see WP_oEmbed::get_html()
    163163         * @global WP_Embed $wp_embed
     164         * @global WP_Scripts $wp_scripts
    164165         *
    165166         * @param WP_REST_Request $request Full data about the request.
    166167         * @return object|WP_Error oEmbed response data or WP_Error on failure.