Title: skellner's Replies | WordPress.org

---

# skellner

  [  ](https://wordpress.org/support/users/skellner/)

 *   [Profile](https://wordpress.org/support/users/skellner/)
 *   [Topics Started](https://wordpress.org/support/users/skellner/topics/)
 *   [Replies Created](https://wordpress.org/support/users/skellner/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/skellner/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/skellner/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/skellner/engagements/)
 *   [Favorites](https://wordpress.org/support/users/skellner/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Support For Icomoon with Advanced Custom Fields] WordPress 6.7 Debug Message: “code in the plugin or theme running too early”](https://wordpress.org/support/topic/wordpress-6-7-debug-message-code-in-the-plugin-or-theme-running-too-early/)
 *  Thread Starter [skellner](https://wordpress.org/support/users/skellner/)
 * (@skellner)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wordpress-6-7-debug-message-code-in-the-plugin-or-theme-running-too-early/#post-18155035)
 * Apologies. I realized I shared the incorrect patch from one of our earlier attempts
   that didn’t work. Below is the actual patch that we’ve rolled out to our sites
   that _is_ working…
 * Basically we’re just hard-coding the plugin version number rather than relying
   on get_plugin_data()
 *     ```wp-block-code
       --- acf-icomoon.php     2024-10-11 08:20:32.000000000 -0400+++ acf-icomoon-patched.php     2024-11-22 13:49:14.363537900 -0500@@ -28,9 +28,8 @@ if(!function_exists('get_plugin_data')){        require_once(ABSPATH . 'wp-admin/includes/plugin.php'); }-$plugin_data = get_plugin_data(__FILE__);-define("ACFICOMOON_VERSION", $plugin_data['Version']);+define("ACFICOMOON_VERSION", '4.0.10'); define("ACFICOMOON_DIR", plugin_dir_path(__FILE__)); define("ACFICOMOON_ASSETS_URL", plugin_dir_url(__FILE__) . 'assets/'); define("ACFICOMOON_STYLESHEET_DIR", get_stylesheet_directory());
       ```
   
    -  This reply was modified 1 year, 6 months ago by [skellner](https://wordpress.org/support/users/skellner/).

Viewing 1 replies (of 1 total)