Changeset 3751986
- Timestamp:
- 10/17/2026 01:59:44 PM (3 hours ago)
- Location:
- appsfruit-embed-for-elementor
- Files:
-
- 36 added
- 2 edited
-
tags/1.0.10 (added)
-
tags/1.0.10/ARCHITECTURE.md (added)
-
tags/1.0.10/CHANGELOG.md (added)
-
tags/1.0.10/CONTRIBUTING.md (added)
-
tags/1.0.10/DEVELOPER.md (added)
-
tags/1.0.10/PROJECT-SUMMARY.md (added)
-
tags/1.0.10/README.md (added)
-
tags/1.0.10/SETUP.md (added)
-
tags/1.0.10/TROUBLESHOOTING.md (added)
-
tags/1.0.10/appsfruit-elementor-embed.php (added)
-
tags/1.0.10/assets (added)
-
tags/1.0.10/assets/css (added)
-
tags/1.0.10/assets/css/admin.css (added)
-
tags/1.0.10/assets/css/block-editor.css (added)
-
tags/1.0.10/assets/css/index.php (added)
-
tags/1.0.10/assets/index.php (added)
-
tags/1.0.10/assets/js (added)
-
tags/1.0.10/assets/js/admin.js (added)
-
tags/1.0.10/assets/js/block.js (added)
-
tags/1.0.10/assets/js/index.php (added)
-
tags/1.0.10/includes (added)
-
tags/1.0.10/includes/class-aefe-admin.php (added)
-
tags/1.0.10/includes/class-aefe-gutenberg.php (added)
-
tags/1.0.10/includes/class-aefe-hooks.php (added)
-
tags/1.0.10/includes/class-aefe-post-type.php (added)
-
tags/1.0.10/includes/class-aefe-shortcode.php (added)
-
tags/1.0.10/includes/index.php (added)
-
tags/1.0.10/index.php (added)
-
tags/1.0.10/languages (added)
-
tags/1.0.10/languages/appsfruit-elementor-embed.pot (added)
-
tags/1.0.10/languages/index.php (added)
-
tags/1.0.10/readme.txt (added)
-
tags/1.0.10/templates (added)
-
tags/1.0.10/templates/index.php (added)
-
tags/1.0.10/templates/single-aefe-template.php (added)
-
tags/1.0.10/uninstall.php (added)
-
trunk/appsfruit-elementor-embed.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
appsfruit-embed-for-elementor/trunk/appsfruit-elementor-embed.php
r3745549 r3751986 4 4 * Plugin URI: https://appsfruit.com/elementor-embed 5 5 * Description: Embed Elementor pages, templates, and global sections anywhere using shortcodes or Gutenberg blocks with advanced conditional display options. 6 * Version: 1.0. 96 * Version: 1.0.10 7 7 * Author: AppsFruit 8 8 * Author URI: https://appsfruit.com … … 12 12 * Domain Path: /languages 13 13 * Requires at least: 6.0 14 * Requires PHP: 7. 414 * Requires PHP: 7.5 15 15 * Requires Plugins: elementor 16 16 * Elementor tested up to: 4.3.5 … … 33 33 34 34 // Define plugin constants 35 define( 'AEFE_VERSION', '1.0. 9' );35 define( 'AEFE_VERSION', '1.0.10' ); 36 36 define( 'AEFE_PLUGIN_FILE', __FILE__ ); 37 37 define( 'AEFE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); … … 89 89 // Initialize plugin components even if Elementor is temporarily inactive so 90 90 // shortcodes and admin UX continue to degrade gracefully. 91 add_action( 'plugins_loaded', array( $this, 'init' ), 20 ); 92 93 // Separate late plugins_loaded check to show admin notice when Elementor is missing. 94 add_action( 'plugins_loaded', array( $this, 'maybe_show_elementor_notice' ), 20 ); 91 // Register the shortcode as soon as the plugin file loads, independent of 92 // any later hook, so [aefe_embed] can never be left unregistered and print 93 // as plain text. The singleton makes the later init() call a no-op for it. 94 AEFE_Shortcode::instance(); 95 96 // If this file is loaded after plugins_loaded has already fired (mu-plugin 97 // loaders, deferred activation, some hosting setups), the hook below would 98 // never run and the [aefe_embed] shortcode would never be registered, so it 99 // would print as plain text. Initialise immediately in that case. 100 if ( did_action( 'plugins_loaded' ) ) { 101 $this->init(); 102 $this->maybe_show_elementor_notice(); 103 } else { 104 add_action( 'plugins_loaded', array( $this, 'init' ), 20 ); 105 106 // Separate late plugins_loaded check to show admin notice when Elementor is missing. 107 add_action( 'plugins_loaded', array( $this, 'maybe_show_elementor_notice' ), 20 ); 108 } 95 109 96 110 add_action( 'init', array( $this, 'load_textdomain' ) ); -
appsfruit-embed-for-elementor/trunk/readme.txt
r3745549 r3751986 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 87 Stable tag: 1.0.10 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 108 108 == Changelog == 109 109 110 = 1.0.10 = 111 * Fixed fatal error caused by Elementor's frontend being initialised twice on every page. 112 * Fixed fatal memory error when a template embedded itself. 113 * Fixed fatal error on PHP 8 when public visitors opened a template URL on themes without a 404.php file. 114 * Fixed fatal error when two copies of the plugin were active. 115 * Elementor rendering errors are now caught instead of breaking the page. 116 * Fixed site search returning no results. 117 * Fixed Elementor editor preview not loading for AEFE templates. 118 * Fixed Gutenberg block errors in the widgets and site editors (removed deprecated wp-editor dependency). 119 * AEFE templates now support Elementor automatically, no settings change needed. 120 * Security: removed the elementor-preview URL bypass that exposed published templates to public visitors. 121 110 122 = 1.0.8 = 111 123 * Fixed fatal error caused by Elementor's frontend being initialised twice on every page.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)