Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ Filter the arguments passed to the opt-in modal.
**Default**:
```php
$args = [
'plugin_logo' => Resources::get_asset_path() . 'resources/images/stellar-logo.svg',
'plugin_logo_width' => 151,
'plugin_logo' => Resources::get_asset_path() . 'resources/images/liquid-web-logo.svg',
'plugin_logo_width' => 148,
'plugin_logo_height' => 32,
'plugin_logo_alt' => 'StellarWP Logo',
'plugin_logo_alt' => 'Liquid Web Logo',
'plugin_name' => 'The Events Calendar',
'plugin_slug' => $stellar_slug,
'user_name' => wp_get_current_user()->display_name,
Expand All @@ -82,7 +82,7 @@ $args = [
'privacy_url' => '#',
'opted_in_plugins_text' => __( 'See which plugins you have opted in to tracking for', 'stellarwp-telemetry' ),
'heading' => __( 'We hope you love {plugin_name}.', 'stellarwp-telemetry' ),
'intro' => __( 'Hi, {user_name}.! This is an invitation to help our StellarWP community. If you opt-in, some data about your usage of {plugin_name} and future StellarWP Products will be shared with our teams (so they can work their butts off to improve). We will also share some helpful info on WordPress, and our products from time to time. And if you skip this, that’s okay! Our products still work just fine.', 'stellarwp-telemetry' ),
'intro' => __( 'Want to help shape the future of Liquid Web by Nexcess software products? Opting in shares anonymous usage data with our team at Liquid Web, giving us the insights we need to keep improving the tools you rely on.', 'stellarwp-telemetry' ),
];
```
### stellarwp/telemetry/{stellar_slug}/optin_args
Expand Down
6 changes: 3 additions & 3 deletions src/Telemetry/Exit_Interview/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ protected function get_args( string $stellar_slug ) {

$args = [
'plugin_slug' => $stellar_slug,
'plugin_logo' => Resources::get_asset_path() . 'resources/images/stellar-logo.svg',
'plugin_logo_width' => 151,
'plugin_logo' => Resources::get_asset_path() . 'resources/images/liquid-web-logo.svg',
'plugin_logo_width' => 148,
'plugin_logo_height' => 32,
'plugin_logo_alt' => 'StellarWP Logo',
'plugin_logo_alt' => 'Liquid Web Logo',
'heading' => __( 'We’re sorry to see you go.', 'stellarwp-telemetry' ),
'intro' => __( 'We’d love to know why you’re leaving so we can improve our plugin.', 'stellarwp-telemetry' ),
'uninstall_reasons' => [
Expand Down
13 changes: 5 additions & 8 deletions src/Telemetry/Opt_In/Opt_In_Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public function __construct( Status $opt_in_status ) {
public function get_args( string $stellar_slug ) {

$optin_args = [
'plugin_logo' => Resources::get_asset_path() . 'resources/images/stellar-logo.svg',
'plugin_logo_width' => 151,
'plugin_logo' => Resources::get_asset_path() . 'resources/images/liquid-web-logo.svg',
'plugin_logo_width' => 148,
'plugin_logo_height' => 32,
'plugin_logo_alt' => 'StellarWP Logo',
'plugin_name' => 'StellarWP',
'plugin_logo_alt' => 'Liquid Web Logo',
'plugin_name' => 'Liquid Web',
'plugin_slug' => $stellar_slug,
'user_name' => wp_get_current_user()->display_name,
'permissions_url' => '#',
Expand Down Expand Up @@ -240,10 +240,7 @@ public function get_intro( $user_name, $plugin_name ) {
return sprintf(
// Translators: The user name and the plugin name.
esc_html__(
'Hi, %1$s! This is an invitation to help our StellarWP community.
If you opt-in, some data about your usage of %2$s and future StellarWP Products will be shared with our teams (so they can work their butts off to improve).
We will also share some helpful info on WordPress, and our products from time to time.
And if you skip this, that’s okay! Our products still work just fine.',
'Want to help shape the future of Liquid Web by Nexcess software products? Opting in shares anonymous usage data with our team at Liquid Web, giving us the insights we need to keep improving the tools you rely on.',
'stellarwp-telemetry'
),
$user_name,
Expand Down
22 changes: 22 additions & 0 deletions src/resources/images/liquid-web-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading