PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 8.8.2
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v8.8.2
8.8.2 8.8.1 8.8.0 8.7.9 8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 All 538 releases
← All changes | addons/automator/includes/core/deactivation-survey.php +4 -4 8.7.6 → 8.8.2 View file →
@@ -43,9 +43,9 @@
43 43 * @param string $plugin_file Main plugin file path.
44 44 */
45 45 public function __construct( $plugin_file ) {
46 46 $this->plugin_file = $plugin_file;
47 - error_log( 'WPbot Automator - Deactivation_Survey initialized with file: ' . $this->plugin_file );
47 + //error_log( 'WPbot Automator - Deactivation_Survey initialized with file: ' . $this->plugin_file );
48 48
49 49 // Deactivation hook.
50 50 register_deactivation_hook( $this->plugin_file, array( $this, 'handle_deactivation' ) );
51 51
@@ -57,9 +57,9 @@
57 57 */
58 58 public function init() {
59 59 global $pagenow;
60 60 $is_admin = is_admin() ? 'Yes' : 'No';
61 - error_log( 'WPbot Automator - Deactivation_Survey init. pagenow: ' . $pagenow . ', is_admin: ' . $is_admin );
61 + //error_log( 'WPbot Automator - Deactivation_Survey init. pagenow: ' . $pagenow . ', is_admin: ' . $is_admin );
62 62
63 63 add_filter( 'plugin_action_links', array( $this, 'filter_action_links' ), 20, 2 );
64 64 add_filter( 'network_admin_plugin_action_links', array( $this, 'filter_action_links' ), 20, 2 );
65 65 add_action( 'admin_footer', array( $this, 'render_form' ), 20 );
@@ -143,9 +143,9 @@
143 143
144 144 // error_log( 'WPbot Automator - filter_action_links: Checking ' . $file );
145 145
146 146 if ( $file === $my_plugin && isset( $links['deactivate'] ) ) {
147 - error_log( 'WPbot Automator - filter_action_links: MATCH FOUND for ' . $file );
147 + //error_log( 'WPbot Automator - filter_action_links: MATCH FOUND for ' . $file );
148 148 $links['deactivate'] = str_replace(
149 149 '<a ',
150 150 '<a onclick="javascript:event.preventDefault();" id="wpbot-automator-deactivate-link" ',
151 151 $links['deactivate']
@@ -162,9 +162,9 @@
162 162 if ( 'plugins.php' !== $pagenow ) {
163 163 return;
164 164 }
165 165
166 - error_log( 'WPbot Automator - render_form hitting plugins page footer' );
166 + //error_log( 'WPbot Automator - render_form hitting plugins page footer' );
167 167
168 168 $heading = __( 'Sorry to see you go', 'wpbot-automator' );
169 169 $label = __( 'Please provide some details so we can improve the plugin', 'wpbot-automator' );
170 170 $submit = __( 'Submit & Deactivate', 'wpbot-automator' );