Plugin Directory

Changeset 3112816

Timestamp:
07/05/2024 03:03:36 AM (5 weeks ago)
Author:
nhrrob
Message:

Update to version 1.0.3 from GitHub

Location:
nhrrob-options-table-manager
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • nhrrob-options-table-manager/tags/1.0.3/assets/css/admin.css

    r3107726 r3112816  
    22@tailwind components;
    33@tailwind utilities;
     4
     5
     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
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     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
  • nhrrob-options-table-manager/tags/1.0.3/assets/css/admin.out.css

    r3110065 r3112816  
    621621}
    622622
    623 .whitespace-normal {
    624   white-space: normal;
    625 }
    626 
    627 .whitespace-nowrap {
    628   white-space: nowrap;
    629 }
    630 
    631623.break-words {
    632624  overflow-wrap: break-word;
     
    707699  --tw-text-opacity: 1;
    708700  color: rgb(107 114 128 / var(--tw-text-opacity));
     701
     702
     703
     704
     705
     706
     707
     708
     709
     710
     711
     712
     713
     714
     715
     716
     717
     718
     719
     720
     721
     722
     723
     724
     725
     726
     727
     728
     729
     730
     731
     732
     733
     734
     735
     736
     737
     738
     739
     740
     741
     742
     743
     744
     745
     746
     747
     748
     749
     750
     751
     752
     753
     754
     755
     756
     757
     758
     759
     760
     761
     762
     763
     764
     765
     766
     767
     768
     769
     770
     771
     772
     773
     774
     775
     776
     777
     778
     779
     780
     781
     782
     783
     784
     785
     786
     787
     788
     789
     790
     791
     792
     793
     794
     795
     796
     797
     798
     799
     800
     801
     802
     803
     804
     805
     806
     807
     808
     809
     810
     811
     812
     813
     814
     815
     816
     817
     818
     819
     820
     821
     822
     823
     824
     825
     826
    709827}
    710828
  • nhrrob-options-table-manager/tags/1.0.3/assets/js/admin.js

    r3107726 r3112816  
    1 (function ($){
    2     console.log('alright!!');
    3    
    4     $( document ).ready(function() {
    5         let table = new DataTable('.nhrotm-options-table-manager .form-table');
    6         console.log(table);
     1(function ($) {
     2    $(document).ready(function() {
     3        let table = $('.nhrotm-options-table-manager .form-table').DataTable({
     4            "paging": true,      // Enable pagination
     5            "searching": true,   // Enable search functionality
     6            "ordering": true,    // Enable column ordering
     7            "info": true         // Show table information (e.g., "Showing 1 to 10 of 20 entries")
     8        });
    79    });
    8  })(jQuery);
     10})(jQuery);
  • nhrrob-options-table-manager/tags/1.0.3/includes/Admin.php

    r3110065 r3112816  
    4040
    4141        if ($file == $nhrotm_plugin && current_user_can('manage_options')) {
    42             $links[] = sprintf('<a href="%s">%s</a>', admin_url("admin.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager'));
     42            $links[] = sprintf('<a href="%s">%s</a>', admin_url(".php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager'));
    4343        }
    4444
  • nhrrob-options-table-manager/tags/1.0.3/includes/views/admin/settings/index.php

    r3110065 r3112816  
    44    <h3 class="text-2xl mb-4"><?php echo esc_html(get_admin_page_title()); ?></h3>
    55
    6     <table class="form-table min-w-full divide-y divide-gray-200 overflow-x-auto">
     6    <table class="form-table min-w-full divide-y divide-gray-200 overflow-x-auto">
    77        <thead class="bg-gray-50">
    88            <tr>
     
    3030                    $disabled = true;
    3131                    $class    = 'all-options disabled';
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
    3244                }
    3345            } else {
     
    3850
    3951            $name = esc_attr($option_name);
     52
     53
     54
     55
    4056        ?>
    4157            <tr>
     
    7995    // Display results
    8096    ?>
    81     <h3 class="text-2xl mb-4"><?php esc_html_e( 'Prefix Count', 'nhrrob-options-table-manager'); ?></h3>
    82     <?php
    83     echo '<ul>';
    84     foreach ($prefix_counts as $prefix => $count) {
    85         if( $count > 5 ){
    86             echo '<li>' . esc_html( $prefix ) . ': ' . esc_html( $count ) . '</li>';
    87         }
    88     }
    89     echo '</ul>';
    90    
    91     ?>
     97    <div class="prefix-count-container">
     98        <h3 class="text-2xl mb-4"><?php esc_html_e( 'Prefix Count', 'nhrrob-options-table-manager'); ?></h3>
     99        <ul class="prefix-count-list">
     100            <?php foreach ($prefix_counts as $prefix => $count) : ?>
     101                <?php if ($count > 5) : ?>
     102                    <li class="prefix-count-item">
     103                        <span class="prefix"><?php echo esc_html($prefix); ?></span>
     104                        <span class="count"><?php echo esc_html($count); ?></span>
     105                    </li>
     106                <?php endif; ?>
     107            <?php endforeach; ?>
     108        </ul>
     109    </div>
    92110</div>
  • nhrrob-options-table-manager/tags/1.0.3/nhrrob-options-table-manager.php

    r3110065 r3112816  
    55 * Description: Clean DataTable view of wp-options table to make decisions and boost your site performance!
    66 * Author: Nazmul Hasan Robin
    7  * Version: 1.0.2
     7 * Author URI: https://profiles.wordpress.org/nhrrob/
     8 * Version: 1.0.3
    89 * Requires at least: 6.0
    910 * Requires PHP: 7.4
     
    2728     * @var string
    2829     */
    29     const nhrotm_version = '1.0.2';
     30    const nhrotm_version = '1.0.';
    3031
    3132    /**
  • nhrrob-options-table-manager/tags/1.0.3/readme.txt

    r3110065 r3112816  
    11=== NHR Options Table Manager ===
    22Contributors: nhrrob
    3 Tags: options table, options manager, options table analytics, wp options, wp optimization
     3Tags:
    44Requires at least: 6.0
    55Tested up to: 6.5
    66Requires PHP: 7.4
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1212
    1313== Description ==
     14
     15
    1416
    1517Are you fed up with the size of wp otions table? You are not alone!
     
    6163== Changelog ==
    6264
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
    6375= 1.0.2 - 30/06/2024 =
    6476- Added: Settings page link on plugins page. Props @himadree12
  • nhrrob-options-table-manager/trunk/assets/css/admin.css

    r3107726 r3112816  
    22@tailwind components;
    33@tailwind utilities;
     4
     5
     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
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     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
  • nhrrob-options-table-manager/trunk/assets/css/admin.out.css

    r3110065 r3112816  
    621621}
    622622
    623 .whitespace-normal {
    624   white-space: normal;
    625 }
    626 
    627 .whitespace-nowrap {
    628   white-space: nowrap;
    629 }
    630 
    631623.break-words {
    632624  overflow-wrap: break-word;
     
    707699  --tw-text-opacity: 1;
    708700  color: rgb(107 114 128 / var(--tw-text-opacity));
     701
     702
     703
     704
     705
     706
     707
     708
     709
     710
     711
     712
     713
     714
     715
     716
     717
     718
     719
     720
     721
     722
     723
     724
     725
     726
     727
     728
     729
     730
     731
     732
     733
     734
     735
     736
     737
     738
     739
     740
     741
     742
     743
     744
     745
     746
     747
     748
     749
     750
     751
     752
     753
     754
     755
     756
     757
     758
     759
     760
     761
     762
     763
     764
     765
     766
     767
     768
     769
     770
     771
     772
     773
     774
     775
     776
     777
     778
     779
     780
     781
     782
     783
     784
     785
     786
     787
     788
     789
     790
     791
     792
     793
     794
     795
     796
     797
     798
     799
     800
     801
     802
     803
     804
     805
     806
     807
     808
     809
     810
     811
     812
     813
     814
     815
     816
     817
     818
     819
     820
     821
     822
     823
     824
     825
     826
    709827}
    710828
  • nhrrob-options-table-manager/trunk/assets/js/admin.js

    r3107726 r3112816  
    1 (function ($){
    2     console.log('alright!!');
    3    
    4     $( document ).ready(function() {
    5         let table = new DataTable('.nhrotm-options-table-manager .form-table');
    6         console.log(table);
     1(function ($) {
     2    $(document).ready(function() {
     3        let table = $('.nhrotm-options-table-manager .form-table').DataTable({
     4            "paging": true,      // Enable pagination
     5            "searching": true,   // Enable search functionality
     6            "ordering": true,    // Enable column ordering
     7            "info": true         // Show table information (e.g., "Showing 1 to 10 of 20 entries")
     8        });
    79    });
    8  })(jQuery);
     10})(jQuery);
  • nhrrob-options-table-manager/trunk/includes/Admin.php

    r3110065 r3112816  
    4040
    4141        if ($file == $nhrotm_plugin && current_user_can('manage_options')) {
    42             $links[] = sprintf('<a href="%s">%s</a>', admin_url("admin.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager'));
     42            $links[] = sprintf('<a href="%s">%s</a>', admin_url(".php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager'));
    4343        }
    4444
  • nhrrob-options-table-manager/trunk/includes/views/admin/settings/index.php

    r3110065 r3112816  
    44    <h3 class="text-2xl mb-4"><?php echo esc_html(get_admin_page_title()); ?></h3>
    55
    6     <table class="form-table min-w-full divide-y divide-gray-200 overflow-x-auto">
     6    <table class="form-table min-w-full divide-y divide-gray-200 overflow-x-auto">
    77        <thead class="bg-gray-50">
    88            <tr>
     
    3030                    $disabled = true;
    3131                    $class    = 'all-options disabled';
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
    3244                }
    3345            } else {
     
    3850
    3951            $name = esc_attr($option_name);
     52
     53
     54
     55
    4056        ?>
    4157            <tr>
     
    7995    // Display results
    8096    ?>
    81     <h3 class="text-2xl mb-4"><?php esc_html_e( 'Prefix Count', 'nhrrob-options-table-manager'); ?></h3>
    82     <?php
    83     echo '<ul>';
    84     foreach ($prefix_counts as $prefix => $count) {
    85         if( $count > 5 ){
    86             echo '<li>' . esc_html( $prefix ) . ': ' . esc_html( $count ) . '</li>';
    87         }
    88     }
    89     echo '</ul>';
    90    
    91     ?>
     97    <div class="prefix-count-container">
     98        <h3 class="text-2xl mb-4"><?php esc_html_e( 'Prefix Count', 'nhrrob-options-table-manager'); ?></h3>
     99        <ul class="prefix-count-list">
     100            <?php foreach ($prefix_counts as $prefix => $count) : ?>
     101                <?php if ($count > 5) : ?>
     102                    <li class="prefix-count-item">
     103                        <span class="prefix"><?php echo esc_html($prefix); ?></span>
     104                        <span class="count"><?php echo esc_html($count); ?></span>
     105                    </li>
     106                <?php endif; ?>
     107            <?php endforeach; ?>
     108        </ul>
     109    </div>
    92110</div>
  • nhrrob-options-table-manager/trunk/nhrrob-options-table-manager.php

    r3110065 r3112816  
    55 * Description: Clean DataTable view of wp-options table to make decisions and boost your site performance!
    66 * Author: Nazmul Hasan Robin
    7  * Version: 1.0.2
     7 * Author URI: https://profiles.wordpress.org/nhrrob/
     8 * Version: 1.0.3
    89 * Requires at least: 6.0
    910 * Requires PHP: 7.4
     
    2728     * @var string
    2829     */
    29     const nhrotm_version = '1.0.2';
     30    const nhrotm_version = '1.0.';
    3031
    3132    /**
  • nhrrob-options-table-manager/trunk/readme.txt

    r3110065 r3112816  
    11=== NHR Options Table Manager ===
    22Contributors: nhrrob
    3 Tags: options table, options manager, options table analytics, wp options, wp optimization
     3Tags:
    44Requires at least: 6.0
    55Tested up to: 6.5
    66Requires PHP: 7.4
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1212
    1313== Description ==
     14
     15
    1416
    1517Are you fed up with the size of wp otions table? You are not alone!
     
    6163== Changelog ==
    6264
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
    6375= 1.0.2 - 30/06/2024 =
    6476- Added: Settings page link on plugins page. Props @himadree12
Note: See TracChangeset for help on using the changeset viewer.