Changeset 3205092
- Timestamp:
- 12/09/2024 07:37:37 PM (16 months ago)
- Location:
- peqiapp
- Files:
-
- 8 edited
- 1 copied
-
tags/2.0.20 (copied) (copied from peqiapp/trunk)
-
tags/2.0.20/includes/functions.php (modified) (2 diffs)
-
tags/2.0.20/includes/pages.php (modified) (1 diff)
-
tags/2.0.20/peqiapp.php (modified) (2 diffs)
-
tags/2.0.20/readme.txt (modified) (1 diff)
-
trunk/includes/functions.php (modified) (2 diffs)
-
trunk/includes/pages.php (modified) (1 diff)
-
trunk/peqiapp.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
peqiapp/tags/2.0.20/includes/functions.php
r3196899 r3205092 88 88 add_action('schedule_task', array('PeqiApp_API', 'clear_cache')); 89 89 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')); 97 93 98 94 // Action ao criar, editar ou deletar uma categoria … … 118 114 119 115 // 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') { 121 117 return; 122 118 } -
peqiapp/tags/2.0.20/includes/pages.php
r3116615 r3205092 39 39 public static function add_plugin_pages() 40 40 { 41 if (defined('PEQI_CLOUDEZ') && PEQI_CLOUDEZ) { 42 return; 43 } 41 44 add_menu_page('PeqiApp', 'PeqiApp', 'manage_options', 'peqiapp', array(__CLASS__, 'peqi_init_page'), PEQIAPP_URL . 'assets/images/icon.svg'); 42 45 -
peqiapp/tags/2.0.20/peqiapp.php
r3196899 r3205092 3 3 /** 4 4 * @package Peqi App 5 * @version 2.0. 195 * @version 2.0.20 6 6 * Plugin Name: Peqi App 7 7 * Plugin URI: http://wordpress.org/plugins/peqiapp/ 8 8 * Description: You can manage your application settings, perform cache cleaning, adjust optimization levels, and view performance metrics. 9 * Version: 2.0. 199 * Version: 2.0.20 10 10 * Requires at least: 4.7 11 11 * Author: Peqi … … 85 85 define('PEQIAPP_PATH', plugin_dir_path(__FILE__)); 86 86 define('PEQIAPP_URL', plugin_dir_url(__FILE__)); 87 define('PEQIAPP_VERSION', '2.0. 19');87 define('PEQIAPP_VERSION', '2.0.20'); 88 88 89 89 if (defined('PEQI_DEBUG') && PEQI_DEBUG === true) { -
peqiapp/tags/2.0.20/readme.txt
r3196899 r3205092 4 4 Requires at least: 4.7 5 5 Tested up to: 6.6 6 Stable tag: 2.0. 196 Stable tag: 2.0.20 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later -
peqiapp/trunk/includes/functions.php
r3196899 r3205092 88 88 add_action('schedule_task', array('PeqiApp_API', 'clear_cache')); 89 89 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')); 97 93 98 94 // Action ao criar, editar ou deletar uma categoria … … 118 114 119 115 // 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') { 121 117 return; 122 118 } -
peqiapp/trunk/includes/pages.php
r3116615 r3205092 39 39 public static function add_plugin_pages() 40 40 { 41 if (defined('PEQI_CLOUDEZ') && PEQI_CLOUDEZ) { 42 return; 43 } 41 44 add_menu_page('PeqiApp', 'PeqiApp', 'manage_options', 'peqiapp', array(__CLASS__, 'peqi_init_page'), PEQIAPP_URL . 'assets/images/icon.svg'); 42 45 -
peqiapp/trunk/peqiapp.php
r3196899 r3205092 3 3 /** 4 4 * @package Peqi App 5 * @version 2.0. 195 * @version 2.0.20 6 6 * Plugin Name: Peqi App 7 7 * Plugin URI: http://wordpress.org/plugins/peqiapp/ 8 8 * Description: You can manage your application settings, perform cache cleaning, adjust optimization levels, and view performance metrics. 9 * Version: 2.0. 199 * Version: 2.0.20 10 10 * Requires at least: 4.7 11 11 * Author: Peqi … … 85 85 define('PEQIAPP_PATH', plugin_dir_path(__FILE__)); 86 86 define('PEQIAPP_URL', plugin_dir_url(__FILE__)); 87 define('PEQIAPP_VERSION', '2.0. 19');87 define('PEQIAPP_VERSION', '2.0.20'); 88 88 89 89 if (defined('PEQI_DEBUG') && PEQI_DEBUG === true) { -
peqiapp/trunk/readme.txt
r3196899 r3205092 4 4 Requires at least: 4.7 5 5 Tested up to: 6.6 6 Stable tag: 2.0. 196 Stable tag: 2.0.20 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.