mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-17 13:33:32 +09:00
Update output prefix constant
This commit is contained in:
@@ -8,7 +8,7 @@ class DisplayFeaturedImageGenesisWidgetsBlocksOutput {
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $block = 'displayfeaturedimagegenesis-';
|
||||
private $block = 'displayfeaturedimagegenesis';
|
||||
|
||||
/**
|
||||
* Render the widget in a container div.
|
||||
@@ -105,7 +105,7 @@ class DisplayFeaturedImageGenesisWidgetsBlocksOutput {
|
||||
*/
|
||||
private function get_block_classes( $atts, $block_id ) {
|
||||
$classes = array(
|
||||
"wp-block-{$this->block}{$block_id}",
|
||||
"wp-block-{$this->block}-{$block_id}",
|
||||
);
|
||||
if ( ! empty( $atts['className'] ) ) {
|
||||
$classes[] = $atts['className'];
|
||||
|
||||
Reference in New Issue
Block a user