Make WordPress Core

Changeset 60111


Ignore:
Timestamp:
03/31/2025 12:44:55 PM (9 months ago)
Author:
audrasjb
Message:

Editor: Update the blocks on the sample page to the latest HTML.

This changeset updates the Quote Blocks HTML markup of the default sample page, to avoid unecessary migration (and the related console information) when loading its content in the editor.

Props wildworks, abcd95, audrasjb, ankitkumarshah.
Fixes #63176.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r59861 r60111  
    316316            $first_page .= "</p>\n<!-- /wp:paragraph -->\n\n";
    317317
    318             $first_page .= "<!-- wp:quote -->\n<blockquote class=\"wp-block-quote\"><p>";
     318            $first_page .= "<!-- wp:quote -->\n<blockquote class=\"wp-block-quote\">\n<!-- wp:paragraph -->\n<p>";
    319319            /* translators: First page content. */
    320320            $first_page .= __( "Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like pi&#241;a coladas. (And gettin' caught in the rain.)" );
    321             $first_page .= "</p></blockquote>\n<!-- /wp:quote -->\n\n";
     321            $first_page .= "</p>\n<!-- /wp:paragraph -->\n</blockquote>\n<!-- /wp:quote -->\n\n";
    322322
    323323            $first_page .= "<!-- wp:paragraph -->\n<p>";
     
    326326            $first_page .= "</p>\n<!-- /wp:paragraph -->\n\n";
    327327
    328             $first_page .= "<!-- wp:quote -->\n<blockquote class=\"wp-block-quote\"><p>";
     328            $first_page .= "<!-- wp:quote -->\n<blockquote class=\"wp-block-quote\">\n<!-- wp:paragraph -->\n<p>";
    329329            /* translators: First page content. */
    330330            $first_page .= __( 'The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.' );
    331             $first_page .= "</p></blockquote>\n<!-- /wp:quote -->\n\n";
     331            $first_page .= "</p>\n<!-- /wp:paragraph -->\n</blockquote>\n<!-- /wp:quote -->\n\n";
    332332
    333333            $first_page .= "<!-- wp:paragraph -->\n<p>";
Note: See TracChangeset for help on using the changeset viewer.