Plugin Directory

Changeset 2831382


Ignore:
Timestamp:
12/09/2022 10:10:38 PM (3 years ago)
Author:
soliddigital
Message:

Update to version 1.3.3 from GitHub

Location:
solid-dynamics
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • solid-dynamics/tags/1.3.3/classes/list-pluck.php

    r2828963 r2831382  
    8787        switch ($source) {
    8888            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();
    9092
    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                }
    92106                break;
    93107            case "option":
  • solid-dynamics/tags/1.3.3/readme.txt

    r2828963 r2831382  
    33Tags: elementor, dynamic tags, jet engine, macros
    44Tested up to: 6.0
    5 Stable tag: 1.3.2
     5Stable tag: 1.3.3
    66Requires PHP: 7.0
    77License: GPLv2
     
    4848== Changelog ==
    4949
     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
    5056= 1.3.0 =
    5157- 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  
    44 * Plugin Name:       Solid Dynamics
    55 * Description:       Helpful utilities for Elementor, Jet Engine, and beyond.
    6  * Version:           1.3.2
     6 * Version:           1.3.3
    77 * Author:            Solid Digital
    88 * Author URI:        https://www.soliddigital.com
  • solid-dynamics/trunk/classes/list-pluck.php

    r2828963 r2831382  
    8787        switch ($source) {
    8888            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();
    9092
    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                }
    92106                break;
    93107            case "option":
  • solid-dynamics/trunk/readme.txt

    r2828963 r2831382  
    33Tags: elementor, dynamic tags, jet engine, macros
    44Tested up to: 6.0
    5 Stable tag: 1.3.2
     5Stable tag: 1.3.3
    66Requires PHP: 7.0
    77License: GPLv2
     
    4848== Changelog ==
    4949
     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
    5056= 1.3.0 =
    5157- 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  
    44 * Plugin Name:       Solid Dynamics
    55 * Description:       Helpful utilities for Elementor, Jet Engine, and beyond.
    6  * Version:           1.3.2
     6 * Version:           1.3.3
    77 * Author:            Solid Digital
    88 * Author URI:        https://www.soliddigital.com
Note: See TracChangeset for help on using the changeset viewer.