Plugin Directory

Changeset 3082278


Ignore:
Timestamp:
05/07/2024 07:06:38 AM (2 years ago)
Author:
misterplan
Message:

Version 1.1.11

Location:
misterplan
Files:
341 added
3 edited

Legend:

Unmodified
Added
Removed
  • misterplan/trunk/class.mrplan_TMrPlanPluginAdmin.php

    r3082039 r3082278  
    494494
    495495        if(!empty($_POST['id_widget'])){
    496             $datos->id_widget                   = (int) $_POST['id_widget'];
    497         }
    498         if(!empty($_POST['autoload'])){
    499             $datos->autoload                    = (int) $_POST['autoload'];
     496            $datos->id_widget               = (int) $_POST['id_widget'];
     497        }
     498        if(!isset($_POST['autoload'])){
     499            $datos->autoload                = (int) $_POST['autoload'];
    500500        }
    501501        if(!empty($_POST['ancho_maximo'])){
    502             $datos->ancho_maximo                    = (int) $_POST['ancho_maximo'];
    503         }
    504         $datos->barra_idiomas                   = (int) $_POST['barra_idiomas'];
     502            $datos->ancho_maximo            = (int) $_POST['ancho_maximo'];
     503        }
     504        $datos->barra_idiomas               = (int) $_POST['barra_idiomas'];
    505505
    506506        if(!empty($_POST['hash'])){
    507             $datos->hash        = sanitize_text_field($_POST['hash']);
     507            $datos->hash                    = sanitize_text_field($_POST['hash']);
    508508        }
    509509
    510510        if(!empty($_POST['modo_ficha'])){
    511             $datos->modo_ficha      = sanitize_text_field($_POST['modo_ficha']);
     511            $datos->modo_ficha              = sanitize_text_field($_POST['modo_ficha']);
    512512        }else{
    513             $datos->modo_ficha      = 'simple';
     513            $datos->modo_ficha              = 'simple';
    514514        }
    515515
  • misterplan/trunk/init.php

    r3082039 r3082278  
    88 * Author: MisterPlan
    99 * Author URI: https://misterplan.es
    10  * Version: 1.1.10
     10 * Version: 1.1.11
    1111 * Text Domain: misterplan
    1212 * Domain Path: /languages
  • misterplan/trunk/readme.txt

    r3082039 r3082278  
    44Tested up to: 6.4.3
    55Requires PHP: 7.2.5
    6 Stable tag: 1.1.10
     6Stable tag: 1.1.11
    77License: GPLv2 or later
    88Contributors: jorgealonso
     
    9898Show photo slideshow in activities engine
    9999
     100= 1.1.11 =
     101
     102Fixed autoload parameter problem
     103
     104New parameter for simple accommodation engines: default date
     105
    100106Fixed styles
     107
     108Fixed other bugs
    101109
    102110== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.