[wp-trac] [WordPress Trac] #58651: Uncaught Error in 6.3-alpha-56081: Call to undefined function gutenberg_apply_colors_support()

WordPress Trac noreply at wordpress.org
Wed Jun 28 20:41:49 UTC 2023


#58651: Uncaught Error in 6.3-alpha-56081: Call to undefined function
gutenberg_apply_colors_support()
-----------------------------+-----------------------
 Reporter:  nendeb55         |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  highest omg bbq  |   Milestone:  6.3
Component:  Editor           |     Version:  trunk
 Severity:  critical         |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------
Changes (by sabernhardt):

 * status:  closed => reopened
 * resolution:  reported-upstream =>


Comment:

 Reopening for any temporary fix or Gutenberg sync.

 I was able to do a quick temporary fix with:
 {{{
 $colors_supports = function_exists( 'gutenberg_apply_colors_support' ) ?
 gutenberg_apply_colors_support( $block->block_type, $attributes ) :
 wp_apply_colors_support( $block->block_type, $attributes );
 }}}

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


More information about the wp-trac mailing list