PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0.2.5
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0.2.5
4.3.2 4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 All 165 releases
← All changes | Inc/Admin/Options/Performance.php +12 -15 4.1.17 → 4.0.2.5 View file →
@@ -74,9 +74,9 @@
74 74 [
75 75 'id' => 'disable_gutenberg_enable',
76 76 'type' => 'switcher',
77 77 'class' => 'adminify-pl-0 adminify-pt-0',
78 - 'title' => '',
78 + 'title' => __('', 'adminify'),
79 79 'text_on' => __('Show', 'adminify'),
80 80 'text_off' => __('Hide', 'adminify'),
81 81 'text_width' => 80,
82 82 // 'default' => $this->get_default_field('disable_gutenberg')['disable_gutenberg_enable'],
@@ -83,9 +83,9 @@
83 83 ],
84 84 [
85 85 'id' => 'disable_for',
86 86 'type' => 'checkbox',
87 - 'title' => '',
87 + 'title' => __('', 'adminify'),
88 88 'class' => 'adminify-one-col',
89 89 'options' => $disable_gutenberg_for,
90 90 // 'default' => $this->get_default_field('disable_gutenberg')['disable_for'],
91 91 'dependency' => ['disable_gutenberg_enable', '==', 'true', true],
@@ -123,9 +123,9 @@
123 123 [
124 124 'id' => 'performance_enable',
125 125 'type' => 'switcher',
126 126 'class' => 'adminify-pl-0 adminify-pt-0',
127 - 'title' => '',
127 + 'title' => __('', 'adminify'),
128 128 'text_on' => __('Show', 'adminify'),
129 129 'text_off' => __('Hide', 'adminify'),
130 130 'text_width' => 80
131 131 ],
@@ -131,9 +131,9 @@
131 131 ],
132 132 [
133 133 'id' => 'performance_data',
134 134 'type' => 'checkbox',
135 - 'title' => '',
135 + 'title' => __('', 'adminify'),
136 136 'class' => 'adminify-one-col',
137 137 'options' => $performance_data,
138 138 'dependency' => ['performance_enable', '==', 'true', true],
139 139 ]
@@ -161,24 +161,23 @@
161 161 */
162 162 public function disable_embeds(&$disable_embeds)
163 163 {
164 164 $disable_embeds[] = [
165 - 'id' => 'performance_subheading',
165 + 'id' => 'performance_subheading',
166 166 'type' => 'subheading',
167 167 'content' => Utils::adminfiy_help_urls(
168 - '<span></span>',
169 - 'https://wpadminify.com/docs/adminify/performance/disable-embeds',
170 - 'https://www.youtube.com/watch?v=xALg4WWZ_bE',
168 + __('<span></span>', 'adminify'),
169 + 'https://wpadminify.com/kb/performance/',
170 + '',
171 171 'https://www.facebook.com/groups/jeweltheme',
172 172 \WPAdminify\Inc\Admin\AdminSettings::support_url()
173 173 ),
174 - ];
174 + ];
175 175
176 176 $disable_embeds[] = [
177 177 'id' => 'disable_embeds',
178 178 'type' => 'switcher',
179 179 'class' => 'adminify-pro-fieldset adminify-pro-notice',
180 - /* translators: %s: pro upgrade badge HTML */
181 180 'title' => sprintf(__('Disable Embeds %s', 'adminify'), Utils::adminify_upgrade_pro_badge()),
182 181 'subtitle' => __('Disable all Embeds from everywhere like - REST API, Head Tag, Tinymce Editor, Remote results etc.', 'adminify'),
183 182 'text_on' => __('Yes', 'adminify'),
184 183 'text_off' => __('No', 'adminify'),
@@ -191,9 +190,9 @@
191 190 $fields[] = [
192 191 'id' => 'enabled',
193 192 'type' => 'switcher',
194 193 'class' => 'adminify-pt-0 adminify-pl-0',
195 - 'title' => '',
194 + 'title' => __('', 'adminify'),
196 195 'text_on' => __('Show', 'adminify'),
197 196 'text_off' => __('Hide', 'adminify'),
198 197 'text_width' => 80,
199 198 'default' => $this->get_default_field('heartbeat_api')['enabled'],
@@ -311,9 +310,8 @@
311 310 $fields[] = array(
312 311 'id' => 'heartbeat_api',
313 312 'type' => 'fieldset',
314 313 'class' => 'adminify-nopadding',
315 - /* translators: %s: pro upgrade badge HTML */
316 314 'title' => sprintf(__('Control Heartbeat API %s', 'adminify'), Utils::adminify_upgrade_pro_badge()),
317 315 'class' => 'adminify-pro-fieldset',
318 316 'subtitle' => __('Modify the interval of the WordPress Heartbeat API or disable it on admin pages, post creation/edit screens, and the frontend to reduce CPU load on the server', 'adminify'),
319 317 'fields' => $heartbeat_settings
@@ -330,9 +328,9 @@
330 328 $revisions_settings[] = [
331 329 'id' => 'revisions_enable',
332 330 'type' => 'switcher',
333 331 'class' => 'adminify-p-0 adminify-pro-feature',
334 - 'title' => '',
332 + 'title' => __('', 'adminify'),
335 333 'text_on' => __('Show', 'adminify'),
336 334 'text_off' => __('Hide', 'adminify'),
337 335 'text_width' => 80,
338 336
@@ -370,9 +368,8 @@
370 368
371 369 $fields[] = array(
372 370 'id' => 'revisions',
373 371 'type' => 'fieldset',
374 - /* translators: %s: pro upgrade badge HTML */
375 372 'title' => sprintf(__('Control Revisions %s', 'adminify'), Utils::adminify_upgrade_pro_badge()),
376 373 'subtitle' => __('Limit the number of revisions kept for post types supporting revisions to prevent database bloat.', 'adminify'),
377 374 'fields' => $revisions_settings,
378 375 'default' => $this->get_default_field('revisions'),
@@ -388,9 +385,9 @@
388 385
389 386 $fields = [];
390 387
391 388 $this->disable_embeds( $fields );
392 - $this->control_heartbit_api( $fields );
389 + // $this->control_heartbit_api( $fields );
393 390 // $this->control_revisions( $fields );
394 391 $this->performances( $fields );
395 392 $this->gutenberg_settings($fields);
396 393