Changeset 2831382
- Timestamp:
- 12/09/2022 10:10:38 PM (3 years ago)
- Location:
- solid-dynamics
- Files:
-
- 6 edited
- 1 copied
-
tags/1.3.3 (copied) (copied from solid-dynamics/trunk)
-
tags/1.3.3/classes/list-pluck.php (modified) (1 diff)
-
tags/1.3.3/readme.txt (modified) (2 diffs)
-
tags/1.3.3/solid-dynamics.php (modified) (1 diff)
-
trunk/classes/list-pluck.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/solid-dynamics.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
solid-dynamics/tags/1.3.3/classes/list-pluck.php
r2828963 r2831382 87 87 switch ($source) { 88 88 case "meta": 89 global $post; 89 // Jet engine listing grid sets $wp_query->queried_object to the current object as it iterates through posts, terms, or users. 90 // So this will give us the most "local" context when it is called. 91 $object = get_queried_object(); 90 92 91 $the_list = get_post_meta( $post->ID, $list, true ); 93 switch (get_class($object)) { 94 case "WP_Post": 95 $the_list = get_post_meta( $object->ID, $list, true ); 96 break; 97 case "WP_Term": 98 $the_list = get_term_meta( $object->term_id, $list, true ); 99 break; 100 case "WP_User": 101 $the_list = get_user_meta( $object->ID, $list, true ); 102 break; 103 default: 104 $the_list = []; 105 } 92 106 break; 93 107 case "option": -
solid-dynamics/tags/1.3.3/readme.txt
r2828963 r2831382 3 3 Tags: elementor, dynamic tags, jet engine, macros 4 4 Tested up to: 6.0 5 Stable tag: 1.3. 25 Stable tag: 1.3.3 6 6 Requires PHP: 7.0 7 7 License: GPLv2 … … 48 48 == Changelog == 49 49 50 = 1.3.3 = 51 - Add support for term and user meta to list pluck tag. 52 53 = 1.3.2 = 54 - Add support for wp_options to list pluck tag. 55 50 56 = 1.3.0 = 51 57 - Feature: add settings: Disable 404 permalink guessing; Hide the page title from the Hello Elementor theme; Wrap Elementor content with `main#content`; Make Elementor fade in entrance animations more subtle. -
solid-dynamics/tags/1.3.3/solid-dynamics.php
r2828963 r2831382 4 4 * Plugin Name: Solid Dynamics 5 5 * Description: Helpful utilities for Elementor, Jet Engine, and beyond. 6 * Version: 1.3. 26 * Version: 1.3.3 7 7 * Author: Solid Digital 8 8 * Author URI: https://www.soliddigital.com -
solid-dynamics/trunk/classes/list-pluck.php
r2828963 r2831382 87 87 switch ($source) { 88 88 case "meta": 89 global $post; 89 // Jet engine listing grid sets $wp_query->queried_object to the current object as it iterates through posts, terms, or users. 90 // So this will give us the most "local" context when it is called. 91 $object = get_queried_object(); 90 92 91 $the_list = get_post_meta( $post->ID, $list, true ); 93 switch (get_class($object)) { 94 case "WP_Post": 95 $the_list = get_post_meta( $object->ID, $list, true ); 96 break; 97 case "WP_Term": 98 $the_list = get_term_meta( $object->term_id, $list, true ); 99 break; 100 case "WP_User": 101 $the_list = get_user_meta( $object->ID, $list, true ); 102 break; 103 default: 104 $the_list = []; 105 } 92 106 break; 93 107 case "option": -
solid-dynamics/trunk/readme.txt
r2828963 r2831382 3 3 Tags: elementor, dynamic tags, jet engine, macros 4 4 Tested up to: 6.0 5 Stable tag: 1.3. 25 Stable tag: 1.3.3 6 6 Requires PHP: 7.0 7 7 License: GPLv2 … … 48 48 == Changelog == 49 49 50 = 1.3.3 = 51 - Add support for term and user meta to list pluck tag. 52 53 = 1.3.2 = 54 - Add support for wp_options to list pluck tag. 55 50 56 = 1.3.0 = 51 57 - Feature: add settings: Disable 404 permalink guessing; Hide the page title from the Hello Elementor theme; Wrap Elementor content with `main#content`; Make Elementor fade in entrance animations more subtle. -
solid-dynamics/trunk/solid-dynamics.php
r2828963 r2831382 4 4 * Plugin Name: Solid Dynamics 5 5 * Description: Helpful utilities for Elementor, Jet Engine, and beyond. 6 * Version: 1.3. 26 * Version: 1.3.3 7 7 * Author: Solid Digital 8 8 * Author URI: https://www.soliddigital.com
Note: See TracChangeset
for help on using the changeset viewer.