Plugin Directory

Changeset 2913441


Ignore:
Timestamp:
05/17/2023 08:33:05 AM (3 years ago)
Author:
kraftplugins
Message:

committed with grunt-push-svn

Location:
demo-importer-plus
Files:
75 added
5 edited

Legend:

Unmodified
Added
Removed
  • demo-importer-plus/trunk/assets/admin/dist/js/demo-importer-plus-admin.js

    r2826843 r2913441  
    150150        path: function path() {
    151151          if (demoImporterVars.allowedDemos.length > 0) {
    152             return "".concat(demoImporterVars.demoAPIURL, "/wp-json/demoimporterplusapi/v1/dipa-demos?ids=").concat(demoImporterVars.allowedDemos.join(','), "}");
     152            return "".concat(demoImporterVars.demoAPIURL, "/wp-json/demoimporterplusapi/v1/dipa-demos?ids=").concat(demoImporterVars.allowedDemos.join(','), "&per_page=100");
    153153          }
    154154          return "".concat(demoImporterVars.demoAPIURL, "/wp-json/demoimporterplusapi/v1/dipa-demos?page=").concat(this.pageIndex);
     
    178178          // append item elements
    179179          $container.infiniteScroll('appendItems', $items);
    180         } else {
    181           $container.trigger('last.infiniteScroll');
    182           $container.infiniteScroll('destroy');
     180          if (LoadedPages == TotalPages) {
     181            $container.trigger('last.infiniteScroll');
     182            $container.infiniteScroll('destroy');
     183            return;
     184          }
    183185        }
    184186      });
  • demo-importer-plus/trunk/assets/admin/js/demo-importer-plus-admin.js

    r2826843 r2913441  
    174174                path: function () {
    175175                    if (demoImporterVars.allowedDemos.length > 0) {
    176                         return `${demoImporterVars.demoAPIURL}/wp-json/demoimporterplusapi/v1/dipa-demos?ids=${demoImporterVars.allowedDemos.join(',')}}`;
     176                        return `${demoImporterVars.demoAPIURL}/wp-json/demoimporterplusapi/v1/dipa-demos?ids=${demoImporterVars.allowedDemos.join(',')}&per_page=100`;
    177177                    }
    178178                    return `${demoImporterVars.demoAPIURL}/wp-json/demoimporterplusapi/v1/dipa-demos?page=${this.pageIndex}`;
     
    207207                    // append item elements
    208208                    $container.infiniteScroll('appendItems', $items);
    209                 } else {
    210                     $container.trigger('last.infiniteScroll');
    211                     $container.infiniteScroll('destroy');
     209                    if( LoadedPages == TotalPages ) {
     210                        $container.trigger('last.infiniteScroll');
     211                        $container.infiniteScroll('destroy');
     212                        return
     213                    }
    212214                }
    213215            });
  • demo-importer-plus/trunk/demo-importer-plus.php

    r2847130 r2913441  
    88 * Text Domain:     demo-importer-plus
    99 * Domain Path:     /languages
    10  * Version:         1.1.7
     10 * Version:         1.1.8
    1111 * Tested up to:    6.1
    1212 *
     
    2222
    2323if ( ! defined( 'DEMO_IMPORTER_PLUS_VER' ) ) {
    24     define( 'DEMO_IMPORTER_PLUS_VER', '1.1.7' );
     24    define( 'DEMO_IMPORTER_PLUS_VER', '1.1.8' );
    2525}
    2626
  • demo-importer-plus/trunk/languages/demo-importer-plus.pot

    r2847130 r2913441  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Demo Importer Plus 1.1.7\n"
     5"Project-Id-Version: Demo Importer Plus 1.1.8\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/demo-importer-plus\n"
    8 "POT-Creation-Date: 2023-01-12 04:26:04+00:00\n"
     8"POT-Creation-Date: 2023-05-17 08:31:55+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
  • demo-importer-plus/trunk/readme.txt

    r2847130 r2913441  
    44Tags: elementor, one click demo import, templates, themes, import
    55Requires at least: 5.1
    6 Tested up to: 6.1
     6Tested up to: 6.2
    77Requires PHP: 5.6
    8 Stable tag: 1.1.7
     8Stable tag: 1.1.8
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2121
    2222== Changelog ==
     23
     24== 1.1.8 ==
     25* Fix: Multiple same requests while fetching and listing demo sites.
    2326
    2427== 1.1.7 ==
Note: See TracChangeset for help on using the changeset viewer.