Changeset 3340674
- Timestamp:
- 08/07/2025 12:12:46 AM (8 months ago)
- Location:
- wpematico
- Files:
-
- 158 added
- 3 edited
-
tags/2.8.10 (added)
-
tags/2.8.10/app (added)
-
tags/2.8.10/app/addons_page.php (added)
-
tags/2.8.10/app/campaign_edit.php (added)
-
tags/2.8.10/app/campaign_edit_functions.php (added)
-
tags/2.8.10/app/campaign_fetch.php (added)
-
tags/2.8.10/app/campaign_fetch_functions.php (added)
-
tags/2.8.10/app/campaign_help.php (added)
-
tags/2.8.10/app/campaign_log.php (added)
-
tags/2.8.10/app/campaign_preview.php (added)
-
tags/2.8.10/app/campaign_preview_item.php (added)
-
tags/2.8.10/app/campaigns_list.php (added)
-
tags/2.8.10/app/campaigns_list_help.php (added)
-
tags/2.8.10/app/compatibilities.php (added)
-
tags/2.8.10/app/cron.php (added)
-
tags/2.8.10/app/cron_functions.php (added)
-
tags/2.8.10/app/css (added)
-
tags/2.8.10/app/css/campaign_preview.css (added)
-
tags/2.8.10/app/css/campaign_preview_item.css (added)
-
tags/2.8.10/app/css/campaigns_list.css (added)
-
tags/2.8.10/app/css/licenses_handlers.css (added)
-
tags/2.8.10/app/css/wpemat_plugin_styles.css (added)
-
tags/2.8.10/app/css/wpemat_styles.css (added)
-
tags/2.8.10/app/debug_page.php (added)
-
tags/2.8.10/app/js (added)
-
tags/2.8.10/app/js/Date.phpformats.js (added)
-
tags/2.8.10/app/js/bulk_quick_edit.js (added)
-
tags/2.8.10/app/js/campaign_edit.js (added)
-
tags/2.8.10/app/js/campaign_list.js (added)
-
tags/2.8.10/app/js/campaign_preview_feed.js (added)
-
tags/2.8.10/app/js/campaign_preview_item_feed.js (added)
-
tags/2.8.10/app/js/campaign_wizard.js (added)
-
tags/2.8.10/app/js/jquery.tipTip.minified.js (added)
-
tags/2.8.10/app/js/jquery.vSort.js (added)
-
tags/2.8.10/app/js/jquery.vSort.min.js (added)
-
tags/2.8.10/app/js/licenses_handlers.js (added)
-
tags/2.8.10/app/js/oplugins.js (added)
-
tags/2.8.10/app/js/settings_page.js (added)
-
tags/2.8.10/app/js/smart_notifications.js (added)
-
tags/2.8.10/app/js/tools_page.js (added)
-
tags/2.8.10/app/js/wpe_hooks.js (added)
-
tags/2.8.10/app/js/wpematico_updates.js (added)
-
tags/2.8.10/app/lib (added)
-
tags/2.8.10/app/lib/EDD_SL_Plugin_Updater.php (added)
-
tags/2.8.10/app/lib/SimplePie (added)
-
tags/2.8.10/app/lib/SimplePie/Cache (added)
-
tags/2.8.10/app/lib/SimplePie/Content (added)
-
tags/2.8.10/app/lib/SimplePie/Content/Type (added)
-
tags/2.8.10/app/lib/SimplePie/Decode (added)
-
tags/2.8.10/app/lib/SimplePie/Decode/HTML (added)
-
tags/2.8.10/app/lib/SimplePie/HTTP (added)
-
tags/2.8.10/app/lib/SimplePie/Net (added)
-
tags/2.8.10/app/lib/SimplePie/Parse (added)
-
tags/2.8.10/app/lib/SimplePie/XML (added)
-
tags/2.8.10/app/lib/SimplePie/XML/Declaration (added)
-
tags/2.8.10/app/lib/blank-simplepie.php (added)
-
tags/2.8.10/app/lib/browser.php (added)
-
tags/2.8.10/app/lib/licenses_handlers.php (added)
-
tags/2.8.10/app/lib/update_class.php (added)
-
tags/2.8.10/app/lib/welcome.php (added)
-
tags/2.8.10/app/lib/wp_ratings.php (added)
-
tags/2.8.10/app/notification_traslate.php (added)
-
tags/2.8.10/app/plugin_functions.php (added)
-
tags/2.8.10/app/settings_help.php (added)
-
tags/2.8.10/app/settings_page.php (added)
-
tags/2.8.10/app/settings_tabs.php (added)
-
tags/2.8.10/app/smart_notifications.php (added)
-
tags/2.8.10/app/tools_help.php (added)
-
tags/2.8.10/app/tools_page.php (added)
-
tags/2.8.10/app/tools_tabs.php (added)
-
tags/2.8.10/app/wp-backend-helpers.php (added)
-
tags/2.8.10/app/wpe-cron.php (added)
-
tags/2.8.10/app/wpematico_functions.php (added)
-
tags/2.8.10/app/xml-importer.php (added)
-
tags/2.8.10/changelog.md (added)
-
tags/2.8.10/images (added)
-
tags/2.8.10/images/about-header.png (added)
-
tags/2.8.10/images/ai-etruel-rewriter-api-200x100.jpg (added)
-
tags/2.8.10/images/campaign-notification.jpg (added)
-
tags/2.8.10/images/canonical.jpg (added)
-
tags/2.8.10/images/etruelcom_ico.png (added)
-
tags/2.8.10/images/export-import.jpg (added)
-
tags/2.8.10/images/hash.jpg (added)
-
tags/2.8.10/images/icon-256x256.jpg (added)
-
tags/2.8.10/images/image-attributes.jpg (added)
-
tags/2.8.10/images/max-categories.jpg (added)
-
tags/2.8.10/images/mime_type.jpg (added)
-
tags/2.8.10/images/performance.jpg (added)
-
tags/2.8.10/images/popup-deactivate.jpg (added)
-
tags/2.8.10/images/popup_log.jpg (added)
-
tags/2.8.10/images/quick-edit.jpg (added)
-
tags/2.8.10/images/robotico-helmet.png (added)
-
tags/2.8.10/images/robotico_orange-25x25.png (added)
-
tags/2.8.10/images/robotico_orange-50x50.png (added)
-
tags/2.8.10/images/robotico_orange-75x130.png (added)
-
tags/2.8.10/images/shorts.jpg (added)
-
tags/2.8.10/images/tools.jpg (added)
-
tags/2.8.10/images/wpematico-essentials-200x100.jpg (added)
-
tags/2.8.10/images/wpematico-perfect-200x100.jpg (added)
-
tags/2.8.10/images/wpematico-plus-200x100.jpg (added)
-
tags/2.8.10/images/wpematico-rss-feed-reader-200x100.png (added)
-
tags/2.8.10/lang (added)
-
tags/2.8.10/lang/wpematico-ar.mo (added)
-
tags/2.8.10/lang/wpematico-ar.po (added)
-
tags/2.8.10/lang/wpematico-de_DE.mo (added)
-
tags/2.8.10/lang/wpematico-de_DE.po (added)
-
tags/2.8.10/lang/wpematico-el.mo (added)
-
tags/2.8.10/lang/wpematico-el.po (added)
-
tags/2.8.10/lang/wpematico-es_AR.mo (added)
-
tags/2.8.10/lang/wpematico-es_AR.po (added)
-
tags/2.8.10/lang/wpematico-es_CL.mo (added)
-
tags/2.8.10/lang/wpematico-es_CL.po (added)
-
tags/2.8.10/lang/wpematico-es_CO.mo (added)
-
tags/2.8.10/lang/wpematico-es_CO.po (added)
-
tags/2.8.10/lang/wpematico-es_CR.mo (added)
-
tags/2.8.10/lang/wpematico-es_CR.po (added)
-
tags/2.8.10/lang/wpematico-es_EC.mo (added)
-
tags/2.8.10/lang/wpematico-es_EC.po (added)
-
tags/2.8.10/lang/wpematico-es_ES.mo (added)
-
tags/2.8.10/lang/wpematico-es_ES.po (added)
-
tags/2.8.10/lang/wpematico-es_GT.mo (added)
-
tags/2.8.10/lang/wpematico-es_GT.po (added)
-
tags/2.8.10/lang/wpematico-es_MX.mo (added)
-
tags/2.8.10/lang/wpematico-es_MX.po (added)
-
tags/2.8.10/lang/wpematico-es_PE.mo (added)
-
tags/2.8.10/lang/wpematico-es_PE.po (added)
-
tags/2.8.10/lang/wpematico-es_PR.mo (added)
-
tags/2.8.10/lang/wpematico-es_PR.po (added)
-
tags/2.8.10/lang/wpematico-es_UY.mo (added)
-
tags/2.8.10/lang/wpematico-es_UY.po (added)
-
tags/2.8.10/lang/wpematico-es_VE.mo (added)
-
tags/2.8.10/lang/wpematico-es_VE.po (added)
-
tags/2.8.10/lang/wpematico-fa_IR.mo (added)
-
tags/2.8.10/lang/wpematico-fa_IR.po (added)
-
tags/2.8.10/lang/wpematico-fr_FR.mo (added)
-
tags/2.8.10/lang/wpematico-fr_FR.po (added)
-
tags/2.8.10/lang/wpematico-nl_NL.mo (added)
-
tags/2.8.10/lang/wpematico-nl_NL.po (added)
-
tags/2.8.10/lang/wpematico-ro_RO.mo (added)
-
tags/2.8.10/lang/wpematico-ro_RO.po (added)
-
tags/2.8.10/lang/wpematico-ru_RU.mo (added)
-
tags/2.8.10/lang/wpematico-ru_RU.po (added)
-
tags/2.8.10/lang/wpematico-sk_SK.mo (added)
-
tags/2.8.10/lang/wpematico-sk_SK.po (added)
-
tags/2.8.10/lang/wpematico-zh_CN.mo (added)
-
tags/2.8.10/lang/wpematico-zh_CN.po (added)
-
tags/2.8.10/lang/wpematico.pot (added)
-
tags/2.8.10/readme.md (added)
-
tags/2.8.10/readme.txt (added)
-
tags/2.8.10/screenshot-1.jpg (added)
-
tags/2.8.10/screenshot-2.jpg (added)
-
tags/2.8.10/screenshot-3.jpg (added)
-
tags/2.8.10/screenshot-4.jpg (added)
-
tags/2.8.10/screenshot-5.jpg (added)
-
tags/2.8.10/screenshot-6.jpg (added)
-
tags/2.8.10/screenshot-7.jpg (added)
-
tags/2.8.10/wpematico.php (added)
-
tags/2.8.10/wpematico_class.php (added)
-
trunk/app/campaigns_list.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wpematico.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpematico/trunk/app/campaigns_list.php
r3339776 r3340674 12 12 13 13 public static function hooks() { 14 15 add_filter('handle_bulk_actions-edit-wpematico', array(__CLASS__, 'bulk_action_handler'), 10, 3); 16 17 add_filter('manage_edit-wpematico_columns', array(__CLASS__, 'set_edit_wpematico_columns')); 18 add_action('manage_wpematico_posts_custom_column', array(__CLASS__, 'custom_wpematico_column'), 10, 2); 19 add_filter('post_row_actions', array(__CLASS__, 'wpematico_quick_actions'), 10, 2); 20 add_filter("manage_edit-wpematico_sortable_columns", array(__CLASS__, "sortable_columns")); 21 add_action('pre_get_posts', array(__CLASS__, 'column_orderby')); 22 23 add_action('restrict_manage_posts', array(__CLASS__, 'custom_filters')); 24 add_action('pre_get_posts', array(__CLASS__, 'query_set_custom_filters')); 25 26 // Messages 27 add_filter('post_updated_messages', array(__CLASS__, 'wpematico_updated_messages')); 28 29 //Admin message for Danger Options 30 add_action('admin_notices', array(__CLASS__, 'wpematico_debug_notice')); 31 32 //LIST FILTER ACTIONS 33 add_filter('views_edit-wpematico', array(__CLASS__, 'my_views_filter')); 34 add_filter('disable_months_dropdown', array(__CLASS__, 'disable_list_filters'), 10, 2); 35 add_filter('disable_categories_dropdown', array(__CLASS__, 'disable_list_filters'), 10, 2); 36 37 add_action('admin_print_styles-edit.php', array(__CLASS__, 'list_admin_styles')); 38 add_action('admin_print_scripts-edit.php', array(__CLASS__, 'list_admin_scripts')); 39 //QUICK ACTIONS 40 add_action('admin_action_wpematico_copy_campaign', array(__CLASS__, 'wpematico_copy_campaign')); 41 add_action('admin_action_wpematico_toggle_campaign', array(__CLASS__, 'wpematico_toggle_campaign')); 42 add_action('admin_action_wpematico_reset_campaign', array(__CLASS__, 'wpematico_reset_campaign')); 43 add_action('admin_action_wpematico_clear_campaign', array(__CLASS__, 'wpematico_clear_campaign')); 44 45 add_action('admin_action_wpematico_delhash_campaign', array(__CLASS__, 'wpematico_delhash_campaign')); 46 47 add_filter('editable_slug', array(__CLASS__, 'inline_custom_fields'), 999, 1); 48 //CUSTOM BULK & EDIT ACTIONS 49 add_action('quick_edit_custom_box', array(__CLASS__, 'wpematico_add_to_quick_edit_custom_box'), 10, 2); 50 add_action('wp_ajax_manage_wpematico_save_bulk_edit', array(__CLASS__, 'manage_wpematico_save_bulk_edit')); 51 add_action('wp_ajax_get_wpematico_categ_bulk_edit', array(__CLASS__, 'get_wpematico_categ_bulk_edit')); 52 53 add_action('in_admin_header', array(__CLASS__, 'campaigns_list_help')); 54 55 // just in campaign list 56 add_filter('bulk_actions-edit-wpematico', array(__CLASS__, 'bulk_actions'), 10, 1); 57 add_action('restrict_manage_posts', array(__CLASS__, 'run_selected_campaigns'), 1, 2); 58 add_filter('wp_kses_allowed_html', array(__CLASS__, 'custom_wpematico_kses_rules'), 10, 2); 59 60 } 61 14 // Global actions & filters (always loaded) 15 add_filter('post_updated_messages', array(__CLASS__, 'wpematico_updated_messages')); 16 add_action('admin_notices', array(__CLASS__, 'wpematico_debug_notice')); 17 add_action('admin_action_wpematico_copy_campaign', array(__CLASS__, 'wpematico_copy_campaign')); 18 add_action('admin_action_wpematico_toggle_campaign', array(__CLASS__, 'wpematico_toggle_campaign')); 19 add_action('admin_action_wpematico_reset_campaign', array(__CLASS__, 'wpematico_reset_campaign')); 20 add_action('admin_action_wpematico_clear_campaign', array(__CLASS__, 'wpematico_clear_campaign')); 21 add_action('admin_action_wpematico_delhash_campaign', array(__CLASS__, 'wpematico_delhash_campaign')); 22 add_action('in_admin_header', array(__CLASS__, 'campaigns_list_help')); 23 24 add_action('wp_ajax_manage_wpematico_save_bulk_edit', array(__CLASS__, 'manage_wpematico_save_bulk_edit')); 25 add_action('wp_ajax_get_wpematico_categ_bulk_edit', array(__CLASS__, 'get_wpematico_categ_bulk_edit')); 26 27 // Hooks specific to campaigns list view 28 add_action('admin_init', array(__CLASS__, 'register_list_hooks')); 29 } 30 31 /** 32 * Register hooks for the campaigns list screen only 33 */ 34 public static function register_list_hooks() { 35 global $pagenow; 36 // Only on edit.php for wpematico post type 37 if ($pagenow !== 'edit.php' || empty($_GET['post_type']) || $_GET['post_type'] !== 'wpematico') { 38 return; 39 } 40 41 // Bulk actions 42 add_filter('bulk_actions-edit-wpematico', array(__CLASS__, 'bulk_actions'), 10, 1); 43 add_filter('handle_bulk_actions-edit-wpematico', array(__CLASS__, 'bulk_action_handler'), 10, 3); 44 45 // Columns & sorting 46 add_filter('manage_edit-wpematico_columns', array(__CLASS__, 'set_edit_wpematico_columns')); 47 add_action('manage_wpematico_posts_custom_column', array(__CLASS__, 'custom_wpematico_column'), 10, 2); 48 add_filter('post_row_actions', array(__CLASS__, 'wpematico_quick_actions'), 10, 2); 49 add_filter('manage_edit-wpematico_sortable_columns', array(__CLASS__, 'sortable_columns')); 50 add_action('pre_get_posts', array(__CLASS__, 'column_orderby')); 51 add_filter('wp_kses_allowed_html', array(__CLASS__, 'custom_wpematico_kses_rules'), 10, 2); 52 53 // Filters & query 54 add_action('restrict_manage_posts', array(__CLASS__, 'custom_filters')); 55 add_action('pre_get_posts', array(__CLASS__, 'query_set_custom_filters')); 56 57 // Views & dropdowns 58 add_filter('views_edit-wpematico', array(__CLASS__, 'my_views_filter')); 59 add_filter('disable_months_dropdown', array(__CLASS__, 'disable_list_filters'), 10, 2); 60 add_filter('disable_categories_dropdown', array(__CLASS__, 'disable_list_filters'), 10, 2); 61 62 // Styles and scripts 63 add_action('admin_print_styles-edit.php', array(__CLASS__, 'list_admin_styles')); 64 add_action('admin_print_scripts-edit.php', array(__CLASS__, 'list_admin_scripts')); 65 66 // Quick & bulk edit 67 add_action('quick_edit_custom_box', array(__CLASS__, 'wpematico_add_to_quick_edit_custom_box'), 10, 2); 68 add_filter('editable_slug', array(__CLASS__, 'inline_custom_fields'), 999, 1); 69 70 // Run campaigns button 71 add_action('restrict_manage_posts', array(__CLASS__, 'run_selected_campaigns'), 1, 2); 72 } 73 62 74 /** 63 75 * … … 911 923 912 924 static function custom_wpematico_kses_rules($tags, $context) { 925 global $pagenow, $post_type; 926 if ('edit.php' != $pagenow or $post_type != 'wpematico') { 927 return; 928 } 913 929 if ($context === 'post') { 914 global $pagenow, $post_type;915 if ('edit.php' != $pagenow || $post_type != 'wpematico')916 return;917 930 $tags['button']['btn-href'] = true; // Permitir btn-href // ESTO EN 2.9 DEBE ELIMINARSE cambiando los btn-href de los js a data-href 918 931 $tags['button']['data-href'] = true; // Permitir data-href -
wpematico/trunk/readme.txt
r3339776 r3340674 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B8V39NWK3NFQU 4 4 Tags: RSS,XML,rss to blog,feed to post,rss aggregator 5 Stable tag: 2.8. 95 Stable tag: 2.8.10 6 6 Tested up to: 6.8.2 7 7 Requires at least: 4.8 … … 244 244 > See all detailed changelog at [WPeMatico Releases](https://wpematico.com/releases/) 245 245 246 = 2.8.9 – Ago 4, 2025 = 247 * Fixes a issue with improperly sanitized action buttons in the campaign list. 246 = 2.8.10 – Aug 6, 2025 = 247 * Improvement of the filters used to load the list of campaigns. 248 * Fixes an issue incorporated in the latest release that slowed down the connection on campaign edit. 249 * Fixes typos. 250 251 = 2.8.9 – Aug 4, 2025 = 252 * Fixes an issue with improperly sanitized action buttons in the campaign list. 248 253 * Fixes wrong sanitized html "Next Run" column in the campaign list. 249 254 * Improves errors handling function on campaigns fetching process and logs. … … 477 482 478 483 == Upgrade Notice == 479 **Fixes action buttons** in campaigns list.484 Fixes issue incorporated in the latest release. -
wpematico/trunk/wpematico.php
r3339776 r3340674 4 4 * Plugin URI: https://www.wpematico.com 5 5 * Description: Create posts automatically from RSS/Atom feeds organized into campaigns with multiples filters. If you like it, please rate it 5 stars. 6 * Version: 2.8. 96 * Version: 2.8.10 7 7 * Author: Etruel Developments LLC 8 8 * Author URI: https://etruel.com/wpematico/ … … 28 28 private function setup_constants() { 29 29 if (!defined('WPEMATICO_VERSION')) 30 define('WPEMATICO_VERSION', '2.8. 9');30 define('WPEMATICO_VERSION', '2.8.10'); 31 31 32 32 if (!defined('WPEMATICO_BASENAME'))
Note: See TracChangeset
for help on using the changeset viewer.