Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion includes/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,17 @@ public function enqueues($hook)
));
}

/**
* This handle must stay plugin-specific. `dist/modules.css` is built from
* this plugin's own `controls` submodule pin, so it differs between the
* Essential Blocks single-block plugins. Registering it under a shared
* name (it used to be `essential-blocks-editor-css`) meant that whichever
* plugin loaded first won the handle outright — WP_Dependencies::add()
* returns false for an already-registered handle — and every later
* plugin's stylesheet and its dependencies were silently dropped.
*/
wp_enqueue_style(
'essential-blocks-editor-css',
'buttongroup-block-editor-css',
BUTTONGROUP_BLOCK_ADMIN_URL . 'dist/modules.css',
array(),
$controls_version,
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
=== Button Group ===
Contributors: wpdevteam, re_enter_rupok, Asif2BD, rahat89, jamilbd07, fencermonir, RahatSheikhLeon
Contributors: wpdevteam, re_enter_rupok, Asif2BD, rahat89, RahatSheikhLeon
Tags: block, blocks, button, Button Group, grouped button, Button Group, buttons, gutenberg, gutenberg blocks
Requires at least: 6.0
Tested up to: 7.0
Expand Down