PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0.7
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0.7
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 4.1.17 All 164 releases
← All changes | Inc/Admin/Options/Security.php +60 -123 4.2.214.0.7 View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2
3 -namespace PXLBSAdminify\Inc\Admin\Options;
3 +namespace WPAdminify\Inc\Admin\Options;
4 4
5 -use PXLBSAdminify\Inc\Utils;
6 -use PXLBSAdminify\Inc\Admin\AdminSettingsModel;
5 +use WPAdminify\Inc\Utils;
6 +use WPAdminify\Inc\Admin\AdminSettingsModel;
7 7
8 8
9 9 if ( ! defined( 'ABSPATH' ) ) {
10 10 die;
@@ -16,56 +16,17 @@
16 16 public $defaults = [];
17 17
18 18 public function __construct() {
19 19 $this->tweak_settings();
20 - add_action('admin_footer', [$this, 'redirect_url_auto_fill_script']);
21 20 }
22 21
23 - /**
24 - * Auto-fill New Register URL placeholder based on New Login URL
25 - */
26 - public function redirect_url_auto_fill_script() {
27 - $screen = get_current_screen();
28 - if (!$screen || strpos($screen->id, 'wp-adminify') === false) {
29 - return;
30 - }
31 - ?>
32 - <script>
33 - jQuery(document).ready(function($) {
34 - // Find the login URL and register URL fields
35 - var $loginField = $('input[data-depend-id="new_login_url"]');
36 - var $registerField = $('input[data-depend-id="new_register_url"]');
37 -
38 - if ($loginField.length && $registerField.length) {
39 - // Update placeholder when login URL changes (not actual value)
40 - $loginField.on('input change', function() {
41 - var loginValue = $(this).val().trim();
42 -
43 - if (loginValue) {
44 - // Update placeholder to suggest the register URL format
45 - $registerField.attr('placeholder', loginValue + '/?action=register');
46 - } else {
47 - // Reset to default placeholder
48 - $registerField.attr('placeholder', 'wp-login.php?action=register');
49 - }
50 - });
51 -
52 - // Also update placeholder on page load if login has value
53 - var initialLogin = $loginField.val().trim();
54 - if (initialLogin) {
55 - $registerField.attr('placeholder', initialLogin + '/?action=register');
56 - }
57 - }
58 - });
59 - </script>
60 - <?php
61 - }
62 -
63 22 protected function get_defaults() {
64 23 return [
65 24 'security_head' => [
66 25 'enable_security_head' => false,
67 - 'security_head_data' => [],
26 + 'security_head_data' => [
27 + 'generator_wp_version'
28 + ],
68 29 'self_ping_sites' => ''
69 30 ],
70 31 'security_rest_api' => [
71 32 'security_rest_api_enable' => false,
@@ -90,9 +51,9 @@
90 51 'post_archives_data' => [],
91 52 ],
92 53 'security_feed' => false,
93 54 'users_security' => [
94 - 'enable_users_security' => false,
55 + 'limit_logins' => false,
95 56 'change_username' => false,
96 57 ],
97 58 'disable_automatic_emails' => false,
98 59 'disable_language_switcher_login' => false,
@@ -106,20 +67,22 @@
106 67 'redirect_admin_url' => '',
107 68 'new_register_url' => '',
108 69 'new_logout_url' => '',
109 70 'login_redirects' => [
110 - 'user_types' => '',
111 - 'redirect_user' => '',
112 - 'redirect_role' => '',
113 - 'redirect_cap' => '',
114 - 'redirect_url' => '',
71 + 'user_types' => 'user_role',
72 + 'redirect_user' => 'user_role',
73 + 'redirect_role' => '',
74 + 'redirect_cap' => '',
75 + 'redirect_url' => '',
76 + // 'redirect_order' => 10,
115 77 ],
116 78 'logout_redirects' => [
117 - 'user_types' => '',
118 - 'redirect_user' => '',
119 - 'redirect_role' => '',
120 - 'redirect_cap' => '',
121 - 'redirect_url' => '',
79 + 'user_types' => 'user_role',
80 + 'redirect_user' => 'user_role',
81 + 'redirect_role' => '',
82 + 'redirect_cap' => '',
83 + 'redirect_url' => '',
84 + // 'redirect_order' => 10,
122 85 ]
123 86 ],
124 87 ],
125 88 ]
@@ -174,9 +137,9 @@
174 137 'fields' => [
175 138 [
176 139 'id' => 'enable_security_head',
177 140 'type' => 'switcher',
178 - 'title' => '',
141 + 'title' => __('', 'adminify'),
179 142 'class' => 'adminify-pl-0 adminify-pt-0',
180 143 'text_on' => __('Show', 'adminify'),
181 144 'text_off' => __('Hide', 'adminify'),
182 145 'text_width' => 80,
@@ -185,9 +148,9 @@
185 148 [
186 149 'id' => 'security_head_data',
187 150 'type' => 'checkbox',
188 151 'class' => 'adminify-one-col',
189 - 'title' => '',
152 + 'title' => __('', 'adminify'),
190 153 'options' => $security_head,
191 154 'default' => $this->get_default_field('security_head')['security_head_data'],
192 155 'dependency' => ['enable_security_head', '==', 'true', 'true']
193 156 ],
@@ -238,10 +201,9 @@
238 201
239 202 $redirect_urls = [
240 203 [
241 204 'id' => 'redirect_urls_fields',
242 - /* translators: %s: Pro upgrade badge HTML */
243 - 'title' => sprintf(__('Redirect URLs %s', 'adminify'), Utils::upgrade_pro_badge()),
205 + 'title' => sprintf(__('Redirect URLs %s', 'adminify'), Utils::adminify_upgrade_pro_badge()),
244 206 'class' => 'adminify-pro-fieldset',
245 207 'subtitle' => __('Login and logout redirects based on user roles. Customize URLs for administrators, editors, or subscribers etc.', 'adminify'),
246 208 'type' => 'fieldset',
247 209 'fields' => [
@@ -256,9 +218,9 @@
256 218 ],
257 219 [
258 220 'id' => 'redirect_urls_options',
259 221 'type' => 'fieldset',
260 - 'title' => ' ',
222 + 'title' => __(' ', 'adminify'),
261 223 'class' => 'adminify-pt-0 adminify-pl-0 adminify-one-col adminify-tabs-content adminify-pro-notice',
262 224 'fields' => [
263 225 [
264 226 'id' => 'redirect_urls_tabs',
@@ -292,13 +254,9 @@
292 254 'id' => 'new_login_url',
293 255 'type' => 'text',
294 256 'class' => 'new-login-url',
295 257 'title' => __('New Login URL', 'adminify'),
296 - 'desc' => sprintf(
297 - /* translators: %s: wp-login.php URL of the site */
298 - __('Change the login URL and prevent access to the wp-admin and %s page directly.', 'adminify'),
299 - '<code>' . esc_html( wp_login_url() ) . '</code>'
300 - ),
258 + 'desc' => __('Change the login URL and prevent access to the wp-admin and <code>' . wp_login_url() . '</code> page directly.', 'adminify'),
301 259 'placeholder' => 'login',
302 260 'before' => \get_site_url() . '/',
303 261 // 'after' => '/',
304 262 'default' => $this->get_default_field('redirect_urls_fields')['redirect_urls_options']['redirect_urls_tabs']['new_login_url'],
@@ -308,13 +266,9 @@
308 266 'id' => 'redirect_admin_url',
309 267 'type' => 'text',
310 268 'class' => 'new-login-url redirect-admin-url',
311 269 'title' => __('Redirect Admin', 'adminify'),
312 - 'desc' => sprintf(
313 - /* translators: %s: site admin URL */
314 - __('Redirect users those are not logged in and trying to access %s', 'adminify'),
315 - '<code>' . esc_html( get_admin_url() ) . '</code>'
316 - ),
270 + 'desc' => __('Redirect users those are not logged in and trying to access <code>' . get_admin_url() . '</code>', 'adminify'),
317 271 'placeholder' => '404',
318 272 'default' => $this->get_default_field('redirect_urls_fields')['redirect_urls_options']['redirect_urls_tabs']['redirect_admin_url'],
319 273 'before' => \get_site_url() . '/',
320 274 // 'after' => '/',
@@ -324,15 +278,10 @@
324 278 'id' => 'new_register_url',
325 279 'type' => 'text',
326 280 'class' => 'new-login-url new-register-url',
327 281 'title' => __('New Register URL', 'adminify'),
328 - 'subtitle' => __('Use default registration: leave empty.', 'adminify'),
329 - 'desc' => sprintf(
330 - /* translators: %s: opening anchor tag pointing to Settings > General, closed by </a> in the next placeholder */
331 - __('For default enable <strong>"Membership: Anyone can register"</strong> in %1$sSettings → General.%2$s To use custom registration: Create a Page, then paste its permalink here (e.g. /register).', 'adminify'),
332 - '<a href="' . esc_url( admin_url('options-general.php#users_can_register') ) . '" style="color: var(--adminify-primary);">',
333 - '</a>'
334 - ),
282 + 'subtitle' => __('Enable <a href="' . admin_url('options-general.php#users_can_register') . '"><b>Membership: "Anyone can register"</b></a> checkbox from Settings.', 'adminify'),
283 + 'desc' => __('Change the Register URL, to setup the custom designed registration page.', 'adminify'),
335 284 'placeholder' => 'wp-login.php?action=register',
336 285 'before' => \get_site_url() . '/',
337 286 // 'after' => '/',
338 287 'default' => $this->get_default_field('redirect_urls_fields')['redirect_urls_options']['redirect_urls_tabs']['new_register_url'],
@@ -455,9 +404,9 @@
455 404 'id' => 'redirect_cap',
456 405 'type' => 'select',
457 406 'title' => __('Capability', 'adminify'),
458 407 'placeholder' => __('Select a Capability', 'adminify'),
459 - 'options' => '\PXLBSAdminify\Inc\Classes\Helper::get_capability_options',
408 + 'options' => '\WPAdminify\Inc\Classes\Helper::get_capability_options',
460 409 'default' => $this->get_default_field('redirect_urls_fields')['redirect_urls_options']['redirect_urls_tabs']['login_redirects']['redirect_cap'],
461 410 'dependency' => ['user_types', '==', 'user_cap'],
462 411 ];
463 412
@@ -467,10 +416,10 @@
467 416 'id' => 'redirect_url',
468 417 'type' => 'text',
469 418 'class' => 'new-login-url',
470 419 'title' => __('Redirect URL', 'adminify'),
471 - 'placeholder' => __('e.g., my-dashboard or https://example.com/page', 'adminify'),
472 - 'desc' => __('Enter a page slug (e.g., my-dashboard) or full URL. For multisite, use full URLs for cross-site redirects.', 'adminify'),
420 + // 'before' => \get_site_url() . '/',
421 + 'desc' => __('Note: Full URL here. Change the URL for a User or User Roles.', 'adminify'),
473 422 'default' => $this->get_default_field('redirect_urls_fields')['redirect_urls_options']['redirect_urls_tabs']['login_redirects']['redirect_url'],
474 423 ];
475 424
476 425 // // Redirect Order
@@ -532,9 +481,9 @@
532 481 'id' => 'redirect_cap',
533 482 'type' => 'select',
534 483 'title' => __('Capability', 'adminify'),
535 484 'placeholder' => __('Select a Capability', 'adminify'),
536 - 'options' => '\PXLBSAdminify\Inc\Classes\Helper::get_capability_options',
485 + 'options' => '\WPAdminify\Inc\Classes\Helper::get_capability_options',
537 486 'default' => $this->get_default_field('redirect_urls_fields')['redirect_urls_options']['redirect_urls_tabs']['logout_redirects']['redirect_cap'],
538 487 'dependency' => ['user_types', '==', 'user_cap'],
539 488 ];
540 489
@@ -544,10 +493,10 @@
544 493 'id' => 'redirect_url',
545 494 'type' => 'text',
546 495 'class' => 'new-login-url',
547 496 'title' => __('Redirect URL', 'adminify'),
548 - 'placeholder' => __('e.g., goodbye or https://example.com/page', 'adminify'),
549 - 'desc' => __('Enter a page slug (e.g., goodbye) or full URL. For multisite, use full URLs for cross-site redirects.', 'adminify'),
497 + 'before' => \get_site_url() . '/',
498 + 'desc' => __('Change the URL for a User or User Roles.', 'adminify'),
550 499 'default' => $this->get_default_field('redirect_urls_fields')['redirect_urls_options']['redirect_urls_tabs']['logout_redirects']['redirect_url'],
551 500 ];
552 501
553 502 // Redirect Order
@@ -565,40 +514,34 @@
565 514 */
566 515 public function security_user_security(&$users){
567 516
568 517 $users_settings[] = [
569 - 'id' => 'enable_users_security',
518 + 'id' => 'change_username',
570 519 'type' => 'switcher',
571 520 'text_on' => __('Show', 'adminify'),
572 521 'text_off' => __('Hide', 'adminify'),
573 - 'class' => 'adminify-pl-0 adminify-pt-0',
574 522 'text_width' => 80,
575 - 'title' => __('', 'adminify'),
576 - 'default' => $this->get_default_field('users_security')['enable_users_security'],
523 + 'title' => __('Username Change', 'adminify'),
524 + 'subtitle' => sprintf(__('Remove Comments for Media attachment Template <a href="%s">More Details</a> ', 'adminify'), esc_url('https://wpadminify.com/docs')),
525 + 'default' => $this->get_default_field('users_security')['change_username'],
577 526 ];
578 -
579 527 $users_settings[] = [
580 - 'id' => 'change_username',
528 + 'id' => 'limit_logins',
581 529 'type' => 'switcher',
582 530 'text_on' => __('Show', 'adminify'),
583 531 'text_off' => __('Hide', 'adminify'),
584 532 'text_width' => 80,
585 - 'title' => __('Username Change', 'adminify'),
586 - /* translators: %s: URL to the documentation page */
587 - 'subtitle' => sprintf(__('Remove Comments for Media attachment Template <a href="%s">More Details</a> ', 'adminify'), esc_url('https://wpadminify.com/docs/adminify/security/change-wordpress-username')),
588 - 'class' => 'adminify-pl-0',
589 - 'default' => $this->get_default_field('users_security')['change_username'],
590 - 'dependency' => ['enable_users_security', '==', 'true', 'true']
533 + 'title' => __('Limit Login Attempts', 'adminify'),
534 + 'subtitle' => sprintf(__('Prevent brute force attacks by limiting the number of failed login attempts per IP address. <a href="%s">More Details</a> ', 'adminify'), esc_url('https://wpadminify.com/docs')),
535 + 'default' => $this->get_default_field('users_security')['limit_logins'],
591 536 ];
592 537
593 538 $users[] = array(
594 539 'id' => 'users_security',
595 540 'type' => 'fieldset',
596 - /* translators: %1$s: Pro upgrade badge HTML; %2$s: New badge HTML */
597 - 'title' => sprintf(__('Users Security %1$s %2$s', 'adminify'), Utils::upgrade_pro_badge(), Utils::new_badge()),
541 + 'title' => __('Users Security', 'adminify'),
598 542 'subtitle' => __('Security for Users, Login/Logout etc.', 'adminify'),
599 543 'fields' => $users_settings,
600 - 'class' => 'adminify-two-columns adminify-pro-fieldset adminify-pro-notice adminify-items-start',
601 544 'default' => $this->get_default_field('users_security'),
602 545 );
603 546 }
604 547
@@ -620,9 +563,9 @@
620 563 [
621 564 'id' => 'security_rest_api_enable',
622 565 'type' => 'switcher',
623 566 'class' => 'adminify-pl-0 adminify-pt-0',
624 - 'title' => '',
567 + 'title' => __('', 'adminify'),
625 568 'text_on' => __('Show', 'adminify'),
626 569 'text_off' => __('Hide', 'adminify'),
627 570 'text_width' => 80,
628 571 'default' => $this->get_default_field('security_rest_api')['security_rest_api_enable'],
@@ -629,9 +572,9 @@
629 572 ],
630 573 [
631 574 'id' => 'security_rest_api_data',
632 575 'type' => 'checkbox',
633 - 'title' => '',
576 + 'title' => __('', 'adminify'),
634 577 'class' => 'adminify-one-col',
635 578 'options' => $json_api_fields_data,
636 579 'default' => $this->get_default_field('security_rest_api')['security_rest_api_data'],
637 580 'dependency' => ['security_rest_api_enable', '==', 'true', true],
@@ -673,9 +616,9 @@
673 616 'fields' => [
674 617 [
675 618 'id' => 'post_archives_enable',
676 619 'type' => 'switcher',
677 - 'title' => '',
620 + 'title' => __('', 'adminify'),
678 621 'text_on' => __('Show', 'adminify'),
679 622 'text_off' => __('Hide', 'adminify'),
680 623 'text_width' => 80,
681 624 'class' => 'adminify-pl-0 adminify-pt-0',
@@ -684,9 +627,9 @@
684 627 [
685 628 'id' => 'post_archives_data',
686 629 'type' => 'checkbox',
687 630 'class' => 'adminify-one-col',
688 - 'title' => '',
631 + 'title' => __('', 'adminify'),
689 632 'options' => $archive_fields_data,
690 633 'default' => $this->get_default_field('post_archives')['post_archives_data'],
691 634 'dependency' => ['post_archives_enable', '==', 'true', true],
692 635 ],
@@ -711,9 +654,8 @@
711 654 'id' => 'enable',
712 655 'type' => 'switcher',
713 656 'title' => '',
714 657 'class' => 'adminify-pt-0 adminify-pl-0 adminify-col-fit',
715 - /* translators: %s: URL to the Discussion settings page */
716 658 'label' => sprintf(__('Add your Custom Gravatar Images for Comments. Select Avatar Image from <a href="%s">Settings>Discussion>Default Avatar</a>.', 'adminify'), esc_url(admin_url('options-discussion.php'))),
717 659 'text_on' => __('Yes', 'adminify'),
718 660 'text_off' => __('No', 'adminify'),
719 661 'text_width' => 80,
@@ -761,10 +703,9 @@
761 703 $fields[] = [
762 704 'id' => 'disable_automatic_emails',
763 705 'type' => 'switcher',
764 706 'class' => 'adminify-pro-fieldset adminify-pro-notice',
765 - /* translators: %s: Pro upgrade badge HTML */
766 - 'title' => sprintf(__('Disable Automatic Updates Emails %s', 'adminify'), Utils::upgrade_pro_badge()),
707 + 'title' => sprintf(__('Disable Automatic Updates Emails %s', 'adminify'), Utils::adminify_upgrade_pro_badge()),
767 708 'subtitle' => __('Stop getting emails about automatic updates on your WordPress site.', 'adminify'),
768 709 'text_on' => __('Yes', 'adminify'),
769 710 'text_off' => __('No', 'adminify'),
770 711 'text_width' => 80,
@@ -774,10 +715,9 @@
774 715 $fields[] = [
775 716 'id' => 'disable_language_switcher_login',
776 717 'type' => 'switcher',
777 718 'class' => 'adminify-pro-fieldset adminify-pro-notice',
778 - /* translators: %s: Pro upgrade badge HTML */
779 - 'title' => sprintf(__('Disable Login Screen Language Switcher %s', 'adminify'), Utils::upgrade_pro_badge()),
719 + 'title' => sprintf(__('Disable Login Screen Language Switcher %s', 'adminify'), Utils::adminify_upgrade_pro_badge()),
780 720 'subtitle' => __('Hide the Language Switcher on the default WordPress login screen.', 'adminify'),
781 721 'text_on' => __('Yes', 'adminify'),
782 722 'text_off' => __('No', 'adminify'),
783 723 'text_width' => 80,
@@ -802,14 +742,11 @@
802 742 'discussion_menu' => __('Remove Discussion Menu from "Settings>Discussion" Sub Menu', 'adminify'),
803 743 'close_front' => __('Close Comments from front-end', 'adminify'),
804 744 'comments_notes' => __('Remove "Your email address will not be published..." from comment form template', 'adminify'),
805 745 'comments_url_field' => __('Remove website Field (URL) from comment form template', 'adminify'),
806 - /* translators: %s: Pro upgrade badge CSS class */
807 - 'replace_author_link' => sprintf(__('Remove Link from comment "Author Name" & replace to JavaScript? %s', 'adminify'), Utils::upgrade_pro_class()),
808 - /* translators: %s: Pro upgrade badge CSS class */
809 - 'replace_comment_link' => sprintf(__('Comments Content disable auto linking, display comments links as plain text, replace Comment Links to JavaScript? %s', 'adminify'), Utils::upgrade_pro_class()),
810 - /* translators: %s: Pro upgrade badge CSS class */
811 - 'hide_existing' => sprintf(__('Hide Existing Comments from Frontend? %s', 'adminify'), Utils::upgrade_pro_class()),
746 + 'replace_author_link' => sprintf(__('Remove Link from comment "Author Name" & replace to JavaScript? %s'), Utils::adminify_upgrade_pro_class()),
747 + 'replace_comment_link' => sprintf(__('Comments Content disable auto linking, display comments links as plain text, replace Comment Links to JavaScript? %s', 'adminify'), Utils::adminify_upgrade_pro_class()),
748 + 'hide_existing' => sprintf(__('Hide Existing Comments from Frontend? %s', 'adminify'), Utils::adminify_upgrade_pro_class()),
812 749 ];
813 750
814 751 // check if WP_Widget_Recent_Comments is used
815 752 // $recentcomments = [];
@@ -826,9 +763,9 @@
826 763 'fields' => [
827 764 [
828 765 'id' => 'enable_disable_comments',
829 766 'type' => 'switcher',
830 - 'title' => '',
767 + 'title' => __('', 'adminify'),
831 768 'class' => 'adminify-pl-0 adminify-pt-0',
832 769 'text_on' => __('Show', 'adminify'),
833 770 'text_off' => __('Hide', 'adminify'),
834 771 'text_width' => 80,
@@ -838,9 +775,9 @@
838 775 'id' => 'post_types',
839 776 'type' => 'checkbox',
840 777 'title' => __('for Post Types', 'adminify'),
841 778 'subtitle' => __('Check for enable Post Types', 'adminify'),
842 - 'options' => 'PXLBSAdminify\Inc\Admin\Options\Productivity::get_all_post_types',
779 + 'options' => 'WPAdminify\Inc\Admin\Options\Productivity::get_all_post_types',
843 780 'default' => $this->get_default_field('disable_comments')['post_types'],
844 781 'dependency' => ['enable_disable_comments', '==', 'true', true],
845 782 ],
846 783 // [
@@ -846,9 +783,9 @@
846 783 // [
847 784 // 'id' => 'disable_comments_post_types',
848 785 // 'type' => 'notice',
849 786 // 'style' => 'warning',
850 - // 'content' => Utils::upgrade_pro_notice(),
787 + // 'content' => Utils::adminify_upgrade_pro(),
851 788 // 'dependency' => [
852 789 // [ 'post_types', 'not-any', 'post,page', 'true' ],
853 790 // [ 'post_types', '!=', '', 'true' ],
854 791 // ],
@@ -855,9 +792,9 @@
855 792 // ],
856 793 [
857 794 'id' => 'apply_for',
858 795 'type' => 'checkbox',
859 - 'title' => '',
796 + 'title' => __('', 'adminify'),
860 797 'class' => 'adminify-one-col',
861 798 'options' => $disable_comments_for,
862 799 'default' => $this->get_default_field('disable_comments')['apply_for'],
863 800 'dependency' => ['enable_disable_comments', '==', 'true', true],
@@ -877,21 +814,21 @@
877 814
878 815 $fields[] = [
879 816 'id' => 'security_subheading',
880 817 'type' => 'subheading',
881 - 'content' => Utils::help_urls(
818 + 'content' => Utils::adminfiy_help_urls(
882 819 __('"WordPress" White Label Settings', 'adminify'),
883 820 'https://wpadminify.com/docs/security/',
884 821 '',
885 822 'https://www.facebook.com/groups/jeweltheme',
886 - \PXLBSAdminify\Inc\Admin\AdminSettings::support_url()
823 + \WPAdminify\Inc\Admin\AdminSettings::support_url()
887 824 )
888 825 ];
889 826
890 827 $this->security_redirect_urls( $fields );
891 - $this->security_user_security( $fields );
828 + // $this->security_user_security( $fields );
892 829 $this->security_head_fields( $fields );
893 - $this->security_feed_fields( $fields );
830 + $this->security_feed_fields( $fields );
894 831 $this->security_rest_api_fields( $fields );
895 832 $this->security_disable_comments( $fields );
896 833 $this->security_archive_fields( $fields );
897 834 // $this->security_others( $fields );
@@ -897,9 +834,9 @@
897 834 // $this->security_others( $fields );
898 835
899 836 $this->security_custom_gravatar( $fields );
900 837
901 - $fields = apply_filters('pxlbsadminify_settings/security', $fields, $this);
838 + $fields = apply_filters('adminify_settings/security', $fields, $this);
902 839
903 840 // Tweaks Section
904 841 \ADMINIFY::createSection(
905 842 $this->prefix,