Plugin Directory

Changeset 3205092


Ignore:
Timestamp:
12/09/2024 07:37:37 PM (16 months ago)
Author:
peqiapp
Message:

Update to version 2.0.20 from GitHub

Location:
peqiapp
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • peqiapp/tags/2.0.20/includes/functions.php

    r3196899 r3205092  
    8888            add_action('schedule_task', array('PeqiApp_API', 'clear_cache'));
    8989
    90             // Action ao criar, editar ou deletar um post
    91             add_action('save_post_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
    92             add_action('delete_post_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
    93 
    94             // Action ao criar, editar ou deletar uma página
    95             add_action('save_post_page', array('PeqiApp_Functions', 'schedule_clear_cache'));
    96             add_action('delete_post_page', array('PeqiApp_Functions', 'schedule_clear_cache'));
     90            // Action ao criar, editar ou deletar um post ou página
     91            add_action('save_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
     92            add_action('delete_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
    9793
    9894            // Action ao criar, editar ou deletar uma categoria
     
    118114
    119115            // Ignorar se o status for 'rascunho' ou 'revisão'
    120             if ($post_status == 'draft' || $post_status == 'inherit') {
     116            if ($post_status == 'draft' || $post_status == 'inherit' || $post_status == 'auto-draft') {
    121117                return;
    122118            }
  • peqiapp/tags/2.0.20/includes/pages.php

    r3116615 r3205092  
    3939        public static function add_plugin_pages()
    4040        {
     41            if (defined('PEQI_CLOUDEZ') && PEQI_CLOUDEZ) {
     42                return;
     43            }
    4144            add_menu_page('PeqiApp', 'PeqiApp', 'manage_options', 'peqiapp', array(__CLASS__, 'peqi_init_page'), PEQIAPP_URL . 'assets/images/icon.svg');
    4245
  • peqiapp/tags/2.0.20/peqiapp.php

    r3196899 r3205092  
    33/**
    44 * @package Peqi App
    5  * @version 2.0.19
     5 * @version 2.0.20
    66 * Plugin Name: Peqi App
    77 * Plugin URI: http://wordpress.org/plugins/peqiapp/
    88 * Description: You can manage your application settings, perform cache cleaning, adjust optimization levels, and view performance metrics.
    9  * Version: 2.0.19
     9 * Version: 2.0.20
    1010 * Requires at least: 4.7
    1111 * Author: Peqi
     
    8585            define('PEQIAPP_PATH', plugin_dir_path(__FILE__));
    8686            define('PEQIAPP_URL', plugin_dir_url(__FILE__));
    87             define('PEQIAPP_VERSION', '2.0.19');
     87            define('PEQIAPP_VERSION', '2.0.20');
    8888
    8989            if (defined('PEQI_DEBUG') && PEQI_DEBUG === true) {
  • peqiapp/tags/2.0.20/readme.txt

    r3196899 r3205092  
    44Requires at least: 4.7
    55Tested up to: 6.6
    6 Stable tag: 2.0.19
     6Stable tag: 2.0.20
    77Requires PHP: 7.0
    88License: GPLv2 or later
  • peqiapp/trunk/includes/functions.php

    r3196899 r3205092  
    8888            add_action('schedule_task', array('PeqiApp_API', 'clear_cache'));
    8989
    90             // Action ao criar, editar ou deletar um post
    91             add_action('save_post_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
    92             add_action('delete_post_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
    93 
    94             // Action ao criar, editar ou deletar uma página
    95             add_action('save_post_page', array('PeqiApp_Functions', 'schedule_clear_cache'));
    96             add_action('delete_post_page', array('PeqiApp_Functions', 'schedule_clear_cache'));
     90            // Action ao criar, editar ou deletar um post ou página
     91            add_action('save_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
     92            add_action('delete_post', array('PeqiApp_Functions', 'schedule_clear_cache'));
    9793
    9894            // Action ao criar, editar ou deletar uma categoria
     
    118114
    119115            // Ignorar se o status for 'rascunho' ou 'revisão'
    120             if ($post_status == 'draft' || $post_status == 'inherit') {
     116            if ($post_status == 'draft' || $post_status == 'inherit' || $post_status == 'auto-draft') {
    121117                return;
    122118            }
  • peqiapp/trunk/includes/pages.php

    r3116615 r3205092  
    3939        public static function add_plugin_pages()
    4040        {
     41            if (defined('PEQI_CLOUDEZ') && PEQI_CLOUDEZ) {
     42                return;
     43            }
    4144            add_menu_page('PeqiApp', 'PeqiApp', 'manage_options', 'peqiapp', array(__CLASS__, 'peqi_init_page'), PEQIAPP_URL . 'assets/images/icon.svg');
    4245
  • peqiapp/trunk/peqiapp.php

    r3196899 r3205092  
    33/**
    44 * @package Peqi App
    5  * @version 2.0.19
     5 * @version 2.0.20
    66 * Plugin Name: Peqi App
    77 * Plugin URI: http://wordpress.org/plugins/peqiapp/
    88 * Description: You can manage your application settings, perform cache cleaning, adjust optimization levels, and view performance metrics.
    9  * Version: 2.0.19
     9 * Version: 2.0.20
    1010 * Requires at least: 4.7
    1111 * Author: Peqi
     
    8585            define('PEQIAPP_PATH', plugin_dir_path(__FILE__));
    8686            define('PEQIAPP_URL', plugin_dir_url(__FILE__));
    87             define('PEQIAPP_VERSION', '2.0.19');
     87            define('PEQIAPP_VERSION', '2.0.20');
    8888
    8989            if (defined('PEQI_DEBUG') && PEQI_DEBUG === true) {
  • peqiapp/trunk/readme.txt

    r3196899 r3205092  
    44Requires at least: 4.7
    55Tested up to: 6.6
    6 Stable tag: 2.0.19
     6Stable tag: 2.0.20
    77Requires PHP: 7.0
    88License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.