Plugin Directory

Changeset 1883425


Ignore:
Timestamp:
05/29/2018 03:01:31 PM (8 years ago)
Author:
Sh14
Message:

To 3.1.2

Location:
oi-yamaps/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • oi-yamaps/trunk/Readme.md

    r1883358 r1883425  
    1818
    1919## Frequently Asked Questions
     20
     21### I have problems with activation
     22
     23If you see something like this 'Plugin has not correct header', just reactivate the plugin. This issue comes because of renaming file to correct naming.
    2024
    2125### How can I add Stretchy Icons?
     
    4347## Changelog
    4448
    45 ### 3.1.1
     49###  3.1.2 (29.05.2018)
    4650* new: design;
    4751* refactoring;
    48 ### 2.50
     52###  2.50 (18.03.2016)
    4953* new: address coordinates caching added;
    5054* fix: refactoring coordinates getting function;
    5155* fix: only one field left for address or coordinates;
    52 ### 2.42
     56###  2.42 (21.10.2015)
    5357* fix: coordinates print deleted;
    54 ### 2.41 =
     58###  2.41 (21.10.2015)
    5559* fix: map center normalized;
    56 ### 2.4
     60###  2.4 (21.10.2015)
    5761* fix notices;
    5862* form view;
    5963* shortcode making;
    6064* plugin url;
    61 ### 2.3
     65###  2.3 (08.12.2014)
    6266* fix: showmap coordinates missing;
    6367* fix: fixed error when showmap doesn't contain coordinates;
     
    6569* new: added custom placemark image
    6670* new: map center depends on placemarks
    67 ### 2.2
     71###  2.2 (16.09.2014)
    6872* fix: fixed error when coordinates used
    6973* fix: fixed error whith map center
    7074* new: added shortcode button
    7175* new: localization: russian language added
    72 ### 2.1
     76###  2.1 (22.07.2014)
    7377* fix: fix html in placemark
    7478* new: center parametr added
    7579* new: curl enable check
    76 ### 2.0
     80###  2.0 (21.07.2014)
    7781* fix: Some fixes.
    7882* new: Option page added.
    7983* new: Language support added.
    8084* new: Multi Placemarks support added.
    81 ### 1.2
     85###  1.2 (20.05.2014)
    8286* fix: Placemark ID numbers fixed
    8387* new: iconcontent attribute added - Stretchy Icons support
    84 ### 1.1
     88###  1.1 (02.05.2014)
    8589* fix: Maps ID numbers fixed
    86 ### 1.0
     90###  1.0 (25.04.2014)
    8791* Initial release
     92
    8893
    8994## Upgrade Notice
  • oi-yamaps/trunk/include/console.php

    r1883283 r1883425  
    195195                'label_class' => 'oiyamaps-form__label',
    196196                'html'        => '%label%'
    197                                  .'<div class="oiyamaps-form__multiselect">'
     197                                 . '<div class="oiyamaps-form__multiselect">'
    198198                                 . multiselect( array(
    199199                        'key'    => 'controls',
    200200                        'class'  => 'oiyamaps-form',
    201                         'values' => implode( ',', get_match_list( get_api_names( 'controls' ) ) ),
     201                        'values' => get_default_api_names( 'controls' ),
    202202                    ) )
    203203                                 . '</div>',
     
    209209                'label_class' => 'oiyamaps-form__label',
    210210                'html'        => '%label%'
    211                                  .'<div class="oiyamaps-form__multiselect">'
     211                                 . '<div class="oiyamaps-form__multiselect">'
    212212                                 . multiselect( array(
    213213                        'key'    => 'behaviors',
    214214                        'class'  => 'oiyamaps-form',
    215                         'values' => implode( ',', get_match_list( get_api_names( 'behaviors' ) ) ),
     215                        'values' => get_default_api_names( 'behaviors' ),
    216216                    ) )
    217217                                 . '</div>',
  • oi-yamaps/trunk/oi-yamaps.php

    r1883358 r1883425  
    55Description: The plugin allows you to use Yandex.Maps on your site pages and put the placemarks on the map. Without an API key. <strong>Don't forget to reactivate the plugin!</strong>
    66Author: Alexei Isaenko
    7 Version: 3.1.1
     7Version: 3.1.2
    88Author URI: https://oiplug.com/members/isaenkoalexei
    99*/
     
    6161    }
    6262
    63     deactivate_plugins( array( '/oi-yamaps/oi-ya-maps.php', ) );
     63    //  deactivate_plugins( array( '/oi-yamaps/oi-ya-maps.php', ) );
    6464}
    6565
     
    166166}
    167167
     168function get_default_api_names( $key ) {
     169    $names  = get_api_names( $key );
     170    $values = array();
     171    foreach ( $names as $key => $value ) {
     172        if ( $value['default'] == true ) {
     173            $values[] = $key;
     174        }
     175    }
     176    $values = implode( ',', $values );
     177
     178    return $values;
     179}
    168180
    169181/**
     
    195207        'iconoffset'     => '',
    196208        'iconrect'       => '',
    197         'controls'       => implode( ',', get_match_list( get_api_names( 'controls' ) ) ),
    198         'behaviors'      => implode( ',', get_match_list( get_api_names( 'behaviors' ) ) ),
     209        'controls'       => get_default_api_names( 'controls' ),
     210        'behaviors'      => get_default_api_names( 'behaviors' ),
    199211    );
    200212
  • oi-yamaps/trunk/readme.txt

    r1883358 r1883425  
    55Requires at least: 3.2
    66Tested up to: 4.9.6
    7 Stable tag: 3.1.1
     7Stable tag: 3.1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828== Frequently Asked Questions ==
    2929
     30= I have problems with activation =
     31
     32If you see something like this 'Plugin has not correct header', just reactivate the plugin. This issue comes because of renaming file to correct naming.
     33
    3034= How can I add Stretchy Icons? =
    3135
     
    4852== Changelog ==
    4953
    50 = 3.1.1 =
     54= 3.1.2 (29.05.2018) =
    5155* new: design;
    5256* refactoring;
    53 = 2.50 =
     57= 2.50 (18.03.2016) =
    5458* new: address coordinates caching added;
    5559* fix: refactoring coordinates getting function;
    5660* fix: only one field left for address or coordinates;
    57 = 2.42 =
     61= 2.42 (21.10.2015) =
    5862* fix: coordinates print deleted;
    59 = 2.41 =
     63= 2.41 (21.10.2015) =
    6064* fix: map center normalized;
    61 = 2.4 =
     65= 2.4 (21.10.2015) =
    6266* fix notices;
    6367* form view;
    6468* shortcode making;
    6569* plugin url;
    66 = 2.3 =
     70= 2.3 (08.12.2014) =
    6771* fix: showmap coordinates missing;
    6872* fix: fixed error when showmap doesn't contain coordinates;
     
    7074* new: added custom placemark image
    7175* new: map center depends on placemarks
    72 = 2.2 =
     76= 2.2 (16.09.2014) =
    7377* fix: fixed error when coordinates used
    7478* fix: fixed error whith map center
    7579* new: added shortcode button
    7680* new: localization: russian language added
    77 = 2.1 =
     81= 2.1 (22.07.2014) =
    7882* fix: fix html in placemark
    7983* new: center parametr added
    8084* new: curl enable check
    81 = 2.0 =
     85= 2.0 (21.07.2014) =
    8286* fix: Some fixes.
    8387* new: Option page added.
    8488* new: Language support added.
    8589* new: Multi Placemarks support added.
    86 = 1.2 =
     90= 1.2 (20.05.2014) =
    8791* fix: Placemark ID numbers fixed
    8892* new: iconcontent attribute added - Stretchy Icons support
    89 = 1.1 =
     93= 1.1 (02.05.2014) =
    9094* fix: Maps ID numbers fixed
    91 = 1.0 =
     95= 1.0 (25.04.2014) =
    9296* Initial release
    9397
Note: See TracChangeset for help on using the changeset viewer.