Replace deprecated action
-
Hi,
in
includes/functions.php
on line 351 you have:add_action('wp_print_styles', 'wp_edit_column_stylesheet');
However, the
wp_print_styles
hook is deprecated for a long time now: https://make.www.ads-software.com/core/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/Please, consider updating the hook.
I believe it is the reason why debug log on one of our websites is populated with warnings about stylesheet being enquequed too early…EDITED: Warnings seem to be triggered from another plugin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Replace deprecated action’ is closed to new replies.