Changeset 1922018
- Timestamp:
- 08/09/2018 07:26:19 AM (8 years ago)
- Location:
- oi-yamaps/trunk
- Files:
-
- 4 edited
-
Readme.md (modified) (1 diff)
-
include/oi-nput.php (modified) (5 diffs)
-
oi-yamaps.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
oi-yamaps/trunk/Readme.md
r1921678 r1922018 47 47 ## Changelog 48 48 49 ### 3.2.0 (09.08.2018) 50 * fix: arrays definition has been fixed, setted 'array()' instead of '[]'; 49 51 ### 3.1.9 (08.08.2018) 50 52 * fix: plugin header correction; -
oi-yamaps/trunk/include/oi-nput.php
r1921678 r1922018 713 713 */ 714 714 function get_html( $atts, $base_class = '' ) { 715 $atts = shortcode_atts( [715 $atts = shortcode_atts( array( 716 716 'tag' => 'div', 717 'atts' => [717 'atts' => array( 718 718 'class' => '&', 719 ],719 ), 720 720 'content' => '', 721 ], $atts );722 723 $mono = [721 ), $atts ); 722 723 $mono = array( 724 724 'br', 725 725 'hr', … … 728 728 'link', 729 729 'img', 730 ];730 ); 731 731 $out = ''; 732 $object = [];732 $object = array(); 733 733 734 734 // перебор содержимого массива … … 760 760 // если значение является массивом 761 761 if ( is_array( $value ) ) { 762 $attributes = [];762 $attributes = array(); 763 763 764 764 // атрибуты выстраиваются в строку … … 803 803 804 804 if ( empty( $atts['atts'] ) ) { 805 $atts['atts'] = [];805 $atts['atts'] = array(); 806 806 } 807 807 // перебор элементов и дописывание закрывающих частей … … 827 827 828 828 // порядок составления элементов 829 $order = [829 $order = array( 830 830 'tag', 831 831 'atts', 832 832 'content', 833 833 'end_tag', 834 ];834 ); 835 835 foreach ( $order as $key ) { 836 836 if ( ! empty( $object[ $key ] ) ) { -
oi-yamaps/trunk/oi-yamaps.php
r1921678 r1922018 5 5 * Description: 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> 6 6 * Author: Alexei Isaenko 7 * Version: 3. 1.97 * Version: 3.2.0 8 8 * Author URI: https://oiplug.com/members/isaenkoalexei 9 9 * Text Domain: oi-yamaps -
oi-yamaps/trunk/readme.txt
r1921678 r1922018 58 58 59 59 == Changelog == 60 60 = 3.2.0 (09.08.2018) = 61 * fix: arrays definition has been fixed, setted 'array()' instead of '[]'; 61 62 = 3.1.9 (08.08.2018) = 62 63 * fix: plugin header correction;
Note: See TracChangeset
for help on using the changeset viewer.