Title: Replace deprecated action
Last modified: July 11, 2018

---

# Replace deprecated action

 *  [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * (@chesio)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/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.wordpress.org/core/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/](https://make.wordpress.org/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.
    -  This topic was modified 7 years, 10 months ago by [Česlav Przywara](https://wordpress.org/support/users/chesio/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/replace-deprecated-action/#post-10715361)
 * Hello,
 * Thank you for taking the time to report this issue. I will have a look immediately
   and find a replacement for the deprecated action hook.
 * Please be on the lookout for an updated version of the plugin in the near future.

Viewing 1 replies (of 1 total)

The topic ‘Replace deprecated action’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-edit_ffffff.svg)
 * [WP Edit](https://wordpress.org/plugins/wp-edit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-edit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-edit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-edit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-edit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-edit/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Josh](https://wordpress.org/support/users/josh401/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/replace-deprecated-action/#post-10715361)
 * Status: not a support question