1,003 reputation
59
bio website kovshenin.com
location Russia
age
visits member for 4 years, 6 months
seen Apr 9 at 8:54

Apr
9
comment ECHO Executing 4 Times In Head
If your code is executed four times, it means the the_content filter is applied four times. Do you still get 4x with all plugins deactivated?
Apr
8
answered Widget Script Loads at Bottom of Page
Apr
8
answered ECHO Executing 4 Times In Head
Apr
5
answered Randomly display posts on a site hosted by WPEngine?
Apr
4
comment remove_action not removing add_action from constructor
I don't think you can destroy an object without being able to reference it, without some really bad hack of course :)
Apr
4
comment remove_action not removing add_action from constructor
It outputs true because your the action from your object is getting removed, but the action from WC's original object is not getting removed. Read my previous comment again.
Apr
4
comment Adding “reply-to” in the email
Yeah, wp_mail() takes both strings an arrays for headers so it should be fine. Otherwise just implode with \r\n and pass as a string.
Apr
4
comment remove_action not removing add_action from constructor
The problem with what you tried is that new WC_Admin_Taxonomies_new(); and $foo = new WC_Admin_Taxonomies_new(); are two separate instances, and you're removing an action only from the one you're creating, but not the one created by WooCommerce. Your other option is to loop through all attached callbacks to a specific action at an earlier priority, and use get_class() to "guess". I'd rather submit a patch to WooCommerce :)
Apr
4
comment Disable Author Box on Homepage & on Pages
Peter, you need at least a very high-level overview of how PHP works. Try to wrap your code in <?php if ( is_singular( 'post' ) ) { ?> and then <?php } ?> at the end.
Apr
4
comment Disable login on multisite web sites
@VukBG: HTTPS, strong password, Jetpack Protect, maybe 2fa.
Apr
4
comment Disable Author Box on Homepage & on Pages
It has to be inside in the PHP code within the <?php and ?> tags.
Apr
4
answered Adding “reply-to” in the email
Apr
4
answered Disable Author Box on Homepage & on Pages
Apr
4
answered Display popular posts by how many hits it got within 30 days of publishing
Apr
4
answered remove_action not removing add_action from constructor
Apr
4
answered Disable login on multisite web sites
Mar
28
comment wp_redirect hangs, but returns true
Yeah, the reason dijmen is doing an echo after wp_redirect and actually seeing the output sort of proves this theory :) One should always exit or die() after a redirect.
Mar
28
comment wp_redirect hangs, but returns true
Actually admin_menu menu fires before admin_init ;) Both actions are executed before any response is sent and both are fine for a redirect header.
Mar
28
comment Not getting the Correct JSON response from Ajax Request
TheDeadMedic and sven are right, something is injecting that style there and breaking all of your JSON. Whatever it is, you should nuke it.
Mar
28
answered Getting a “Warning: call_user_func_array()” error whenever I install/update a plugin