Plugin Directory

Changeset 3114633

Timestamp:
07/09/2024 02:54:03 AM (4 weeks ago)
Author:
nhrrob
Message:

Update to version 1.0.5 from GitHub

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  
    108108    color: #555; /* Gray color for count */
    109109}
     110
     111
     112
     113
  • nhrrob-options-table-manager/tags/1.0.5/assets/css/admin.out.css

    r3113823 r3114633  
    598598}
    599599
    600 .my-4 {
    601   margin-top: 1rem;
    602   margin-bottom: 1rem;
    603 }
    604 
    605600.mb-4 {
    606601  margin-bottom: 1rem;
    607602}
    608603
    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;
    615606}
    616607
     
    619610}
    620611
    621 .mb-8 {
    622   margin-bottom: 2rem;
     612.m {
     613  margin-rem;
    623614}
    624615
     
    627618}
    628619
     620
     621
     622
     623
    629624.table {
    630625  display: table;
    631626}
    632627
     628
     629
     630
     631
    633632.w-full {
    634633  width: 100%;
     
    637636.min-w-full {
    638637  min-width: 100%;
     638
     639
     640
     641
     642
     643
     644
     645
     646
     647
     648
     649
    639650}
    640651
     
    662673}
    663674
     675
     676
     677
     678
    664679.rounded-md {
    665680  border-radius: 0.375rem;
    666 }
    667 
    668 .border {
    669   border-width: 1px;
    670681}
    671682
     
    685696}
    686697
     698
     699
     700
     701
     702
    687703.bg-red-500 {
    688704  --tw-bg-opacity: 1;
     
    695711}
    696712
    697 .p-4 {
    698   padding: 1rem;
     713.p- {
     714  padding: 1rem;
    699715}
    700716
     
    729745}
    730746
    731 .px-3 {
    732   padding-left: 0.75rem;
    733   padding-right: 0.75rem;
    734 }
    735 
    736747.text-left {
    737748  text-align: left;
     
    748759}
    749760
     761
     762
     763
     764
     765
    750766.text-xs {
    751767  font-size: 0.75rem;
     
    753769}
    754770
    755 .text-lg {
    756   font-size: 1.125rem;
    757   line-height: 1.75rem;
    758 }
    759 
    760771.font-medium {
    761772  font-weight: 500;
     773
     774
     775
     776
    762777}
    763778
     
    775790}
    776791
     792
     793
     794
     795
     796
    777797.text-white {
    778798  --tw-text-opacity: 1;
     
    780800}
    781801
    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);
    785806}
    786807
     
    917938}
    918939
     940
     941
     942
     943
     944
     945
     946
     947
     948
    919949.hover\:bg-blue-600:hover {
    920950  --tw-bg-opacity: 1;
     
    922952}
    923953
    924 .focus\:border-blue-500:focus {
     954.focus\:border--500:focus {
    925955  --tw-border-opacity: 1;
    926   border-color: rgb(59 130 246 / var(--tw-border-opacity));
     956  border-color: rgb( / var(--tw-border-opacity));
    927957}
    928958
     
    938968}
    939969
     970
     971
     972
     973
     974
    940975.focus\:ring-blue-500:focus {
    941976  --tw-ring-opacity: 1;
     
    943978}
    944979
    945 .focus\:ring-opacity-50:focus {
    946   --tw-ring-opacity: 0.5;
     980.focus\:ring-o:focus {
     981  --tw-ring-o;
    947982}
    948983
  • nhrrob-options-table-manager/tags/1.0.5/assets/js/admin.js

    r3113823 r3114633  
    8282            }
    8383        });
     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
    84112    });
    85113})(jQuery);
  • nhrrob-options-table-manager/tags/1.0.5/includes/Admin.php

    r3112816 r3114633  
    4040
    4141        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'));
    4343        }
    4444
  • nhrrob-options-table-manager/tags/1.0.5/includes/Admin/Menu.php

    r3113823 r3114633  
    3030        // $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');
    3131        // 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' ] );
    3333
    3434        add_action('admin_head-' . $hook, [$this, 'enqueue_assets']);
  • nhrrob-options-table-manager/tags/1.0.5/includes/Ajax.php

    r3113823 r3114633  
    1515        add_action('wp_ajax_nhrotm_edit_option', [ $this, 'edit_option' ]);
    1616        add_action('wp_ajax_nhrotm_delete_option', [ $this, 'delete_option' ]);
     17
    1718    }
    1819   
     
    3233        // Sanitize and validate input data
    3334        $option_name = isset($_POST['option_name']) ? sanitize_text_field($_POST['option_name']) : '';
    34         $option_value = isset($_POST['option_value']) ? sanitize_text_field($_POST['option_value']) : '';
     35        $option_value = isset($_POST['option_value']) ? s) : '';
    3536   
    3637        if (empty($option_name)) {
     
    8990        wp_die();
    9091    }
     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
    91135}
  • nhrrob-options-table-manager/tags/1.0.5/includes/Traits/GlobalTrait.php

    r3113823 r3114633  
    5959                'placeholder' => 1,
    6060                'value' => 1,
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
    6179            ),
    6280        );
  • nhrrob-options-table-manager/tags/1.0.5/includes/views/admin/settings/index.php

    r3113823 r3114633  
    44<div class="wrap nhrotm-options-table-manager container mx-auto px-4 sm:px-6 lg:px-8 py-8">
    55    <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
    638
    739    <table class="nhrotm-form-table form-table min-w-full divide-y divide-gray-200 overflow-x-auto">
     
    68100                        <?php endif; ?>
    69101                    </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>
    72103                    <td class="px-6 py-4 text-sm text-gray-500">
    73104                        <?php if (!$is_protected) : ?>
  • nhrrob-options-table-manager/tags/1.0.5/nhrrob-options-table-manager.php

    r3113823 r3114633  
    66 * Author: Nazmul Hasan Robin
    77 * Author URI: https://profiles.wordpress.org/nhrrob/
    8  * Version: 1.0.4
     8 * Version: 1.0.
    99 * Requires at least: 6.0
    1010 * Requires PHP: 7.4
     
    2828     * @var string
    2929     */
    30     const nhrotm_version = '1.0.4';
     30    const nhrotm_version = '1.0.';
    3131
    3232    /**
  • nhrrob-options-table-manager/tags/1.0.5/readme.txt

    r3113823 r3114633  
    55Tested up to: 6.5
    66Requires PHP: 7.4
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5252
    5353= Does it require any other plugin? =
    54 
    5554No. 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.
    6055
    6156= Will using NHR Options Table Manager impact my website's performance? =
    6257No. 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
    6367
    6468
     
    67711. DataTable view of the wp_options table
    68722. Analytics on plugin usage by prefixes
     73
    6974
    7075
    7176== Changelog ==
     77
     78
     79
     80
     81
    7282
    7383= 1.0.4 - 07/07/2024 =
  • nhrrob-options-table-manager/trunk/assets/css/admin.css

    r3112816 r3114633  
    108108    color: #555; /* Gray color for count */
    109109}
     110
     111
     112
     113
  • nhrrob-options-table-manager/trunk/assets/css/admin.out.css

    r3113823 r3114633  
    598598}
    599599
    600 .my-4 {
    601   margin-top: 1rem;
    602   margin-bottom: 1rem;
    603 }
    604 
    605600.mb-4 {
    606601  margin-bottom: 1rem;
    607602}
    608603
    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;
    615606}
    616607
     
    619610}
    620611
    621 .mb-8 {
    622   margin-bottom: 2rem;
     612.m {
     613  margin-rem;
    623614}
    624615
     
    627618}
    628619
     620
     621
     622
     623
    629624.table {
    630625  display: table;
    631626}
    632627
     628
     629
     630
     631
    633632.w-full {
    634633  width: 100%;
     
    637636.min-w-full {
    638637  min-width: 100%;
     638
     639
     640
     641
     642
     643
     644
     645
     646
     647
     648
     649
    639650}
    640651
     
    662673}
    663674
     675
     676
     677
     678
    664679.rounded-md {
    665680  border-radius: 0.375rem;
    666 }
    667 
    668 .border {
    669   border-width: 1px;
    670681}
    671682
     
    685696}
    686697
     698
     699
     700
     701
     702
    687703.bg-red-500 {
    688704  --tw-bg-opacity: 1;
     
    695711}
    696712
    697 .p-4 {
    698   padding: 1rem;
     713.p- {
     714  padding: 1rem;
    699715}
    700716
     
    729745}
    730746
    731 .px-3 {
    732   padding-left: 0.75rem;
    733   padding-right: 0.75rem;
    734 }
    735 
    736747.text-left {
    737748  text-align: left;
     
    748759}
    749760
     761
     762
     763
     764
     765
    750766.text-xs {
    751767  font-size: 0.75rem;
     
    753769}
    754770
    755 .text-lg {
    756   font-size: 1.125rem;
    757   line-height: 1.75rem;
    758 }
    759 
    760771.font-medium {
    761772  font-weight: 500;
     773
     774
     775
     776
    762777}
    763778
     
    775790}
    776791
     792
     793
     794
     795
     796
    777797.text-white {
    778798  --tw-text-opacity: 1;
     
    780800}
    781801
    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);
    785806}
    786807
     
    917938}
    918939
     940
     941
     942
     943
     944
     945
     946
     947
     948
    919949.hover\:bg-blue-600:hover {
    920950  --tw-bg-opacity: 1;
     
    922952}
    923953
    924 .focus\:border-blue-500:focus {
     954.focus\:border--500:focus {
    925955  --tw-border-opacity: 1;
    926   border-color: rgb(59 130 246 / var(--tw-border-opacity));
     956  border-color: rgb( / var(--tw-border-opacity));
    927957}
    928958
     
    938968}
    939969
     970
     971
     972
     973
     974
    940975.focus\:ring-blue-500:focus {
    941976  --tw-ring-opacity: 1;
     
    943978}
    944979
    945 .focus\:ring-opacity-50:focus {
    946   --tw-ring-opacity: 0.5;
     980.focus\:ring-o:focus {
     981  --tw-ring-o;
    947982}
    948983
  • nhrrob-options-table-manager/trunk/assets/js/admin.js

    r3113823 r3114633  
    8282            }
    8383        });
     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
    84112    });
    85113})(jQuery);
  • nhrrob-options-table-manager/trunk/includes/Admin.php

    r3112816 r3114633  
    4040
    4141        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'));
    4343        }
    4444
  • nhrrob-options-table-manager/trunk/includes/Admin/Menu.php

    r3113823 r3114633  
    3030        // $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');
    3131        // 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' ] );
    3333
    3434        add_action('admin_head-' . $hook, [$this, 'enqueue_assets']);
  • nhrrob-options-table-manager/trunk/includes/Ajax.php

    r3113823 r3114633  
    1515        add_action('wp_ajax_nhrotm_edit_option', [ $this, 'edit_option' ]);
    1616        add_action('wp_ajax_nhrotm_delete_option', [ $this, 'delete_option' ]);
     17
    1718    }
    1819   
     
    3233        // Sanitize and validate input data
    3334        $option_name = isset($_POST['option_name']) ? sanitize_text_field($_POST['option_name']) : '';
    34         $option_value = isset($_POST['option_value']) ? sanitize_text_field($_POST['option_value']) : '';
     35        $option_value = isset($_POST['option_value']) ? s) : '';
    3536   
    3637        if (empty($option_name)) {
     
    8990        wp_die();
    9091    }
     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
    91135}
  • nhrrob-options-table-manager/trunk/includes/Traits/GlobalTrait.php

    r3113823 r3114633  
    5959                'placeholder' => 1,
    6060                'value' => 1,
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
    6179            ),
    6280        );
  • nhrrob-options-table-manager/trunk/includes/views/admin/settings/index.php

    r3113823 r3114633  
    44<div class="wrap nhrotm-options-table-manager container mx-auto px-4 sm:px-6 lg:px-8 py-8">
    55    <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
    638
    739    <table class="nhrotm-form-table form-table min-w-full divide-y divide-gray-200 overflow-x-auto">
     
    68100                        <?php endif; ?>
    69101                    </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>
    72103                    <td class="px-6 py-4 text-sm text-gray-500">
    73104                        <?php if (!$is_protected) : ?>
  • nhrrob-options-table-manager/trunk/nhrrob-options-table-manager.php

    r3113823 r3114633  
    66 * Author: Nazmul Hasan Robin
    77 * Author URI: https://profiles.wordpress.org/nhrrob/
    8  * Version: 1.0.4
     8 * Version: 1.0.
    99 * Requires at least: 6.0
    1010 * Requires PHP: 7.4
     
    2828     * @var string
    2929     */
    30     const nhrotm_version = '1.0.4';
     30    const nhrotm_version = '1.0.';
    3131
    3232    /**
  • nhrrob-options-table-manager/trunk/readme.txt

    r3113823 r3114633  
    55Tested up to: 6.5
    66Requires PHP: 7.4
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5252
    5353= Does it require any other plugin? =
    54 
    5554No. 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.
    6055
    6156= Will using NHR Options Table Manager impact my website's performance? =
    6257No. 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
    6367
    6468
     
    67711. DataTable view of the wp_options table
    68722. Analytics on plugin usage by prefixes
     73
    6974
    7075
    7176== Changelog ==
     77
     78
     79
     80
     81
    7282
    7383= 1.0.4 - 07/07/2024 =
Note: See TracChangeset for help on using the changeset viewer.