Plugin Directory

Changeset 3065191

Timestamp:
04/05/2024 05:28:13 AM (4 months ago)
Author:
itpathsolutions
Message:

1.0.2

  • Fix - Delete All button issue
  • Improvement - UI Updates
Location:
itpathsolutions-media-cleaner-and-database-optimizer
Files:
45 added
8 edited

Legend:

Unmodified
Added
Removed
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/README.txt

    r3054358 r3065191  
    33Tags: delete, images, media, files, database, database optimizer, media cleaner
    44Requires at least: 6.2
    5 Tested up to: 6.4
     5Tested up to: 6.
    66Requires PHP: 7.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2121==  Features ==
    22221. Media Cleaner
    23 
    2423      - View all media files utilized on your site.
    2524      - Easily clear unused media not associated with any posts or pages.
     
    2726      - Detect media usage across your website effortlessly.
    2827      - Save time by skipping the cleanup process for media files that are in use.
     28
    29292.  Database Cleaner
    3030
     
    52523. You will find WP Optimizer in your WordPress admin screen.
    5353
     54
     55
     56
     57
     58
     59
     60
    5461== Changelog ==
    5562
     63
     64
     65
     66
    5667= 1.0.1 =
    57 * New - Media table column sortable
    58 * New - Multiple media delete
    59 * Fix - Layout improve and fix changes
     68 New - Media table column sortable
     69 New - Multiple media delete
     70 Fix - Layout improve and fix changes
    6071
    6172= 1.0.0 =
    6273* Initial Release
    63 
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/class-aiowc-admin.php

    r3039192 r3065191  
    143143            wp_enqueue_script( $this->plugin_name.'-chart', plugin_dir_url( __FILE__ ) . 'js/Chart.min.js', array(), '1.0.0',true);
    144144           
    145             wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/aiowc-admin.js', array( 'jquery' ), $this->version, false );
     145            wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/aiowc-admin.js', array( '' ), $this->version, false );
    146146
    147147            wp_localize_script( $this->plugin_name, 'ajaxObj', array( 'ajaxurl' => admin_url('admin-ajax.php')));
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/css/aiowc-admin.css

    r3054358 r3065191  
    3434
    3535/*added by j dashboard*/
    36 .aiowc .card, #pluginChart,#themeChart, #allChart, #mediaChart {
     36.aiowc .card, #pluginChart,#themeChart, #allChart, #mediaChart {
    3737    padding: 0;
    3838}
     
    5353
    5454.aiowc .dash-stats-list h4 {
    55     color: #696cff;
     55    color: #;
    5656    font-size: 21px;
    5757    font-weight: 700;
     
    6161}
    6262.aiowc .dash-stats-list p {
    63     color: #777;
     63    color: #;
    6464    font-size: 14px;
    6565    font-weight: 600;
     
    8888    transition: all .2s ease-in-out;
    8989    z-index: 1;
    90     color: #c3c4ff;
     90    color: #;
    9191}
    9292
     
    107107}
    108108.clean_table .button-primary {
    109     background: red;
    110     border: red;
     109    background: ;
     110    border: ;
    111111    padding: 10px 40px;
    112112    font-weight: 500;
    113113    letter-spacing: 1px;
    114114}
     115
     116
     117
    115118body.all-in-one-wp-optimizer_page_view-optimize {
    116119    background: #edf2f9;
     
    118121
    119122.button-wiggle {
    120     padding: 15px 45px;
    121     background: #2271b1;
     123    padding: 15px;
     124    background: #;
    122125    color: #fff;
    123126    border-radius: 40px;
     
    130133}
    131134.button-wiggle:hover {
    132     background: var(--falcon-heading-color);
     135    background: ;
    133136    color: #fff;
    134137    text-decoration: none;
     
    180183}
    181184#media_list_wrapper .all_delete_media {
    182     background: transparent;
    183     color: rgb(231, 50, 50);
    184     font-weight: 600;
    185     text-transform: uppercase;
    186     display: inline-block;
     185    color: #fff;
     186    font-weight: 600;
     187    text-transform: uppercase;
     188    display: block;
    187189    transition: .3s;
    188190}
     
    205207    display: flex;
    206208    align-items: center;
     209
    207210}
    208211#media_list_filter {
    209     padding: 30px 15px 0 15px;
     212    padding: 15px;
    210213}
    211214#media_list_length {
    212     padding: 15px 15px 0 15px;
     215    padding: 15px 15px 10px 15px;
     216}
     217#media_list_filter input {
     218    margin-left: 5px;
    213219}
    214220#clean_and_optimizer_wrapper .modal-dialog{
     
    227233    max-width: 100px;
    228234}
     235
     236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
     249
     250
     251
     252
     253
     254
     255
     256
     257
     258
     259
     260
     261
     262
     263
     264
     265
     266
     267
     268
     269
     270
     271
     272
     273
     274
     275
     276
     277
     278
     279
     280
     281
     282
     283
     284
     285
     286
     287
     288
     289
     290
     291
     292
     293
     294
     295
     296
     297
     298
     299
     300
     301
     302
     303
     304
     305
     306
     307
     308
     309
     310
     311
     312
     313
     314
     315
     316
     317
     318
     319
     320
     321
     322
     323
     324
     325
     326
     327
     328
     329
     330
     331
     332
     333
     334
     335
     336
     337
     338
     339
     340
     341
     342
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/js/aiowc-admin.js

    r3054358 r3065191  
    109109       
    110110        /*
    111         * Plugin Chart Detail
     111        * Plugin Chart Detail
    112112        */
    113         if(jQuery('.plugin_chart_data, .theme_chart_data, .media_chart_data').length){
     113        if(jQuery('.plugin_chart_data, ._chart_data').length){
    114114
    115115            // Plugin Chart
     
    155155                });
    156156            });
    157 
    158             pieChart(theme_array, 'themeChart');
     157            pieChart(theme_array, 'themeChart');
     158
     159           
    159160
    160161            function pieChart(dynamicChartData, classname) {
    161162                var oilCanvas = document.getElementById(classname);
    162                 /*Chart.defaults.global.defaultFontFamily = "Lato";*/
    163163                Chart.defaults.global.defaultFontSize = 14;
    164164                var oilData = {
     
    211211            function allChart(dynamicChartData, classname) {           
    212212                var oilCanvas = document.getElementById(classname);
    213                 /*Chart.defaults.global.defaultFontFamily = "Lato";*/
    214213                Chart.defaults.global.defaultFontSize = 14;
    215214                var oilData = {
     
    236235                });
    237236            }
    238             /*var table_array = [];
    239             jQuery('.table_list_data').each(function() {
    240                 var label = jQuery(this).find('.title').text();
    241                 var yValue = parseFloat(jQuery(this).find('.value').text());
    242                 var color = generateRandomColor();
    243                 if(yValue != 0){
    244                     var rowData = {
    245                         y: yValue,
    246                         label: label,
    247                         color: color
    248                     };
    249                     table_array.push(rowData);
    250                 }
    251 
    252             });
    253            
    254             allChart(table_array);
    255 
    256             function allChart(values) {
    257                 var allChart = new CanvasJS.Chart("allChart", {
    258                     backgroundColor: "white",
    259                     colorSet: "colorSet3",
    260                     title: {
    261                       fontFamily: "Verdana",
    262                       fontSize: 25,
    263                       fontWeight: "normal",
    264                     },
    265                     animationEnabled: true,
    266                     legend: {
    267                       verticalAlign: "bottom",
    268                       horizontalAlign: "center"
    269                     },
    270                     theme: "theme2",
    271                     data: [{
    272                         indexLabelFontSize: 15,
    273                         indexLabelFontFamily: "Monospace",
    274                         indexLabelFontColor: "darkgrey",
    275                         indexLabelLineColor: "darkgrey",
    276                         indexLabelPlacement: "outside",
    277                         type: "column",
    278                         showInLegend: false,
    279                         legendMarkerColor: "grey",
    280                         dataPoints: values
    281                       }]
    282                 });
    283                 allChart.render();
    284             }*/
    285237        }
    286238
     
    389341
    390342        }
     343
     344
     345
    391346    });
    392347
     348
     349
     350
     351
     352
     353
     354
     355
     356
     357
     358
     359
     360
     361
     362
     363
     364
     365
     366
     367
     368
     369
     370
     371
     372
     373
     374
     375
     376
     377
     378
     379
     380
     381
     382
     383
     384
     385
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408
     409
     410
     411
     412
     413
     414
     415
     416
     417
     418
     419
     420
     421
     422
     423
     424
     425
     426
     427
     428
     429
     430
     431
     432
     433
     434
     435
    393436})( jQuery );
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/partials/aiowc-admin-display.php

    r3054358 r3065191  
    2929<div id="clean_and_optimizer_wrapper" class="aiowc">
    3030    <div class="wrap">
    31         <h2><?php esc_html_e('Media Cleaner and Database Optimizer', 'aiowc'); ?></h2>
    32         <p class="text-center"><a href="<?php echo esc_url(menu_page_url('view-optimize', false)); ?>" class="btn-start button-wiggle"><?php esc_html_e('Start Now', 'aiowc'); ?></a></p>
     31        <div class="mailtitle">
     32            <h2><?php esc_html_e('Media Cleaner and Database Optimizer', 'aiowc'); ?></h2>
     33            <a href="<?php echo esc_url(menu_page_url('view-optimize', false)); ?>" class="btn-start button-wiggle"><?php esc_html_e('Start Optimization', 'aiowc'); ?></a>
     34        </div>
     35        <?php
     36        $wp_version = get_bloginfo('version');
     37        $php_version = phpversion();?>
     38        <p class="php_version"><span>Wordpress Current Version: <strong><?php echo $wp_version;?></strong></span><span>PHP Current Version: <strong><?php echo $php_version;?></strong></span></p>
    3339        <div class="row g-4 mb-4">
    34             <div class="col-md-4 col-xxl-4">
     40            <div class="col-md-">
    3541                <div class="card h-md-100 ecommerce-card-min-width">
    3642                    <div class="card-header pb-0">
     
    4349                        <div class="row fs-10 fw-semi-bold text-500 g-0 pt-4 pie_chart">
    4450                            <div class="col-auto d-flex align-items-center pe-3 plugin_chart_data">
    45                                 <span class="dot bg-primary color" data-color="#ff6e00" style="background-color: #ff6e00 !important;"></span>
     51                                <span class="dot bg-primary color" data-color="#0 !important;"></span>
    4652                                <span class="title"><?php esc_html_e('Inactive Plugins', 'aiowc'); ?>&nbsp;</span>
    4753                                <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($inactive_plugins_count); ?></span>
     
    5662                </div>
    5763            </div>
    58             <div class="col-md-4 col-xxl-4">
     64            <div class="col-md-">
    5965                <div class="card h-md-100 ecommerce-card-min-width">
    6066                    <div class="card-header pb-0">
     
    6874                            <div class="col-auto d-flex align-items-center pe-3 media_chart_data">
    6975                                <span class="dot bg-primary color" data-color="#523759" style="background-color: #523759 !important;"></span>
    70                                 <span class="title"><?php esc_html_e('Occupied Media File', 'aiowc'); ?>&nbsp;</span>
     76                                <span class="title"><?php esc_html_e('ed Media File', 'aiowc'); ?>&nbsp;</span>
    7177                                <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($use_media_count); ?></span>
    7278                            </div>
    7379                            <div class="col-auto d-flex align-items-center pe-3 media_chart_data">
    7480                                <span class="dot bg-info color" data-color="#9c5435" style="background-color: #9c5435 !important;"></span>
    75                                 <span class="title"><?php esc_html_e('Unoccupied Media File', 'aiowc'); ?>&nbsp;</span>
     81                                <span class="title"><?php esc_html_e('Uned Media File', 'aiowc'); ?>&nbsp;</span>
    7682                                <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html(array_sum((array)$total_media_count) - $use_media_count); ?></span>
    7783                            </div>                       
     
    8086                </div>
    8187            </div>
    82             <div class="col-md-4 col-xxl-4">
     88            <div class="col-md-">
    8389                <div class="card h-md-100 ecommerce-card-min-width">
    8490                    <div class="card-header pb-0">
     
    9197                        <div class="row fs-10 fw-semi-bold text-500 g-0 pt-4 pie_chart">
    9298                            <div class="col-auto d-flex align-items-center pe-3 theme_chart_data">
    93                                 <span class="dot bg-primary color" data-color="#00203f" style="background-color: #00203f !important;"></span>
     99                                <span class="dot bg-primary color" data-color="#00 !important;"></span>
    94100                                <span class="title"><?php esc_html_e('Inactive Themes', 'aiowc'); ?>&nbsp;</span>
    95101                                <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($inactive_themes_count); ?></span>
    96102                            </div>
    97103                            <div class="col-auto d-flex align-items-center pe-3 theme_chart_data">
    98                                 <span class="dot bg-info color" data-color="#adf0d1" style="background-color: #adf0d1 !important;"></span>
     104                                <span class="dot bg-info color" data-color="# !important;"></span>
    99105                                <span class="title"><?php esc_html_e('Active Theme', 'aiowc'); ?>&nbsp;</span>
    100106                                <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($all_themes - $inactive_themes_count); ?></span>
    101107                            </div>                       
     108
     109
     110
     111
     112
     113
     114
     115
     116
     117
     118
     119
     120
     121
     122
     123
    102124                        </div>
    103125                    </div>
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/partials/aiowc-admin-table-display.php

    r3054358 r3065191  
    2424<div id="clean_and_optimizer_wrapper" class="aiowc">
    2525    <div class="wrap">
    26         <h1><?php esc_html_e('Database Optimizer', 'aiowc'); ?></h1>
    27        
     26        <h1><?php esc_html_e('Advanced Database Optimizer', 'aiowc'); ?></h1>
    2827        <h2></h2>
    2928        <div class="row mt-4">
     
    8988                        <form  method="post">
    9089                            <?php wp_nonce_field('aiowc_all_nonce','aiowc_all_nonce' ); ?>
    91                             <input type="hidden" name="type" value="revision_cleaner_all" />
     90                            <input type="hidden" name="type" value="/>
    9291                            <input type="submit" class="button-primary" value="<?php esc_attr_e('Delete All', 'aiowc'); ?>" />
    9392                            <div class="box" style="display: none;">
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/partials/aiowc-media-display.php

    r3054358 r3065191  
    33<div id="clean_and_optimizer_wrapper" class="aiowc">
    44    <div class="wrap">
    5         <h1><?php esc_html_e('Media Cleaner', 'aiowc'); ?></h1>
     5        <h1><?php esc_html_e('Media Cleaner', 'aiowc'); ?></h1>
    66        <h2></h2>
    77
  • itpathsolutions-media-cleaner-and-database-optimizer/trunk/aiowc.php

    r3054358 r3065191  
    1717 * Plugin URI:        https://wordpress.org/plugins/itpathsolutions-media-cleaner-and-database-optimizer/
    1818 * Description:       The most powerful tool for clearing unused media from your website and optimizing your database to boost site performance.
    19  * Version:           1.0.1
     19 * Version:           1.0.
    2020 * Author:            IT Path Solutions
    2121 * Author URI:        https://www.itpathsolutions.com/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'AIOWC_VERSION', '1.0.1' );
     38define( 'AIOWC_VERSION', '1.0.' );
    3939
    4040define( 'AIOWC_PLUGIN_BASENAME', basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.