From b4e368ab8307d57e03eec1d55389f4a9c65f7eae Mon Sep 17 00:00:00 2001 From: ASpiteri-BCGov <49036255+ASpiteri-BCGov@users.noreply.github.com> Date: Wed, 20 Nov 2024 13:21:26 -0800 Subject: [PATCH] PR suggestions --- blocks/core/style-overrides/heading.php | 4 ++-- blocks/core/style-overrides/navigation.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blocks/core/style-overrides/heading.php b/blocks/core/style-overrides/heading.php index f00417f6..43192dd2 100644 --- a/blocks/core/style-overrides/heading.php +++ b/blocks/core/style-overrides/heading.php @@ -4,7 +4,7 @@ * * @since 1.3.0 */ -function register_heading_block_styles() { +function design_system_register_heading_block_styles() { $block_name = 'core/heading'; $style_properties = array( 'name' => 'wp-block-heading-callout', @@ -15,4 +15,4 @@ function register_heading_block_styles() { register_block_style( $block_name, $style_properties ); } -add_action( 'init', 'register_heading_block_styles' ); +add_action( 'init', 'design_system_register_heading_block_styles' ); diff --git a/blocks/core/style-overrides/navigation.php b/blocks/core/style-overrides/navigation.php index df512490..dcb367de 100644 --- a/blocks/core/style-overrides/navigation.php +++ b/blocks/core/style-overrides/navigation.php @@ -4,7 +4,7 @@ * * @since 1.3.0 */ -function register_navigation_block_styles() { +function design_system_register_navigation_block_styles() { $block_name = 'core/navigation'; $style_properties = array( 'name' => 'wp-block-navigation-separator', @@ -15,4 +15,4 @@ function register_navigation_block_styles() { ); register_block_style( $block_name, $style_properties ); } -add_action( 'init', 'register_navigation_block_styles' ); +add_action( 'init', 'design_system_register_navigation_block_styles' );