Plugin Directory

Changeset 3014326


Ignore:
Timestamp:
12/26/2023 11:48:46 AM (2 years ago)
Author:
nativerentplugin
Message:

1.9.1

Location:
nativerent/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • nativerent/trunk/nativerent-bootstrap.php

    r3014091 r3014326  
    4343// Plugin version.
    4444if ( ! defined( 'NATIVERENT_PLUGIN_VERSION' ) ) {
    45     define( 'NATIVERENT_PLUGIN_VERSION', '1.9.0' );
     45    define( 'NATIVERENT_PLUGIN_VERSION', '1.9.1' );
    4646}
    4747
  • nativerent/trunk/nativerent.php

    r3014091 r3014326  
    66 * Plugin URI:        https://wordpress.org/plugins/nativerent/
    77 * Description:       Релевантная реклама для ваших читателей. Рекламодатели сервиса платят в 2-3 раза больше за 1 тыс. показов страниц, чем привычные рекламные сетки. Страница выкупается полностью, на ней размещается максимум четыре рекламных блока, которые выглядят нативно в стиле сайта.
    8  * Version:           1.9.0
     8 * Version:           1.9.1
    99 * Requires at least: 4.9
    1010 * Tested up to:      6.4.2
  • nativerent/trunk/readme.txt

    r3014091 r3014326  
    77Tested up to:      6.4.2
    88Requires PHP:      5.6.20
    9 Stable tag:        1.9.0
     9Stable tag:        1.9.1
    1010License:           GPLv2 or later
    1111License URI:       https://www.gnu.org/licenses/gpl-2.0.html
  • nativerent/trunk/static/content.js

    r3014091 r3014326  
    219219     */
    220220    function checkDistanceOfGroupUnits(unitsMap, insertedUnits, minDistance) {
    221         if (unitsMap.length === undefined || unitsMap.length < 2) {
     221        var ids = Object.keys(unitsMap)
     222        if (ids.length < 2) {
    222223            return
    223224        }
    224         var selector = Object.keys(unitsMap)
     225        var selector = ids
    225226            .map(function (id) {
    226227                return '#' + id
Note: See TracChangeset for help on using the changeset viewer.