Plugin Directory

Changeset 1031871


Ignore:
Timestamp:
11/24/2014 03:22:28 PM (11 years ago)
Author:
ohayo-web
Message:

Adding version 1.3.1 of afables widget

Location:
afables/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • afables/trunk/afables.php

    r1031720 r1031871  
    55 Author: OhayoWeb
    66 Author URI: http://www.ohayoweb.com/
    7  Version: 1.3
     7 Version: 1.3.1
    88*/
    99
    1010
    11 define('AFABLES_PLUGIN_VERSION','1.3');
     11define('AFABLES_PLUGIN_VERSION','1.3.1');
    1212define('AFABLES_USERAGENT','Afables Wordpress Plugin '.AFABLES_PLUGIN_VERSION);
    1313
  • afables/trunk/inc/afables-install.php

    r1031720 r1031871  
    1010    if(!file_exists(AFABLES_CACHE_FOLDER)){
    1111        // creamos el directorio
    12         if(mkdir(AFABLES_CACHE_FOLDER,0777)){
     12        //$oldumask = umask(0);
     13        if(@mkdir(AFABLES_CACHE_FOLDER,0770)){
    1314            $notices[]= "<div class='updated'><p>Directorio cache creado con éxito.</p></div>";
    1415           
     
    1617            $notices[]= "<div class='error'><p>No se pudo crear el directorio <strong>".AFABLES_CACHE_FOLDER."</strong>.</p><p>Necesitara crearlo manualmente para el correcto funcionamiento del plugin.</p></div>";
    1718        }
    18        
     19        //umask($oldumask);
     20    }else{
     21        if(@chmod(AFABLES_CACHE_FOLDER, 0770)){
     22            $notices[]= "<div class='updated'><p>Permisos cambiados con éxito.</p></div>";
     23        }else{
     24            $notices[]= "<div class='error'><p>No se pudieron cambiar los permisos del directorio <strong>".AFABLES_CACHE_FOLDER."</strong>.</p><p>Necesitara cambiarlos a 775 manualmente para el correcto funcionamiento del plugin.</p></div>";
     25        }
    1926    }
    2027   
  • afables/trunk/inc/afables-widget.php

    r1031720 r1031871  
    286286
    287287        //include_once plugin_dir_path( __FILE__ ).'../rss-robot/inc/load_SimplePie.php';
    288         include_once plugin_dir_path( __FILE__ ).'load_SimplePie.php';
     288        //include_once plugin_dir_path( __FILE__ ).'load_SimplePie.php';
     289        require_once (ABSPATH . WPINC . '/class-simplepie.php');
    289290       
    290291        $channel_feed = new SimplePie();
  • afables/trunk/readme.txt

    r1031720 r1031871  
    55Tested up to: 3.9.1
    66License: GPLv2 or later
    7 Stable tag: 1.3
     7Stable tag: 1.3.1
    88
    99== Description ==
Note: See TracChangeset for help on using the changeset viewer.