Make WordPress Core

Ticket #60732: 60732.2.patch

File 60732.2.patch, 1.9 KB (added by shailu25, 7 months ago)

Patch Added

  • src/wp-admin/edit-form-advanced.php

    diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php
    index d3793802e1..ce68a4097b 100644
    a b if ( 'post' === $post_type ) { 
    359359
    360360if ( 'post' === $post_type || 'page' === $post_type ) {
    361361        $inserting_media  = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>';
    362         $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://developer.wordpress.org/advanced-administration/wordpress/oembed/">Learn more about embeds</a>.' ) . '</p>';
     362        $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/documentation/article/embeds/">Learn more about embeds</a>.' ) . '</p>';
    363363
    364364        get_current_screen()->add_help_tab(
    365365                array(
  • src/wp-includes/class-wp-oembed.php

    diff --git a/src/wp-includes/class-wp-oembed.php b/src/wp-includes/class-wp-oembed.php
    index c428723537..91f9cd68be 100644
    a b  
    44 *
    55 * Used internally by the WP_Embed class, but is designed to be generic.
    66 *
    7  * @link https://developer.wordpress.org/advanced-administration/wordpress/oembed/
     7 * @link https://wordpress.org/documentation/article/embeds/
    88 * @link http://oembed.com/
    99 *
    1010 * @package WordPress