| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | if ( !defined( 'WP_FS__PRODUCT_11230_MULTISITE' ) ) { |
| 21 | 21 | define( 'WP_FS__PRODUCT_11230_MULTISITE', true ); |
| 22 | 22 | } |
| 23 | 23 | // Include Freemius SDK. |
| 24 | - require_once dirname( __FILE__ ) . '/vendor/freemius/start.php'; | |
| 24 | + require_once __DIR__ . '/vendor/freemius/start.php'; | |
| 25 | 25 | $menu = array( |
| 26 | 26 | 'slug' => 'edit.php?post_type=boldblocks_block', |
| 27 | 27 | 'account' => true, |
| 28 | 28 | ); |
| @@ -29,17 +29,18 @@ | ||
| 29 | 29 | if ( !fs_is_network_admin() ) { |
| 30 | 30 | $menu['first-path'] = 'edit.php?post_type=boldblocks_block&page=cbb-settings'; |
| 31 | 31 | } |
| 32 | 32 | $cbb_fs = fs_dynamic_init( array( |
| 33 | - 'id' => '11230', | |
| 34 | - 'slug' => 'content-blocks-builder', | |
| 35 | - 'type' => 'plugin', | |
| 36 | - 'public_key' => 'pk_3cf9ea74cc57ecea98583ead30a34', | |
| 37 | - 'is_premium' => false, | |
| 38 | - 'has_addons' => false, | |
| 39 | - 'has_paid_plans' => true, | |
| 40 | - 'menu' => $menu, | |
| 41 | - 'is_live' => true, | |
| 33 | + 'id' => '11230', | |
| 34 | + 'slug' => 'content-blocks-builder', | |
| 35 | + 'type' => 'plugin', | |
| 36 | + 'public_key' => 'pk_3cf9ea74cc57ecea98583ead30a34', | |
| 37 | + 'is_premium' => false, | |
| 38 | + 'has_addons' => false, | |
| 39 | + 'has_paid_plans' => true, | |
| 40 | + 'menu' => $menu, | |
| 41 | + 'is_live' => true, | |
| 42 | + 'is_org_compliant' => true, | |
| 42 | 43 | ) ); |
| 43 | 44 | } |
| 44 | 45 | return $cbb_fs; |
| 45 | 46 | } |
| @@ -87,8 +88,9 @@ | ||
| 87 | 88 | $site_link, |
| 88 | 89 | $freemius_link |
| 89 | 90 | ) { |
| 90 | 91 | return sprintf( |
| 92 | + // translators: %s: the first name of the current user. | |
| 91 | 93 | __( 'Hey %1$s', 'content-blocks-builder' ) . ',<br>' . __( 'Thank you for using %2$s. We invite you to help the %2$s community by opting in to share some data about your usage of %2$s with us. This will help us make this plugin more compatible with your site and better at doing what you need it to. You can opt out at any time. And if you skip this, that\'s okay! %2$s will still work just fine.', 'content-blocks-builder' ), |
| 92 | 94 | $user_first_name, |
| 93 | 95 | '<b>' . $plugin_title . '</b>', |
| 94 | 96 | '<b>' . $user_login . '</b>', |