butes to render on the block wrapper. * @return string String of HTML attributes. */ function get_block_wrapper_attributes( $extra_attributes = array() ) { $new_attributes = WP_Block_Supports::get_instance()->apply_block_supports(); if ( empty( $new_attributes ) && empty( $extra_attributes ) ) { return ''; } // This is hardcoded on purpose. // We only support a fixed list of attributes. $attributes_to_merge = array( 'style', 'class', 'id' ); $attributes = array(); foreach ( $attributes_to_merge as $attribute_name ) { if ( empty( $new_attributes[ $attribute_name ] ) && empty( $extra_attributes[ $attribute_name ] ) ) { continue; } if ( empty( $new_attributes[ $attribute_name ] ) ) { $attributes[ $attribute_name ] = $extra_attributes[ $attribute_name ]; continue; } if ( empty( $extra_attributes[ $attribute_name ] ) ) { $attributes[ $attribute_name ] = $new_attributes[ $attribute_name ]; continue; } $attributes[ $attribute_name ] = $extra_attributes[ $attribute_name ] . ' ' . $new_attributes[ $attribute_name ]; } foreach ( $extra_attributes as $attribute_name => $value ) { if ( ! in_array( $attribute_name, $attributes_to_merge, true ) ) { $attributes[ $attribute_name ] = $value; } } if ( empty( $attributes ) ) { return ''; } $normalized_attributes = array(); foreach ( $attributes as $key => $value ) { $normalized_attributes[] = $key . '="' . esc_attr( $value ) . '"'; } return implode( ' ', $normalized_attributes ); }
Fatal error: Uncaught Error: Class "WP_Block_Supports" not found in /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-includes/block-supports/align.php:59 Stack trace: #0 /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-settings.php(373): require() #1 /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-config.php(175): require_once('/data/6/b/6b4de...') #2 /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-load.php(50): require_once('/data/6/b/6b4de...') #3 /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-blog-header.php(13): require_once('/data/6/b/6b4de...') #4 /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/index.php(17): require('/data/6/b/6b4de...') #5 {main} thrown in /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-includes/block-supports/align.php on line 59

Fatal error: Uncaught Error: Call to a member function set() on null in /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-includes/l10n.php:856 Stack trace: #0 /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-includes/l10n.php(959): load_textdomain('default', '/data/6/b/6b4de...', 'cs_CZ') #1 /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /data/6/b/6b4de8a8-350f-4f2d-9185-ea8206495598/lucyjan.com/web/wp-includes/l10n.php on line 856