Hi there!
I’m testing out this block on my Local and for some reason the Additional CSS Classes don’t seem to be applied. Is this a bug or am I missing something?
Regards,
Devin M
Theme: Storefront (Automattic).
There is only one plugin active: Block for Font Awesome.
Warning pages: /wp-admin/widgets.php
Checked it out at tastewp.com
PHP: 8.0
]]>Notice: Function wp_enqueue_script() was called incorrectly. “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /s1-expectnumber/wordpress/wp-includes/functions.php on line 6078
With the release of 1.4.2, existing Font Awesome icons that are displayed in the footer, now get overwritten with in-line SVGs, and break the theme CSS.
If you look in the home page HTML, you’ll see the original <i class=”fab fa-facebook-f”></i> gets over-written in JS. If I disable ;Block for Font Awesome’, or use v1.4.1, the problem goes away.
]]>Hi there! Thanks for the plugin. Love it!
Is there any way to use the animation durations shown on https://fontawesome.com/v6/docs/web/style/animate
]]>Received a notification from WP Toolkit this morning:
WordPress Block for Font Awesome plugin <= 1.3.3 – Cross Site Request Forgery (CSRF) vulnerability
Details on Patchstack. Is there a fix in the works?
Thanks!
]]>I’m using a fontawesome kit but it isn’t loading on the back-end so I don’t see anything in the block editor.
]]>Just passing on what I run across with full debugging enabled after the last update:
`require (wp-admin/widgets.php => 32)
require_once (wp-admin/widgets-form-blocks.php => 70)
do_action (wp-admin/admin-header.php => 163) (admin_head)
WP_Hook->do_action (wp-includes/plugin.php => 476) ()
WP_Hook->apply_filters (wp-includes/class-wp-hook.php => 331)
wp_check_widget_editor_deps (wp-includes/class-wp-hook.php => 307)
_doing_it_wrong (wp-includes/widgets.php => 2090)
WP_Hook->do_action (wp-includes/plugin.php => 476) (wp_enqueue_script())
WP_Hook->apply_filters (wp-includes/class-wp-hook.php => 331)
“wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets).`
Enable this plugin, messages show. Disable plugin and they go away.
Not a hard error and everything seems to work fine, but it’s more like a “best practices” WP nag message. FYI
]]>With the plugin activated, the following messages are showing up in my debug log.
PHP Deprecated: Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /path/to/wp-includes/functions.php on line 5754
PHP Deprecated: Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /path/to/wp-includes/functions.php on line 5754
Fixed it with this:
/path/to/wp-content/plugins/block-for-font-awesome/block-for-font-awesome.php
line 103
add_filter( 'block_categories', 'getbutterfly_block_categories', 10, 2 );
change to:
if ( version_compare( get_bloginfo( 'version' ), '5.8', '>=' ) ) {
add_filter(
'block_categories_all',
'getbutterfly_block_categories',
10,
2
);
} else {
add_filter(
'block_categories',
'getbutterfly_block_categories',
10,
2
);
}
Hope to see an update soon ??
]]>Hello, thanks for this plugin, really helpfull ^^
Could you please add the option “open in new tab” after the “icon url” setting ? or directly add target=”_blank” in your code ?
Cheers !
akal
An option to add URL to ex. social media site would be really helpful.
]]>Currently the fontawesome script get’s automatically enqueued in the backend and frontend of the page.
This might cause problems if: