[wp-trac] [WordPress Trac] #60530: Console log showing Updated Block: core/heading

WordPress Trac noreply at wordpress.org
Thu Feb 29 11:23:22 UTC 2024


#60530: Console log showing Updated Block: core/heading
--------------------------+-----------------------
 Reporter:  254volkan     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  6.5
Component:  Privacy       |     Version:
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by swissspidy):

 * keywords:   => has-patch
 * resolution:  invalid =>
 * status:  closed => reopened
 * component:  Editor => Privacy
 * milestone:  Awaiting Review => 6.5


Comment:

 Actually, the Privacy Policy page is a new page, and it doesn't currently
 use the latest markup.

 So the page's content needs to be updated in
 `\WP_Privacy_Policy_Content::get_default_content()`.

 The logged message is:

 {{{
 New content generated by `save` function:

 <h2 class="wp-block-heading">Where your data is sent</h2>

 Content retrieved from post body:

 <h2>Where your data is sent</h2>
 }}}

 So we'll have to turn all the `<h2>` in that method to `<h2 class="wp-
 block-heading">`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60530#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list