Changeset 3132825
- Timestamp:
- 08/08/2024 05:28:11 PM (19 months ago)
- Location:
- dynamicconditions
- Files:
-
- 65 added
- 5 edited
-
tags/1.7.1 (added)
-
tags/1.7.1/Admin (added)
-
tags/1.7.1/Admin/DynamicConditionsAdmin.php (added)
-
tags/1.7.1/Admin/css (added)
-
tags/1.7.1/Admin/css/dynamic-conditions-admin.css (added)
-
tags/1.7.1/Admin/index.php (added)
-
tags/1.7.1/Admin/js (added)
-
tags/1.7.1/Admin/js/dynamic-conditions-admin.js (added)
-
tags/1.7.1/Admin/js/index.php (added)
-
tags/1.7.1/Admin/partials (added)
-
tags/1.7.1/Admin/partials/dynamic-conditions-admin-display.php (added)
-
tags/1.7.1/Admin/partials/index.php (added)
-
tags/1.7.1/LICENSE.txt (added)
-
tags/1.7.1/Legacy (added)
-
tags/1.7.1/Legacy/Lib (added)
-
tags/1.7.1/Legacy/Lib/DynamicConditionsDate.php (added)
-
tags/1.7.1/Legacy/Lib/index.php (added)
-
tags/1.7.1/Legacy/WeakMap_Fallback.php (added)
-
tags/1.7.1/Legacy/index.php (added)
-
tags/1.7.1/Lib (added)
-
tags/1.7.1/Lib/Activator.php (added)
-
tags/1.7.1/Lib/Date.php (added)
-
tags/1.7.1/Lib/Deactivator.php (added)
-
tags/1.7.1/Lib/DynamicConditions.php (added)
-
tags/1.7.1/Lib/DynamicTags (added)
-
tags/1.7.1/Lib/DynamicTags/NumberPostsTag.php (added)
-
tags/1.7.1/Lib/DynamicTags/index.php (added)
-
tags/1.7.1/Lib/I18n.php (added)
-
tags/1.7.1/Lib/Loader.php (added)
-
tags/1.7.1/Lib/index.php (added)
-
tags/1.7.1/Public (added)
-
tags/1.7.1/Public/DynamicConditionsPublic.php (added)
-
tags/1.7.1/Public/css (added)
-
tags/1.7.1/Public/css/debug.css (added)
-
tags/1.7.1/Public/css/dynamic-conditions-public.css (added)
-
tags/1.7.1/Public/css/index.php (added)
-
tags/1.7.1/Public/index.php (added)
-
tags/1.7.1/Public/js (added)
-
tags/1.7.1/Public/js/dynamic-conditions-public.js (added)
-
tags/1.7.1/Public/js/index.php (added)
-
tags/1.7.1/Public/partials (added)
-
tags/1.7.1/Public/partials/debug.php (added)
-
tags/1.7.1/Public/partials/dynamic-conditions-public-display.php (added)
-
tags/1.7.1/Public/partials/index.php (added)
-
tags/1.7.1/README.txt (added)
-
tags/1.7.1/composer.json (added)
-
tags/1.7.1/dynamic-conditions.php (added)
-
tags/1.7.1/index.php (added)
-
tags/1.7.1/languages (added)
-
tags/1.7.1/languages/dynamicconditions-de_DE.mo (added)
-
tags/1.7.1/languages/dynamicconditions-de_DE.po (added)
-
tags/1.7.1/languages/dynamicconditions.pot (added)
-
tags/1.7.1/languages/index.php (added)
-
tags/1.7.1/uninstall.php (added)
-
tags/1.7.1/vendor (added)
-
tags/1.7.1/vendor/autoload.php (added)
-
tags/1.7.1/vendor/composer (added)
-
tags/1.7.1/vendor/composer/ClassLoader.php (added)
-
tags/1.7.1/vendor/composer/LICENSE (added)
-
tags/1.7.1/vendor/composer/autoload_classmap.php (added)
-
tags/1.7.1/vendor/composer/autoload_namespaces.php (added)
-
tags/1.7.1/vendor/composer/autoload_psr4.php (added)
-
tags/1.7.1/vendor/composer/autoload_real.php (added)
-
tags/1.7.1/vendor/composer/autoload_static.php (added)
-
tags/1.7.1/vendor/composer/installed.json (added)
-
trunk/Admin/DynamicConditionsAdmin.php (modified) (2 diffs)
-
trunk/Lib/DynamicConditions.php (modified) (1 diff)
-
trunk/Public/DynamicConditionsPublic.php (modified) (4 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/dynamic-conditions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dynamicconditions/trunk/Admin/DynamicConditionsAdmin.php
r3132763 r3132825 4 4 5 5 use Elementor\Controls_Manager; 6 use Elementor\Core\Base\Document; 6 7 use Elementor\Element_Base; 7 8 use Elementor\Modules\DynamicTags\Module; … … 78 79 /** 79 80 * Creates section for dynamic conditions in elementor-widgets 81 * @param Element_Base|Document $element 80 82 */ 81 public function addConditionFields( Element_Base$element, $section_id = null, ?array $args = null ): void {83 public function addConditionFields( $element, $section_id = null, ?array $args = null ): void { 82 84 $valueCondition = [ 83 85 'equal', -
dynamicconditions/trunk/Lib/DynamicConditions.php
r3132763 r3132825 227 227 * @since 1.0.0 228 228 */ 229 public static function run(): void {229 public static function run(): void { 230 230 $plugin = new self(); 231 231 $plugin->loader->run(); -
dynamicconditions/trunk/Public/DynamicConditionsPublic.php
r3132763 r3132825 3 3 namespace DynamicConditions\Pub; 4 4 5 use Elementor\Core\Base\Document; 5 6 use Elementor\Element_Base; 6 7 use Elementor\Plugin; … … 75 76 /** 76 77 * Gets settings with english locale (needed for date) 77 */ 78 private function getElementSettings( Element_Base $element ): array { 78 * @param Element_Base|Document $element 79 */ 80 private function getElementSettings( $element ): array { 79 81 $id = $element->get_id(); 80 82 $clonedElement = clone $element; … … 290 292 /** 291 293 * Check if section is hidden, before rendering 292 */ 293 public function filterSectionContentBefore( Element_Base $section ): void { 294 * @param Element_Base|Document $section 295 */ 296 public function filterSectionContentBefore( $section ): void { 294 297 if ( $this->getMode() === 'edit' ) { 295 298 return; … … 318 321 * Clean output of section if it is hidden 319 322 * 320 * @param Element_Base $section321 */ 322 public function filterSectionContentAfter( Element_Base$section ): void {323 * @param Element_Base|Document $section 324 */ 325 public function filterSectionContentAfter( $section ): void { 323 326 // reset shortcode tags 324 327 $GLOBALS['shortcode_tags'] += $this->shortcodeTags; -
dynamicconditions/trunk/README.txt
r3132763 r3132825 6 6 Requires PHP: 7.4 7 7 Tested up to: 6.6 8 Stable tag: 1.7. 08 Stable tag: 1.7.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 67 67 == Changelog == 68 = 1.7.1 = 69 * Hotfix issue when element is no Base_Element 70 68 71 = 1.7.0 = 69 72 * Fix issue with removed css -
dynamicconditions/trunk/dynamic-conditions.php
r3132763 r3132825 23 23 * Plugin URI: https://github.com/RTO-Websites/dynamic-conditions 24 24 * Description: Activates conditions for dynamic tags to show/hides a widget. 25 * Version: 1.7. 025 * Version: 1.7.1 26 26 * Author: RTO GmbH 27 27 * Author URI: https://www.rto.de … … 37 37 } 38 38 39 define( 'DynamicConditions_VERSION', '1.7. 0' );39 define( 'DynamicConditions_VERSION', '1.7.1' ); 40 40 41 41 define( 'DynamicConditions_DIR', str_replace( '\\', '/', __DIR__ ) );
Note: See TracChangeset
for help on using the changeset viewer.