Plugin Directory

Changeset 1303169


Ignore:
Timestamp:
12/08/2015 06:18:05 PM (10 years ago)
Author:
benohead
Message:

tagging version 1.0.4

Location:
wp-advertize-it
Files:
1 added
5 edited
18 copied

Legend:

Unmodified
Added
Removed
  • wp-advertize-it/tags/1.0.4/bootstrap.php

    r1302776 r1303169  
    44Plugin URI:  https://wordpress.org/plugins/wp-advertize-it/
    55Description: A plugin to place adsense blocks on your site
    6 Version:     1.0.3
     6Version:     1.0.4
    77Author:      Henri Benoit, Alexander Herdt, amazingweb.de
    88Author URI:  http://benohead.com
  • wp-advertize-it/tags/1.0.4/classes/wp-advertize-it.php

    r1302776 r1303169  
    2424         * Plugin version
    2525         */
    26         const VERSION = '1.0.3';
     26        const VERSION = '1.0.4';
    2727        /**
    2828         * Prefix used to identify things related to this plugin
  • wp-advertize-it/tags/1.0.4/classes/wpai-settings.php

    r1301533 r1303169  
    150150                    $placements = array();
    151151                }
    152                
    153                 foreach ($this->get_default_settings()['placements'] as $plind => $plval){
     152
     153                $default_settings = $this->get_default_settings();
     154                foreach ($default_settings['placements'] as $plind => $plval){
    154155                    if ($placements[$plind]==""){
    155156                        $placements [$plind] = array();
     
    203204               
    204205                if (!$options){
    205                     $options = $this->get_default_settings()['options'];
     206                    $default_settings1 = $this->get_default_settings();
     207                    $options = $default_settings1['options'];
    206208                }
    207209               
     
    209211                    $dboption = array();
    210212                    $dboption['name'] = $o;
    211                     $dboption['value'] = ($option || $option===0) ?$option:$this->get_default_settings()['options'][$o];
     213                    $default_settings2 = $this->get_default_settings();
     214                    $dboption['value'] = ($option || $option===0) ?$option: $default_settings2['options'][$o];
    212215                   
    213216                    if (is_array($dboption['value'])){
  • wp-advertize-it/tags/1.0.4/readme.txt

    r1302776 r1303169  
    55Requires at least: 4.2.3
    66Tested up to: 4.3.1
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    126126== Changelog ==
    127127
     128= 1.0.4 =
     129
     130* fixed more compatibility issues with PHP 5.3
     131
    128132= 1.0.3 =
    129133
  • wp-advertize-it/trunk/bootstrap.php

    r1302776 r1303169  
    44Plugin URI:  https://wordpress.org/plugins/wp-advertize-it/
    55Description: A plugin to place adsense blocks on your site
    6 Version:     1.0.3
     6Version:     1.0.4
    77Author:      Henri Benoit, Alexander Herdt, amazingweb.de
    88Author URI:  http://benohead.com
  • wp-advertize-it/trunk/classes/wp-advertize-it.php

    r1302776 r1303169  
    2424         * Plugin version
    2525         */
    26         const VERSION = '1.0.3';
     26        const VERSION = '1.0.4';
    2727        /**
    2828         * Prefix used to identify things related to this plugin
  • wp-advertize-it/trunk/classes/wpai-settings.php

    r1301533 r1303169  
    150150                    $placements = array();
    151151                }
    152                
    153                 foreach ($this->get_default_settings()['placements'] as $plind => $plval){
     152
     153                $default_settings = $this->get_default_settings();
     154                foreach ($default_settings['placements'] as $plind => $plval){
    154155                    if ($placements[$plind]==""){
    155156                        $placements [$plind] = array();
     
    203204               
    204205                if (!$options){
    205                     $options = $this->get_default_settings()['options'];
     206                    $default_settings1 = $this->get_default_settings();
     207                    $options = $default_settings1['options'];
    206208                }
    207209               
     
    209211                    $dboption = array();
    210212                    $dboption['name'] = $o;
    211                     $dboption['value'] = ($option || $option===0) ?$option:$this->get_default_settings()['options'][$o];
     213                    $default_settings2 = $this->get_default_settings();
     214                    $dboption['value'] = ($option || $option===0) ?$option: $default_settings2['options'][$o];
    212215                   
    213216                    if (is_array($dboption['value'])){
  • wp-advertize-it/trunk/readme.txt

    r1302776 r1303169  
    55Requires at least: 4.2.3
    66Tested up to: 4.3.1
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    126126== Changelog ==
    127127
     128= 1.0.4 =
     129
     130* fixed more compatibility issues with PHP 5.3
     131
    128132= 1.0.3 =
    129133
Note: See TracChangeset for help on using the changeset viewer.