Skip to content

Commit a1f1de6

Browse files
claudepiotrkulpinski
authored andcommitted
Remove all license activation code and references
- Remove license activation strings from Almond setup wizard - Update welcome message to remove license activation mention - Replace 'Licenser' references with generic 'singleton' in comments - Update Addons.php comment from 'license key' to 'addon settings' - Remove license SCSS partial and its import - Remove license-related CSS classes from compiled admin.css - Delete static/src/styles/admin/_license.scss file All licensing and payment code has been removed to open source the theme.
1 parent b4afdcf commit a1f1de6

File tree

6 files changed

+5
-71
lines changed

6 files changed

+5
-71
lines changed

includes/Settings/Addons.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function get_option_name()
6868
}
6969

7070
/**
71-
* Registers the option used to store the license key in the options table.
71+
* Registers the option used to store the addon settings in the options table.
7272
*/
7373
public function register_option()
7474
{
@@ -137,7 +137,7 @@ private function get_settings_content()
137137
}
138138

139139
/**
140-
* This is the static method that controls the access to the Licenser
140+
* This is the static method that controls the access to the singleton
141141
* instance. On the first run, it creates a singleton object and places it
142142
* into the static field. On subsequent runs, it returns the client existing
143143
* object stored in the static field.

includes/Settings/Faker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private function get_settings_content()
161161
}
162162

163163
/**
164-
* This is the static method that controls the access to the Licenser
164+
* This is the static method that controls the access to the singleton
165165
* instance. On the first run, it creates a singleton object and places it
166166
* into the static field. On subsequent runs, it returns the client existing
167167
* object stored in the static field.

includes/Vendors/Almond.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,11 @@ function __construct()
4444
'btn-child-install' => esc_html__('Install', 'chipmunk'),
4545
'btn-content-install' => esc_html__('Install', 'chipmunk'),
4646
'btn-import' => esc_html__('Import', 'chipmunk'),
47-
'btn-license-activate' => esc_html__('Activate', 'chipmunk'),
48-
'btn-license-skip' => esc_html__('Later', 'chipmunk'),
49-
50-
/* translators: Theme Name */
51-
'license-header%s' => esc_html__('Activate %s', 'chipmunk'),
52-
/* translators: Theme Name */
53-
'license-header-success%s' => esc_html__('%s is Activated', 'chipmunk'),
54-
/* translators: Theme Name */
55-
'license%s' => esc_html__('Enter your license key to enable remote updates and theme support.', 'chipmunk'),
56-
'license-label' => esc_html__('License key', 'chipmunk'),
57-
'license-success%s' => esc_html__('The theme is already registered, so you can go to the next step!', 'chipmunk'),
58-
'license-json-success%s' => esc_html__('Your theme is activated! Remote updates and theme support are enabled.', 'chipmunk'),
59-
'license-tooltip' => esc_html__('Need help?', 'chipmunk'),
6047

6148
/* translators: Theme Name */
6249
'welcome-header%s' => esc_html__('Welcome to %s', 'chipmunk'),
6350
'welcome-header-success%s' => esc_html__('Hi. Welcome back', 'chipmunk'),
64-
'welcome%s' => esc_html__('This wizard will set up your theme, import the demo content and activate the license. It should only take a few minutes.', 'chipmunk'),
51+
'welcome%s' => esc_html__('This wizard will set up your theme and import the demo content. It should only take a few minutes.', 'chipmunk'),
6552
'welcome-success%s' => esc_html__('You may have already run this theme setup wizard. If you would like to proceed anyway, click on the "Start" button below.', 'chipmunk'),
6653

6754
'child-header' => esc_html__('Install Child Theme', 'chipmunk'),

static/dist/css/admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/src/styles/admin.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
@import 'admin/_addons.scss';
3636
@import 'admin/_box.scss';
3737
@import 'admin/_layout.scss';
38-
@import 'admin/_license.scss';
3938
@import 'admin/_nav.scss';
4039
@import 'admin/_status.scss';
4140

static/src/styles/admin/_license.scss

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)