Changeset 3433883
- Timestamp:
- 01/06/2026 07:44:06 PM (6 weeks ago)
- Location:
- multi-connect/trunk
- Files:
-
- 3 edited
-
includes/class-multi-connect-api.php (modified) (2 diffs)
-
multi-connect.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
multi-connect/trunk/includes/class-multi-connect-api.php
r3265890 r3433883 646 646 // Verificar actualizaciones de plugins. 647 647 get_plugin_updates(); 648 try { 649 $transient = (object) array( 650 'last_checked' => time() - ( 13 * 3600 ), 651 'checked' => array( 'default' => 'none' ), 652 'response' => array( 'default' => 'none' ), 653 ); 654 apply_filters( 'pre_set_site_transient_update_plugins', $transient, 'update_plugins' ); 655 } catch ( Throwable $e ) { 656 $transient; 657 } 648 649 // Obtener el transient actual y forzar que los plugins premium agreguen sus actualizaciones. 658 650 $plugins = get_site_transient( 'update_plugins' ); 651 if ( $plugins ) { 652 // Aplicar el filtro con el transient real para que plugins premium puedan inyectar sus actualizaciones. 653 try { 654 $plugins = apply_filters( 'pre_set_site_transient_update_plugins', $plugins, 'update_plugins' ); 655 } catch ( Throwable $e ) { 656 // Si hay error, continuar con el transient original. 657 } 658 } 659 659 if ( $plugins && ! empty( $plugins->response ) ) { 660 660 foreach ( $plugins->response as $plugin_file => $plugin_data ) { … … 672 672 // Verificar actualizaciones de temas. 673 673 get_theme_updates(); 674 try { 675 $transient = (object) array( 676 'last_checked' => time() - ( 13 * 3600 ), 677 'checked' => array( 'default' => 'none' ), 678 'response' => array( 'default' => 'none' ), 679 ); 680 $updatesFromHook = apply_filters( 'pre_set_site_transient_update_themes', $transient, 'update_themes' ); 681 } catch ( Throwable $e ) { 682 $updatesFromHook = $transient; 683 } 674 675 // Obtener el transient actual y forzar que los temas premium agreguen sus actualizaciones. 684 676 $themes = get_site_transient( 'update_themes' ); 677 if ( $themes ) { 678 // Aplicar el filtro con el transient real para que temas premium puedan inyectar sus actualizaciones. 679 try { 680 $themes = apply_filters( 'pre_set_site_transient_update_themes', $themes, 'update_themes' ); 681 } catch ( Throwable $e ) { 682 // Si hay error, continuar con el transient original. 683 } 684 } 685 685 if ( $themes && ! empty( $themes->response ) ) { 686 686 foreach ( $themes->response as $theme_slug => $theme_data ) { -
multi-connect/trunk/multi-connect.php
r3419505 r3433883 4 4 * Plugin URI: https://multi-wp.com 5 5 * Description: Connect your WordPress site with Multi-WP for centralized management and updates. 6 * Version: 1.0.5 36 * Version: 1.0.54 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 -
multi-connect/trunk/readme.txt
r3419505 r3433883 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.0.5 37 Stable tag: 1.0.54 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 44 44 45 45 == Changelog == 46 47 = 1.0.54 = 48 * Fixed: Premium plugins and themes updates now detected correctly (WPCode Pro, etc.) 46 49 47 50 = 1.0.53 =
Note: See TracChangeset
for help on using the changeset viewer.