diff --git a/class-tgm-plugin-activation.php b/class-tgm-plugin-activation.php index 1ea7b47e..a3528e29 100755 --- a/class-tgm-plugin-activation.php +++ b/class-tgm-plugin-activation.php @@ -1079,7 +1079,7 @@ public function notices() { unset( $plugin_slug ); $count = count( $plugin_group ); - $linked_plugins = array_map( array( 'TGM_Utils', 'wrap_in_em' ), $linked_plugins ); + $linked_plugins = array_map( array( 'TGMPA_Utils', 'wrap_in_em' ), $linked_plugins ); $last_plugin = array_pop( $linked_plugins ); // Pop off last name to prep for readability. $imploded = empty( $linked_plugins ) ? $last_plugin : ( implode( ', ', $linked_plugins ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'tgmpa' ) . ' ' . $last_plugin ); @@ -1229,9 +1229,9 @@ public function register( $plugin ) { // Forgive users for using string versions of booleans or floats for version number. $plugin['version'] = (string) $plugin['version']; $plugin['source'] = empty( $plugin['source'] ) ? 'repo' : $plugin['source']; - $plugin['required'] = TGM_Utils::validate_bool( $plugin['required'] ); - $plugin['force_activation'] = TGM_Utils::validate_bool( $plugin['force_activation'] ); - $plugin['force_deactivation'] = TGM_Utils::validate_bool( $plugin['force_deactivation'] ); + $plugin['required'] = TGMPA_Utils::validate_bool( $plugin['required'] ); + $plugin['force_activation'] = TGMPA_Utils::validate_bool( $plugin['force_activation'] ); + $plugin['force_deactivation'] = TGMPA_Utils::validate_bool( $plugin['force_deactivation'] ); // Enrich the received data. $plugin['file_path'] = $this->_get_plugin_basename_from_slug( $plugin['slug'] ); @@ -2776,7 +2776,7 @@ public function process_bulk_actions() { echo '
', wp_kses_post( $activate->get_error_message() ), '