Changeset 3114633
- Timestamp:
- 07/09/2024 02:54:03 AM (4 weeks ago)
- Location:
- nhrrob-options-table-manager
- Files:
-
- 1 added
- 22 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
nhrrob-options-table-manager/tags/1.0.5/assets/css/admin.css
r3112816 r3114633 108 108 color: #555; /* Gray color for count */ 109 109 } 110 111 112 113 -
nhrrob-options-table-manager/tags/1.0.5/assets/css/admin.out.css
r3113823 r3114633 598 598 } 599 599 600 .my-4 {601 margin-top: 1rem;602 margin-bottom: 1rem;603 }604 605 600 .mb-4 { 606 601 margin-bottom: 1rem; 607 602 } 608 603 609 .mb-2 { 610 margin-bottom: 0.5rem; 611 } 612 613 .mb-3 { 614 margin-bottom: 0.75rem; 604 .mb-8 { 605 margin-bottom: 2rem; 615 606 } 616 607 … … 619 610 } 620 611 621 .m b-8{622 margin- bottom: 2rem;612 .m { 613 margin-rem; 623 614 } 624 615 … … 627 618 } 628 619 620 621 622 623 629 624 .table { 630 625 display: table; 631 626 } 632 627 628 629 630 631 633 632 .w-full { 634 633 width: 100%; … … 637 636 .min-w-full { 638 637 min-width: 100%; 638 639 640 641 642 643 644 645 646 647 648 649 639 650 } 640 651 … … 662 673 } 663 674 675 676 677 678 664 679 .rounded-md { 665 680 border-radius: 0.375rem; 666 }667 668 .border {669 border-width: 1px;670 681 } 671 682 … … 685 696 } 686 697 698 699 700 701 702 687 703 .bg-red-500 { 688 704 --tw-bg-opacity: 1; … … 695 711 } 696 712 697 .p- 4{698 padding: 1 rem;713 .p- { 714 padding: 1rem; 699 715 } 700 716 … … 729 745 } 730 746 731 .px-3 {732 padding-left: 0.75rem;733 padding-right: 0.75rem;734 }735 736 747 .text-left { 737 748 text-align: left; … … 748 759 } 749 760 761 762 763 764 765 750 766 .text-xs { 751 767 font-size: 0.75rem; … … 753 769 } 754 770 755 .text-lg {756 font-size: 1.125rem;757 line-height: 1.75rem;758 }759 760 771 .font-medium { 761 772 font-weight: 500; 773 774 775 776 762 777 } 763 778 … … 775 790 } 776 791 792 793 794 795 796 777 797 .text-white { 778 798 --tw-text-opacity: 1; … … 780 800 } 781 801 782 .text-gray-700 { 783 --tw-text-opacity: 1; 784 color: rgb(55 65 81 / var(--tw-text-opacity)); 802 .shadow-md { 803 --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 804 --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); 805 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 785 806 } 786 807 … … 917 938 } 918 939 940 941 942 943 944 945 946 947 948 919 949 .hover\:bg-blue-600:hover { 920 950 --tw-bg-opacity: 1; … … 922 952 } 923 953 924 .focus\:border- blue-500:focus {954 .focus\:border--500:focus { 925 955 --tw-border-opacity: 1; 926 border-color: rgb( 59 130 246/ var(--tw-border-opacity));956 border-color: rgb( / var(--tw-border-opacity)); 927 957 } 928 958 … … 938 968 } 939 969 970 971 972 973 974 940 975 .focus\:ring-blue-500:focus { 941 976 --tw-ring-opacity: 1; … … 943 978 } 944 979 945 .focus\:ring-o pacity-50:focus {946 --tw-ring-o pacity: 0.5;980 .focus\:ring-o:focus { 981 --tw-ring-o; 947 982 } 948 983 -
nhrrob-options-table-manager/tags/1.0.5/assets/js/admin.js
r3113823 r3114633 82 82 } 83 83 }); 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 84 112 }); 85 113 })(jQuery); -
nhrrob-options-table-manager/tags/1.0.5/includes/Admin.php
r3112816 r3114633 40 40 41 41 if ($file == $nhrotm_plugin && current_user_can('manage_options')) { 42 $links[] = sprintf('<a href="%s">%s</a>', admin_url("tools.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager'));42 $links[] = sprintf('<a href="%s">%s</a>', admin_url("tools.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager')); 43 43 } 44 44 -
nhrrob-options-table-manager/tags/1.0.5/includes/Admin/Menu.php
r3113823 r3114633 30 30 // $hook = add_menu_page(__('Options Table', 'nhrrob-options-table-manager'), __('Options Table', 'nhrrob-options-table-manager'), $capability, $parent_slug, [$this, 'settings_page'], 'dashicons-admin-post'); 31 31 // add_submenu_page( $parent_slug, __( 'Settings', 'nhrrob-options-table-manager' ), __( 'Settings', 'nhrrob-options-table-manager' ), $capability, 'nhrotm-options-table-manager-settings', [ $this, 'settings_page' ] ); 32 $hook = add_submenu_page( 'tools.php', __( ' Options Table', 'nhrrob-options-table-manager' ), __( 'Options Table', 'nhrrob-options-table-manager' ), $capability, $parent_slug, [ $this, 'settings_page' ] );32 $hook = add_submenu_page( 'tools.php', __( '', 'nhrrob-options-table-manager' ), __( 'Options Table', 'nhrrob-options-table-manager' ), $capability, $parent_slug, [ $this, 'settings_page' ] ); 33 33 34 34 add_action('admin_head-' . $hook, [$this, 'enqueue_assets']); -
nhrrob-options-table-manager/tags/1.0.5/includes/Ajax.php
r3113823 r3114633 15 15 add_action('wp_ajax_nhrotm_edit_option', [ $this, 'edit_option' ]); 16 16 add_action('wp_ajax_nhrotm_delete_option', [ $this, 'delete_option' ]); 17 17 18 } 18 19 … … 32 33 // Sanitize and validate input data 33 34 $option_name = isset($_POST['option_name']) ? sanitize_text_field($_POST['option_name']) : ''; 34 $option_value = isset($_POST['option_value']) ? s anitize_text_field($_POST['option_value']) : '';35 $option_value = isset($_POST['option_value']) ? s) : ''; 35 36 36 37 if (empty($option_name)) { … … 89 90 wp_die(); 90 91 } 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 91 135 } -
nhrrob-options-table-manager/tags/1.0.5/includes/Traits/GlobalTrait.php
r3113823 r3114633 59 59 'placeholder' => 1, 60 60 'value' => 1, 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 61 79 ), 62 80 ); -
nhrrob-options-table-manager/tags/1.0.5/includes/views/admin/settings/index.php
r3113823 r3114633 4 4 <div class="wrap nhrotm-options-table-manager container mx-auto px-4 sm:px-6 lg:px-8 py-8"> 5 5 <h3 class="text-2xl mb-4"><?php echo esc_html(get_admin_page_title()); ?></h3> 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 6 38 7 39 <table class="nhrotm-form-table form-table min-w-full divide-y divide-gray-200 overflow-x-auto"> … … 68 100 <?php endif; ?> 69 101 </td> 70 <td class="px-6 py-4 break-words text-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); 71 ?> </td> 102 <td class="px-6 py-4 break-words text-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); ?> </td> 72 103 <td class="px-6 py-4 text-sm text-gray-500"> 73 104 <?php if (!$is_protected) : ?> -
nhrrob-options-table-manager/tags/1.0.5/nhrrob-options-table-manager.php
r3113823 r3114633 6 6 * Author: Nazmul Hasan Robin 7 7 * Author URI: https://profiles.wordpress.org/nhrrob/ 8 * Version: 1.0. 48 * Version: 1.0. 9 9 * Requires at least: 6.0 10 10 * Requires PHP: 7.4 … … 28 28 * @var string 29 29 */ 30 const nhrotm_version = '1.0. 4';30 const nhrotm_version = '1.0.'; 31 31 32 32 /** -
nhrrob-options-table-manager/tags/1.0.5/readme.txt
r3113823 r3114633 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 47 Stable tag: 1.0. 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 52 52 53 53 = Does it require any other plugin? = 54 55 54 No. It works as a standalone plugin. 56 57 = Is NHR Options Table Manager compatible with all WordPress themes and plugins? =58 Yes, NHR Options Table Manager is designed to be compatible with most WordPress themes and plugins.59 The plugin uses lightweight and non-intrusive methods to remove notices, minimizing the risk of conflicts with other plugins or themes.60 55 61 56 = Will using NHR Options Table Manager impact my website's performance? = 62 57 No. But it helps you to make decisions on how to reduce the db size and make your site faster! 58 59 60 61 62 63 64 65 66 63 67 64 68 … … 67 71 1. DataTable view of the wp_options table 68 72 2. Analytics on plugin usage by prefixes 73 69 74 70 75 71 76 == Changelog == 77 78 79 80 81 72 82 73 83 = 1.0.4 - 07/07/2024 = -
nhrrob-options-table-manager/trunk/assets/css/admin.css
r3112816 r3114633 108 108 color: #555; /* Gray color for count */ 109 109 } 110 111 112 113 -
nhrrob-options-table-manager/trunk/assets/css/admin.out.css
r3113823 r3114633 598 598 } 599 599 600 .my-4 {601 margin-top: 1rem;602 margin-bottom: 1rem;603 }604 605 600 .mb-4 { 606 601 margin-bottom: 1rem; 607 602 } 608 603 609 .mb-2 { 610 margin-bottom: 0.5rem; 611 } 612 613 .mb-3 { 614 margin-bottom: 0.75rem; 604 .mb-8 { 605 margin-bottom: 2rem; 615 606 } 616 607 … … 619 610 } 620 611 621 .m b-8{622 margin- bottom: 2rem;612 .m { 613 margin-rem; 623 614 } 624 615 … … 627 618 } 628 619 620 621 622 623 629 624 .table { 630 625 display: table; 631 626 } 632 627 628 629 630 631 633 632 .w-full { 634 633 width: 100%; … … 637 636 .min-w-full { 638 637 min-width: 100%; 638 639 640 641 642 643 644 645 646 647 648 649 639 650 } 640 651 … … 662 673 } 663 674 675 676 677 678 664 679 .rounded-md { 665 680 border-radius: 0.375rem; 666 }667 668 .border {669 border-width: 1px;670 681 } 671 682 … … 685 696 } 686 697 698 699 700 701 702 687 703 .bg-red-500 { 688 704 --tw-bg-opacity: 1; … … 695 711 } 696 712 697 .p- 4{698 padding: 1 rem;713 .p- { 714 padding: 1rem; 699 715 } 700 716 … … 729 745 } 730 746 731 .px-3 {732 padding-left: 0.75rem;733 padding-right: 0.75rem;734 }735 736 747 .text-left { 737 748 text-align: left; … … 748 759 } 749 760 761 762 763 764 765 750 766 .text-xs { 751 767 font-size: 0.75rem; … … 753 769 } 754 770 755 .text-lg {756 font-size: 1.125rem;757 line-height: 1.75rem;758 }759 760 771 .font-medium { 761 772 font-weight: 500; 773 774 775 776 762 777 } 763 778 … … 775 790 } 776 791 792 793 794 795 796 777 797 .text-white { 778 798 --tw-text-opacity: 1; … … 780 800 } 781 801 782 .text-gray-700 { 783 --tw-text-opacity: 1; 784 color: rgb(55 65 81 / var(--tw-text-opacity)); 802 .shadow-md { 803 --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 804 --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); 805 box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 785 806 } 786 807 … … 917 938 } 918 939 940 941 942 943 944 945 946 947 948 919 949 .hover\:bg-blue-600:hover { 920 950 --tw-bg-opacity: 1; … … 922 952 } 923 953 924 .focus\:border- blue-500:focus {954 .focus\:border--500:focus { 925 955 --tw-border-opacity: 1; 926 border-color: rgb( 59 130 246/ var(--tw-border-opacity));956 border-color: rgb( / var(--tw-border-opacity)); 927 957 } 928 958 … … 938 968 } 939 969 970 971 972 973 974 940 975 .focus\:ring-blue-500:focus { 941 976 --tw-ring-opacity: 1; … … 943 978 } 944 979 945 .focus\:ring-o pacity-50:focus {946 --tw-ring-o pacity: 0.5;980 .focus\:ring-o:focus { 981 --tw-ring-o; 947 982 } 948 983 -
nhrrob-options-table-manager/trunk/assets/js/admin.js
r3113823 r3114633 82 82 } 83 83 }); 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 84 112 }); 85 113 })(jQuery); -
nhrrob-options-table-manager/trunk/includes/Admin.php
r3112816 r3114633 40 40 41 41 if ($file == $nhrotm_plugin && current_user_can('manage_options')) { 42 $links[] = sprintf('<a href="%s">%s</a>', admin_url("tools.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager'));42 $links[] = sprintf('<a href="%s">%s</a>', admin_url("tools.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager')); 43 43 } 44 44 -
nhrrob-options-table-manager/trunk/includes/Admin/Menu.php
r3113823 r3114633 30 30 // $hook = add_menu_page(__('Options Table', 'nhrrob-options-table-manager'), __('Options Table', 'nhrrob-options-table-manager'), $capability, $parent_slug, [$this, 'settings_page'], 'dashicons-admin-post'); 31 31 // add_submenu_page( $parent_slug, __( 'Settings', 'nhrrob-options-table-manager' ), __( 'Settings', 'nhrrob-options-table-manager' ), $capability, 'nhrotm-options-table-manager-settings', [ $this, 'settings_page' ] ); 32 $hook = add_submenu_page( 'tools.php', __( ' Options Table', 'nhrrob-options-table-manager' ), __( 'Options Table', 'nhrrob-options-table-manager' ), $capability, $parent_slug, [ $this, 'settings_page' ] );32 $hook = add_submenu_page( 'tools.php', __( '', 'nhrrob-options-table-manager' ), __( 'Options Table', 'nhrrob-options-table-manager' ), $capability, $parent_slug, [ $this, 'settings_page' ] ); 33 33 34 34 add_action('admin_head-' . $hook, [$this, 'enqueue_assets']); -
nhrrob-options-table-manager/trunk/includes/Ajax.php
r3113823 r3114633 15 15 add_action('wp_ajax_nhrotm_edit_option', [ $this, 'edit_option' ]); 16 16 add_action('wp_ajax_nhrotm_delete_option', [ $this, 'delete_option' ]); 17 17 18 } 18 19 … … 32 33 // Sanitize and validate input data 33 34 $option_name = isset($_POST['option_name']) ? sanitize_text_field($_POST['option_name']) : ''; 34 $option_value = isset($_POST['option_value']) ? s anitize_text_field($_POST['option_value']) : '';35 $option_value = isset($_POST['option_value']) ? s) : ''; 35 36 36 37 if (empty($option_name)) { … … 89 90 wp_die(); 90 91 } 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 91 135 } -
nhrrob-options-table-manager/trunk/includes/Traits/GlobalTrait.php
r3113823 r3114633 59 59 'placeholder' => 1, 60 60 'value' => 1, 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 61 79 ), 62 80 ); -
nhrrob-options-table-manager/trunk/includes/views/admin/settings/index.php
r3113823 r3114633 4 4 <div class="wrap nhrotm-options-table-manager container mx-auto px-4 sm:px-6 lg:px-8 py-8"> 5 5 <h3 class="text-2xl mb-4"><?php echo esc_html(get_admin_page_title()); ?></h3> 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 6 38 7 39 <table class="nhrotm-form-table form-table min-w-full divide-y divide-gray-200 overflow-x-auto"> … … 68 100 <?php endif; ?> 69 101 </td> 70 <td class="px-6 py-4 break-words text-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); 71 ?> </td> 102 <td class="px-6 py-4 break-words text-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); ?> </td> 72 103 <td class="px-6 py-4 text-sm text-gray-500"> 73 104 <?php if (!$is_protected) : ?> -
nhrrob-options-table-manager/trunk/nhrrob-options-table-manager.php
r3113823 r3114633 6 6 * Author: Nazmul Hasan Robin 7 7 * Author URI: https://profiles.wordpress.org/nhrrob/ 8 * Version: 1.0. 48 * Version: 1.0. 9 9 * Requires at least: 6.0 10 10 * Requires PHP: 7.4 … … 28 28 * @var string 29 29 */ 30 const nhrotm_version = '1.0. 4';30 const nhrotm_version = '1.0.'; 31 31 32 32 /** -
nhrrob-options-table-manager/trunk/readme.txt
r3113823 r3114633 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 47 Stable tag: 1.0. 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 52 52 53 53 = Does it require any other plugin? = 54 55 54 No. It works as a standalone plugin. 56 57 = Is NHR Options Table Manager compatible with all WordPress themes and plugins? =58 Yes, NHR Options Table Manager is designed to be compatible with most WordPress themes and plugins.59 The plugin uses lightweight and non-intrusive methods to remove notices, minimizing the risk of conflicts with other plugins or themes.60 55 61 56 = Will using NHR Options Table Manager impact my website's performance? = 62 57 No. But it helps you to make decisions on how to reduce the db size and make your site faster! 58 59 60 61 62 63 64 65 66 63 67 64 68 … … 67 71 1. DataTable view of the wp_options table 68 72 2. Analytics on plugin usage by prefixes 73 69 74 70 75 71 76 == Changelog == 77 78 79 80 81 72 82 73 83 = 1.0.4 - 07/07/2024 =
Note: See TracChangeset
for help on using the changeset viewer.