Plugin Directory

Changeset 2794199


Ignore:
Timestamp:
10/04/2022 06:05:56 PM (3 years ago)
Author:
soflyy
Message:

Release new version 3.7.0

Location:
wp-all-import
Files:
641 added
6 edited

Legend:

Unmodified
Added
Removed
  • wp-all-import/trunk/plugin.php

    r2791735 r2794199  
    44Plugin URI: http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=wp-plugins-page&utm_campaign=upgrade-to-pro
    55Description: The most powerful solution for importing XML and CSV files to WordPress. Create Posts and Pages with content from any XML or CSV file. A paid upgrade to WP All Import Pro is available for support and additional features.
    6 Version: 3.6.9
     6Version: 3.7.0
    77Author: Soflyy
    88*/
     
    2626define('WP_ALL_IMPORT_PREFIX', 'pmxi_');
    2727
    28 define('PMXI_VERSION', '3.6.9');
     28define('PMXI_VERSION', '3.7.0');
    2929
    3030define('PMXI_EDITION', 'free');
     
    243243        // register autoloading method
    244244        spl_autoload_register(array($this, 'autoload'));
     245
     246        // require aux code
     247        if (is_dir(self::ROOT_DIR . '/aux')) foreach (PMXI_Helper::safe_glob(self::ROOT_DIR . '/aux/*.php', PMXI_Helper::GLOB_RECURSE | PMXI_Helper::GLOB_PATH) as $filePath) {
     248            require_once $filePath;
     249        }
    245250
    246251        // register helpers
  • wp-all-import/trunk/readme.txt

    r2791735 r2794199  
    33Requires at least: 4.1
    44Tested up to: 6.0
    5 Stable tag: 3.6.9
     5Stable tag: 3.7.0
    66Tags: wordpress csv import, wordpress xml import, xml, csv, datafeed, import, migrate, import csv to wordpress, import xml to wordpress, advanced xml import, advanced csv import, bulk csv import, bulk xml import, bulk data import, xml to custom post type, csv to custom post type, woocommerce csv import, woocommerce xml import, csv import, import csv, xml import, import xml, csv importer
    77
     
    113113
    114114== Changelog ==
     115
     116= 3.7.0 =
     117* improvement: UI styling improvements
    115118
    116119= 3.6.9 =
  • wp-all-import/trunk/static/css/admin.css

    r2570179 r2794199  
    621621    height: 24px;
    622622    position: relative;
    623     top:10px;
     623    top:3px;
    624624}
    625625.wpallimport-plugin .updated_bottom{
     
    627627    border-color: #E6DB55;
    628628    margin: 15px 0 15px;
    629     padding: 0 0.6em;
    630     -moz-border-radius: 3px 3px 3px 3px;
     629    padding: 12px;
    631630    border-radius: 3px;
    632631    border-style: solid;
    633632    border-width: 1px;
    634 }
     633    margin-top: 0px;
     634    display: flex;
     635    justify-content: space-between;
     636    align-items: center;
     637    flex-direction: row;
     638    gap: 12px;
     639}
     640
     641.wpallimport-plugin .updated_bottom span {
     642    display: flex;
     643    justify-content: space-between;
     644    align-items: center;
     645    flex-direction: row;
     646    gap: 12px;
     647}
     648
     649
    635650.wpallimport-plugin .wpallimport-delete-posts-warning{
    636651    display: none;
     
    30203035    color: #222222;
    30213036    position: relative;
     3037    overflow: hidden;
    30223038}
    30233039    .wpallimport-plugin #processbar div{
     
    30253041        height: 70px;
    30263042        width: 0%;
     3043        border-radius: 0;
     3044        -moz-border-radius: 0;
     3045        -khtml-border-radius: 0;
     3046        -webkit-border-radius: 0;
    30273047        position: absolute;     
    30283048        top:0;
    30293049    }
    30303050.wpallimport-plugin .progress_processed {
     3051    margin-top:20px;
    30313052    margin-bottom: 20px;
    3032     text-align: right;
     3053
    30333054}
    30343055.wpallimport-plugin .progress_details {
    3035     text-align: right;
     3056
    30363057}
    30373058.wpallimport-plugin .progress_details .progress_details_item {
    3038     margin-left: 10px;
     3059    margin-left: 0;
    30393060}
    30403061.wpallimport-plugin #import_progress{
     
    30563077        font-size: 60px;
    30573078    }
    3058 .wpallimport-plugin #right_progress{ 
    3059     position: absolute;
     3079.wpallimport-plugin #right_progress{
     3080    text-align:center;
    30603081    right: 0;
    30613082    color:#777;
     
    30643085        color:#000;
    30653086    }
    3066 .wpallimport-plugin #left_progress{ 
    3067     position: absolute;
     3087.wpallimport-plugin #left_progress{
     3088    text-align:center;
    30683089    left: 0;
    30693090    color: #777;
  • wp-all-import/trunk/static/js/wp-all-import.js

    r2356916 r2794199  
    22 * plugin javascript
    33 */
    4 (function($){$(function () {
    5        
    6     $('#dismiss').click(function(){
     4(function ($) {
     5  $(function () {
     6    $("#dismiss").click(function () {
     7      $(this).parents("div.updated:first").slideUp();
     8      $.post(
     9        "admin.php?page=pmxi-admin-settings&action=dismiss",
     10        { dismiss: true },
     11        function (data) {},
     12        "html"
     13      );
     14    });
    715
    8         $(this).parents('div.updated:first').slideUp();
    9         $.post('admin.php?page=pmxi-admin-settings&action=dismiss', {dismiss: true}, function (data) {}, 'html');
    10        
    11     });
    12    
    13     $('#dismiss_manage_top').click(function(){
     16    $("#dismiss_manage_top").click(function () {
     17      $(this).parents("div.updated:first").slideUp();
     18      $.post(
     19        "admin.php?page=pmxi-admin-settings&action=dismiss_manage_top",
     20        { dismiss: true },
     21        function (data) {},
     22        "json"
     23      );
     24    });
    1425
    15         $(this).parents('div.updated:first').slideUp();
    16         $.post('admin.php?page=pmxi-admin-settings&action=dismiss_manage_top', {dismiss: true}, function (data) {
    17            
    18         }, 'json');
    19        
    20     });
     26    $("#dismiss_manage_bottom").click(function () {
     27      $(this).parents("div.updated_bottom").slideUp();
     28      $.post(
     29        "admin.php?page=pmxi-admin-settings&action=dismiss_manage_bottom",
     30        { dismiss: true },
     31        function (data) {},
     32        "json"
     33      );
     34    });
    2135
    22     $('#dismiss_manage_bottom').click(function(){
     36    $(".wpallimport-dismissible")
     37      .find("button.notice-dismiss")
     38      .on("click", function (e) {
     39        var request = {
     40          action: "dismiss_notifications",
     41          security: wp_all_import_security,
     42          addon: $(this).parent("div:first").attr("rel"),
     43        };
    2344
    24         $(this).parents('div.updated_bottom:first').slideUp();
    25         $.post('admin.php?page=pmxi-admin-settings&action=dismiss_manage_bottom', {dismiss: true}, function (data) {
    26            
    27         }, 'json');
    28        
    29     });
     45        var ths = $(this);
    3046
    31     $('.wpallimport-dismissible').find('button.notice-dismiss').on('click', (function(e){
    32 
    33         var request = {
    34             action: 'dismiss_notifications',       
    35             security: wp_all_import_security,   
    36             addon: $(this).parent('div:first').attr('rel')
    37         };     
    38 
    39         var ths = $(this);
    40 
    41         $.ajax({
    42             type: 'POST',
    43             url: ajaxurl,
    44             data: request,
    45             success: function(response) {
    46                                
    47             },         
    48             dataType: "json"
    49         });
    50     }));
    51    
    52 });})(jQuery);
     47        $.ajax({
     48          type: "POST",
     49          url: ajaxurl,
     50          data: request,
     51          success: function (response) {},
     52          dataType: "json",
     53        });
     54      });
     55  });
     56})(jQuery);
  • wp-all-import/trunk/views/admin/import/process.php

    r2640889 r2794199  
    1313
    1414        <div class="clear"></div>   
    15         <div class="processing_step_1">
    16 
    17             <div class="clear"></div>
    18 
    19             <div class="step_description">
    20                 <h2><?php _e('Import <span id="status">in Progress</span>', 'wp_all_import_plugin') ?></h2>
    21                 <h3 id="process_notice"><?php _e('Importing may take some time. Please do not close your browser or refresh the page until the process is complete.', 'wp_all_import_plugin'); ?></h3>
    22             </div>     
    23             <div id="processbar" class="rad30">
    24                 <div class="rad30"></div>
    25                 <span id="center_progress"><span id="percents_count">0</span>%</span>
    26             </div>         
    27             <div id="import_progress">
    28                 <span id="left_progress"><?php _e('Time Elapsed', 'wp_all_import_plugin');?> <span id="then">00:00:00</span></span>
    29                 <span id="right_progress">
    30                     <div class="progress_processed">
    31                         <span><?php _e('Processed', 'wp_all_import_plugin');?> <span class="processed_count"><?php echo ($update_previous->created + $update_previous->updated + $update_previous->skipped); ?></span> <?php _e('of', 'wp_all_import_plugin');?> <span id="of"><?php echo esc_html($update_previous->count); ?></span> <?php _e('records', 'wp_all_import_plugin');?></span>
    32                     </div>
    33                     <div class="progress_details">
    34                         <span class="progress_details_item created_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
    35                             <?php _e('Created','wp_all_import_plugin');?> <span class="created_records_count"><?php echo esc_html($update_previous->created); ?></span>
    36                         </span>
    37                         <span class="progress_details_item deleted_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
    38                             <?php _e('Deleted','wp_all_import_plugin');?> <span class="deleted_records_count"><?php echo esc_html($update_previous->deleted); ?></span>
    39                         </span>
    40                         <span class="progress_details_item updated_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
    41                             <?php _e('Updated','wp_all_import_plugin');?> <span class="updated_records_count"><?php echo esc_html($update_previous->updated); ?></span>
    42                         </span>
    43                         <span class="progress_details_item skipped_count" <?php if (empty($update_previous->skipped)): ?>style="display:none;"<?php endif; ?>>
    44                             <?php _e('Skipped','wp_all_import_plugin');?> <span class="skipped_records_count"><?php echo esc_html($update_previous->skipped); ?></span>
    45                         </span>
    46                     </div>
    47                 </span>
    48             </div>         
    49         </div>
     15        <?php
     16
     17        function echoProcessingStep1($update_previous) {
     18            ?>
     19                <div class="processing_step_1">
     20                    <div class="clear"></div>
     21
     22                    <div class="step_description">
     23                        <h2><?php _e('Import <span id="status">in Progress</span>', 'wp_all_import_plugin') ?></h2>
     24                        <h3 id="process_notice"><?php _e('Importing may take some time. Please do not close your browser or refresh the page until the process is complete.', 'wp_all_import_plugin'); ?></h3>
     25                    </div>     
     26                    <div id="processbar" class="rad30">
     27                        <div class="rad30"></div>
     28                        <span id="center_progress"><span id="percents_count">0</span>%</span>
     29                    </div>         
     30                    <div id="import_progress">
     31                        <span id="left_progress"><?php _e('Time Elapsed', 'wp_all_import_plugin');?> <span id="then">00:00:00</span></span>
     32                        <span id="right_progress">
     33                            <div class="progress_processed">
     34                                <span><?php _e('Processed', 'wp_all_import_plugin');?> <span class="processed_count"><?php echo ($update_previous->created + $update_previous->updated + $update_previous->skipped); ?></span> <?php _e('of', 'wp_all_import_plugin');?> <span id="of"><?php echo esc_html($update_previous->count); ?></span> <?php _e('records', 'wp_all_import_plugin');?></span>
     35                            </div>
     36                            <div class="progress_details">
     37                                <span class="progress_details_item created_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
     38                                    <?php _e('Created','wp_all_import_plugin');?> <span class="created_records_count"><?php echo esc_html($update_previous->created); ?></span>
     39                                </span>
     40                                <span class="progress_details_item deleted_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
     41                                    <?php _e('Deleted','wp_all_import_plugin');?> <span class="deleted_records_count"><?php echo esc_html($update_previous->deleted); ?></span>
     42                                </span>
     43                                <span class="progress_details_item updated_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
     44                                    <?php _e('Updated','wp_all_import_plugin');?> <span class="updated_records_count"><?php echo esc_html($update_previous->updated); ?></span>
     45                                </span>
     46                                <span class="progress_details_item skipped_count" <?php if (empty($update_previous->skipped)): ?>style="display:none;"<?php endif; ?>>
     47                                    <?php _e('Skipped','wp_all_import_plugin');?> <span class="skipped_records_count"><?php echo esc_html($update_previous->skipped); ?></span>
     48                                </span>
     49                            </div>
     50                        </span>
     51                    </div>         
     52                </div>
     53            <?php
     54        }
     55
     56        if (function_exists('\WPAI\Breakdance\echoPromoCard')) {
     57            ?>
     58            <div class='promo-card-and-processing-step-1-wrapper'>
     59                <?php
     60                    \WPAI\Breakdance\echoPromoCard();
     61                    echoProcessingStep1($update_previous);
     62                ?>
     63            </div>
     64            <?php
     65        } else {
     66            echoProcessingStep1($update_previous);
     67        }
     68       
     69        ?>
    5070       
    5171        <?php $custom_type = get_post_type_object( PMXI_Plugin::$session->options['custom_type'] ); ?>     
     
    297317                            }
    298318
     319                            $('.promo-card-and-processing-step-1-wrapper').hide();
     320                           
    299321                            $('#import_finished').show('fast', function() {
    300322                                let items = $('.wpallimport-complete-details .complete-details-item:visible');
  • wp-all-import/trunk/views/admin/manage/index.php

    r2736112 r2794199  
    11<h2></h2> <!-- Do not remove -->
     2
     3<?php
     4    // notify user
     5    if (!PMXI_Plugin::getInstance()->getOption('dismiss_manage_bottom')) {
     6        ?>
     7        <div class="updated_bottom">
     8            <?php printf(
     9                    __('<span><a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" target="_blank">If our plugin helped you, please rate us on WordPress.org. It would really help us!</a><a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" class="pmxi_stars" target="_blank"></a></span><a href="javascript:void(0);" id="dismiss_manage_bottom">dismiss</a>', 'wp_all_import_plugin')
     10            ) ?>
     11        </div>
     12        <?php
     13    }
     14?>
     15
    216
    317<div class="wpallimport-header" style="overflow:hidden; height: 70px; padding-top: 10px; margin-bottom: -15px;">
     
    352366    <div class="clear"></div>
    353367
    354     <?php
    355     // notify user
    356     if (!PMXI_Plugin::getInstance()->getOption('dismiss_manage_bottom')) {
    357         ?>
    358         <div class="updated_bottom"><p>
    359             <?php printf(
    360                     __('<a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" target="_blank">If our plugin helped you, please rate us on WordPress.org. It would really help us!</a> <a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" class="pmxi_stars" target="_blank"></a> <br/><br/><a href="javascript:void(0);" id="dismiss_manage_bottom">dismiss</a>', 'wp_all_import_plugin')
    361             ) ?>
    362         </p></div>
    363         <?php
    364     }
    365     ?>
    366 
    367368    <p style='font-size: 1.3em; font-weight: bold;'><a href="http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=help&utm_campaign=upgrade-to-pro" target="_blank" class="upgrade_link"><?php _e('Find out more about the Pro edition of WP All Import.', 'wp_all_import_plugin'); ?></a></p>
    368369
Note: See TracChangeset for help on using the changeset viewer.