| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 1.1.1 Free | |
| 4 | + * @version 2.0.12 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <info@fireplugins.com> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | - * @copyright Copyright © 2022 FirePlugins All Rights Reserved | |
| 8 | + * @copyright Copyright © 2023 FirePlugins All Rights Reserved | |
| 9 | 9 | * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace FireBox\Core\Blocks\Generic; |
| @@ -55,12 +55,9 @@ | ||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | public function render_callback($atts, $content) |
| 58 | 58 | { |
| 59 | - if (has_block('firebox/image')) | |
| 60 | - { | |
| 61 | - wp_enqueue_style('fb-block-image'); | |
| 62 | - } | |
| 59 | + wp_enqueue_style('fb-block-image'); | |
| 63 | 60 | |
| 64 | 61 | return $content; |
| 65 | 62 | } |
| 66 | 63 | |