[wp-trac] [WordPress Trac] #59694: Regression: Fix duotone support to be compatible with enhanced pagination

WordPress Trac noreply at wordpress.org
Mon Oct 23 23:38:11 UTC 2023


#59694: Regression: Fix duotone support to be compatible with enhanced pagination
-------------------------------------------------+-------------------------
 Reporter:  cbravobernal                         |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests gutenberg-  |     Focuses:
  merge commit                                   |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56991" 56991]:
 {{{
 #!CommitTicketReference repository="" revision="56991"
 Editor: Fix render_duotone_support() to be compatible with enhanced
 pagination.

 Some blocks do not have content. For duotone support, blocks without
 content still need to run through the `render_duotone_support()` to render
 their duotone CSS.

 This fix makes the duotone compatible with the enhanced pagination
 (introduced in 6.4.0) by making sure that the CSS is always on the page,
 even when the posts have no featured image. It also prevents the duotone
 from interfering with other blocks using `wp_unique_id()`.


 References:
 * [https://github.com/WordPress/gutenberg/pull/55415 Gutenberg PR 55415]

 Follow-up to [56226].

 Props cbravobernal, luisherranz, hellofromTonya, isabel_brison, jorbin.
 Fixes #59694.
 }}}

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


More information about the wp-trac mailing list