You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// PaddlePress emits this when the key isn't in the payments
103
103
// table at all (typo, deleted, never existed).
104
-
'missing_license_key' => array(
104
+
'missing_license_key'=> array(
105
105
'severity' => self::SEVERITY_ERROR,
106
106
'blocking' => true,
107
107
'message' => __( "We couldn't find this license key. Double-check that you copied it correctly from your purchase email, or contact support.", 'gravitywp-license-handler' ),
108
108
),
109
-
'expired_license_key' => array(
109
+
'expired_license_key'=> array(
110
110
'severity' => self::SEVERITY_ERROR,
111
111
'blocking' => true,
112
112
'message' => __( 'This license key has expired. Renew it to continue receiving updates and use the key on new sites.', 'gravitywp-license-handler' ),
113
113
),
114
-
'blocked_license_domain' => array(
114
+
'blocked_license_domain'=> array(
115
115
'severity' => self::SEVERITY_ERROR,
116
116
'blocking' => true,
117
117
'message' => __( 'This site has been blocked for this license. Contact support if you believe this is a mistake.', 'gravitywp-license-handler' ),
118
118
),
119
-
'invalid_product' => array(
119
+
'invalid_product'=> array(
120
120
'severity' => self::SEVERITY_ERROR,
121
121
'blocking' => true,
122
122
'message' => __( "This license key isn't valid for this product.", 'gravitywp-license-handler' ),
123
123
),
124
124
125
125
// ── Transport / network codes (raised by Hub_Manager) ──────
126
-
'server_error' => array(
126
+
'server_error'=> array(
127
127
'severity' => self::SEVERITY_ERROR,
128
128
'blocking' => true,
129
129
'message' => __( 'License server unavailable. Try again in a moment.', 'gravitywp-license-handler' ),
130
130
),
131
-
'cloudflare_blocked' => array(
131
+
'cloudflare_blocked'=> array(
132
132
'severity' => self::SEVERITY_ERROR,
133
133
'blocking' => true,
134
134
'message' => __( 'Your hosting provider blocked the license check (Cloudflare). Contact your host to allow requests to my.gravitywp.com.', 'gravitywp-license-handler' ),
135
135
),
136
-
'network_timeout' => array(
136
+
'network_timeout'=> array(
137
137
'severity' => self::SEVERITY_ERROR,
138
138
'blocking' => true,
139
139
'message' => __( "Couldn't reach the license server. Check your internet connection and try again.", 'gravitywp-license-handler' ),
140
140
),
141
-
'http_5xx' => array(
141
+
'http_5xx'=> array(
142
142
'severity' => self::SEVERITY_ERROR,
143
143
'blocking' => true,
144
144
/* translators: %d: HTTP status code */
145
145
'message' => __( 'License server returned an error (HTTP %d). Try again shortly.', 'gravitywp-license-handler' ),
'message' => __( 'A plugin folder with this name already exists. Remove the orphan folder via FTP and retry.', 'gravitywp-license-handler' ),
178
178
),
179
-
'download_failed' => array(
179
+
'download_failed'=> array(
180
180
'severity' => self::SEVERITY_ERROR,
181
181
'blocking' => true,
182
182
'message' => __( "Couldn't download the plugin package. Check your license or try again.", 'gravitywp-license-handler' ),
183
183
),
184
-
'filesystem_requires_ftp' => array(
184
+
'filesystem_requires_ftp'=> array(
185
185
'severity' => self::SEVERITY_ERROR,
186
186
'blocking' => true,
187
187
'message' => __( 'This site needs FTP credentials to install plugins. Install via Plugins → Add New instead.', 'gravitywp-license-handler' ),
188
188
),
189
-
'operation_in_progress' => array(
189
+
'operation_in_progress'=> array(
190
190
'severity' => self::SEVERITY_WARN,
191
191
'blocking' => true,
192
192
'message' => __( 'Another install or update is already running. Wait a few seconds and try again.', 'gravitywp-license-handler' ),
193
193
),
194
-
'security_check_failed' => array(
194
+
'security_check_failed'=> array(
195
195
'severity' => self::SEVERITY_ERROR,
196
196
'blocking' => true,
197
197
'message' => __( 'Security check failed. Reload the page and try again.', 'gravitywp-license-handler' ),
198
198
),
199
199
200
200
// ── UI-state codes (raised by interpret_license) ───────────
201
-
'wrong_plugin_key' => array(
201
+
'wrong_plugin_key'=> array(
202
202
'severity' => self::SEVERITY_WARN,
203
203
'blocking' => false,
204
-
'message' => __( "This key is for a different plugin — move it to the matching row.", 'gravitywp-license-handler' ),
204
+
'message' => __( 'This key is for a different plugin — move it to the matching row.', 'gravitywp-license-handler' ),
205
205
),
206
-
'wrong_field_for_plan_type' => array(
206
+
'wrong_field_for_plan_type'=> array(
207
207
'severity' => self::SEVERITY_WARN,
208
208
'blocking' => true,
209
209
'message' => __( 'This looks like a Single Add-on key. Add it under Individual Plugin Keys instead.', 'gravitywp-license-handler' ),
210
210
),
211
-
'global_key_in_per_plugin' => array(
211
+
'global_key_in_per_plugin'=> array(
212
212
'severity' => self::SEVERITY_INFO,
213
213
'blocking' => false,
214
214
'message' => __( 'This is a multi-plugin license (All Access / Agency / List Add-ons). It works here, and it actually unlocks every plugin in your account on its own — you don\'t need to add it to other rows. For clarity, consider moving it to the Global License Key field instead.', 'gravitywp-license-handler' ),
215
215
),
216
-
'via_global' => array(
216
+
'via_global'=> array(
217
217
'severity' => self::SEVERITY_SUCCESS,
218
218
'blocking' => false,
219
219
'message' => __( 'Covered by your Global License Key.', 'gravitywp-license-handler' ),
0 commit comments