We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1edfdb commit 61f5f36Copy full SHA for 61f5f36
includes/amp-post-template-functions.php
@@ -62,7 +62,9 @@ function amp_post_template_add_fonts( $amp_template ) {
62
*/
63
function amp_post_template_add_block_styles() {
64
add_theme_support( 'wp-block-styles' );
65
- wp_common_block_scripts_and_styles();
+ if ( function_exists( 'wp_common_block_scripts_and_styles' ) ) {
66
+ wp_common_block_scripts_and_styles();
67
+ }
68
wp_styles()->do_items();
69
}
70
0 commit comments