Is there a hook after a media replacement?
Thank you,
]]>This plugin contains a serious hack.
When installed, notice how it effects core…
net4-dev# inotifywait -mr -e close_write,delete wp-includes
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
./ CLOSE_WRITE,CLOSE temp-write-test-1463322202
./ DELETE temp-write-test-1463322202
./ CLOSE_WRITE,CLOSE plugin.php
Likely you won’t believe your eyes. This plugin overwrites core’s wp-includes/plugin.php + since this plugin is out of date, sites Brick.
Brick == site throws 500 internal error.
The fix is to overwrite the hacked version of wp-includes/plugin.php + immediately remove this plugin.
]]>Fatal error: Call to undefined function current_action() in /wp-includes/rest-api.php on line 593
]]>Activated this plugin which return a fatal error which I could not access wp again. I deleted the plugin entirely but wp is still not loading both front or back, glad its a dev server but need to find the fix. I think I read this plugin modifies a core file and most likely didn;t set it back.
Also upon proper uninstall does this plugin remove all instances and db entries?
]]>Hi! I′m trying to monitor “Woocommerce CSV Import” actions but when I activate your plugin, It makes “WC CSV” to crash. If I disable your sniffer everything works as expected.
The “Woocommerce CSV Import” message error is:
Something went wrong. The stack trace is printed below
{“currentrow”:1,”blocksize”:”1″,”rows”:”34″,”action”:”run_import”,”log”:[“–> row:1 \/ 34″,”Skipping the first row”],”done”:0}can’t open file
It appears you’re replacing the default plugin.php file but either it’s not up to date or something, haven’t looked into it, but basically makes the persons WP unusable and then you have to get copy of plugin.php from SVN just to get working again
Fatal error: Call to undefined function wp_register_plugin_realpath() in /home/myles/cloud/WS/test/wp-settings.php on line 178
For others who need it here’s 3.9.2:
https://svn.automattic.com/wordpress/tags/3.9.2/wp-includes/plugin.php
The plugin’s output is only displaying ‘Array’ when class functions are being added. This makes it hard to see what’s going on. For example:
616: add_action( ‘admin_init’, ‘Array’ ) Called from: /wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php | line #: 58 –> Time Added: 1403898156.7204
617: add_action( ‘admin_init’, ‘Array’ ) Called from: /wp-content/plugins/google-analytics-for-wordpress/admin/class-admin.php
Rather than just displaying “Array” – can you make it display the classname / function name?
thanks ??
]]>When I try to activate this plugin, it makes a require_once() call to load wp-hook-sniff-core.php. This fails because the plugin’s folder name is (mis)defined.
The error occurs on line 71 of wp-hook-sniffer.php. Here’s the relevant code:
/* Define the component's parent folder name */
define( 'WP_HOOK_PLUGIN_NAME', 'wordpress-hook-sniffer' );
/* Define the component's loader file -- this file */
define( 'WP_HOOK_PLUGIN_LOADER', 'wp-hook-sniffer.php' );
/* Define component's directory and URL Paths */
define( 'WP_HOOK_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . WP_HOOK_PLUGIN_NAME );
define( 'WP_HOOK_PLUGIN_URL', WP_PLUGIN_URL . '/' . WP_HOOK_PLUGIN_NAME );
/* WordPress is installed and activated, finish initialization and go! */
require_once( WP_HOOK_PLUGIN_DIR . '/wp-hook-sniff-core.php' );
Notice that the WP_HOOK_PLUGIN_NAME is ‘wordpress-hook-sniffer’ but the plugin installs to ‘hook-sniffer’ when installed through the WP admin dashboard. Since people can rename the plugin directory, I find the following a more reliable way to define the plugin path info:
define( 'PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
define( 'PLUGIN_FNAME', plugin_basename( __FILE__ ) );
]]>