Skip to content

Commit

Permalink
Remove changes needed for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-ottinger committed May 17, 2024
1 parent 2d44ed7 commit 6352e53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions includes/class-wc-calypso-bridge-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ private function __construct() {

$wp_admin_bar->remove_menu( 'ab-new-post' );
}, PHP_INT_MAX );

add_action( 'wp_before_admin_bar_render', function () {
include_once WC_CALYPSO_BRIDGE_PLUGIN_PATH . '/includes/notes/class-wc-calypso-bridge-free-trial-welcome.php';
WC_Calypso_Bridge_Free_Trial_Welcome_Note::possibly_add_note();
}, PHP_INT_MAX );
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static function get_note() {
*/
public static function can_be_added() {
// Temporarily disable Welcome note; context: p1715940056147799/1715859215.173039-slack-C06RQ4EQ7V2.
return true;
return false;

$note = self::get_note();

Expand Down

0 comments on commit 6352e53

Please sign in to comment.