Plugin Directory

Changeset 3265733


Ignore:
Timestamp:
04/02/2025 02:44:12 PM (11 months ago)
Author:
ircary
Message:

2025.01

*Release Date - 02 April 2025*

  • WP v6.7.2 Ready
  • Avada v7.11.15 Ready
  • Minor bug fixes
Location:
lct-useful-shortcodes-functions/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • lct-useful-shortcodes-functions/trunk/code/admin/post_types.php

    r3150229 r3265733  
    398398     *
    399399     * @since    0.0
    400      * @verified 2017.04.28
     400     * @verified 2025.03.28
    401401     */
    402402    function wp_nav_menu_archives_meta_box()
    403403    {
     404        if ( ! lct_get_setting( 'use_wp_nav_menu_archives_meta_box', true ) ) {
     405            return;
     406        }
     407
     408
    404409        /**
    405410         * get custom post types with archive support
  • lct-useful-shortcodes-functions/trunk/code/admin/taxonomies.php

    r3263018 r3265733  
    273273         * @unused   param $class
    274274         * @since    0.0
    275          * @verified 2024.03.13
     275         * @verified 2025.04.02
    276276         */
    277277        function register_post_status( $taxonomy, $post_types )
     
    288288
    289289
    290             $cache_key    = afwp_cache_key( afwp_cache_vars( $taxonomy ) );
     290            $cache_key    = function_exists( 'afwp_cache_key' )
     291                ? afwp_cache_key( afwp_cache_vars( $taxonomy ) ) : lct_cache_key( compact( 'taxonomy' ) );
    291292            $update_terms = false;
    292293
     
    618619         * @return string
    619620         * @since    2020.3
    620          * @verified 2025.03.05
     621         * @verified 2025.04.02
    621622         */
    622623        function acf_post_status_check( $post_status, $post )
     
    626627                && isset( $bt[4]['function'] )
    627628                && $bt[4]['function'] === 'acf_get_post_title'
     629                && function_exists( 'afwp_cache_key' )
    628630                && ( $cache_key = afwp_cache_key( afwp_cache_vars( $post->post_type . '_status' ) ) )
    629631                && ( $terms_to_register = get_transient( $cache_key ) )
  • lct-useful-shortcodes-functions/trunk/code/plugins/acf/_loaded.php

    r3263018 r3265733  
    134134     * @date     2023.05.17
    135135     * @since    2023.02
    136      * @verified 2023.08.31
     136     * @verified 2025.03.31
    137137     */
    138138    function prepare_fields_for_import_store()
    139139    {
    140140        if ( ! get_transient( 'afwp_acf_loaded_references' ) ) {
    141             set_transient( 'afwp_acf_loaded_references', $this->references, HOUR_IN_SECONDS );
     141            set_transient( 'afwp_acf_loaded_references', $this->references, MONTH_IN_SECONDS );
    142142        }
    143143    }
  • lct-useful-shortcodes-functions/trunk/code/wp-admin/admin/update.php

    r2894473 r3265733  
    126126     *
    127127     * @since    LCT 7.4
    128      * @verified 2018.08.23
     128     * @verified 2025.03.31
    129129     */
    130130    function always_check_admin()
     
    135135        //Unfortunately we always have to check this
    136136        //TODO: cs - We need to find a way to check if this has been run already - 11/15/2016 03:58 PM
    137         if ( ! get_transient( zxzu( 'did_update_roles_n_caps' ) ) ) {
     137        if ( ! get_transient( 'lct_did_update_roles_n_caps' ) ) {
    138138            add_action( 'admin_init', [ $this, 'update_roles_n_caps' ] );
    139139        }
     
    219219     *
    220220     * @since    LCT 7.26
    221      * @verified 2018.08.23
     221     * @verified 2025.03.31
    222222     */
    223223    function update_roles_n_caps()
    224224    {
    225225        if ( ! lct_doing() ) {
    226             set_transient( zxzu( 'did_update_roles_n_caps' ), true, DAY_IN_SECONDS );
     226            set_transient( 'lct_did_update_roles_n_caps', true, MONTH_IN_SECONDS );
    227227
    228228
  • lct-useful-shortcodes-functions/trunk/code/wp-admin/admin/update_extras.php

    r2894473 r3265733  
    147147     *
    148148     * @since    2017.69
    149      * @verified 2017.08.24
     149     * @verified 2025.03.31
    150150     */
    151151    function update_first()
    152152    {
    153153        apply_filters( 'lct/editzz_update_files', false, false );
     154
     155
     156        delete_transient( 'afwp_acf_loaded_references' );
     157        delete_transient( 'lct_did_update_roles_n_caps' );
    154158
    155159
  • lct-useful-shortcodes-functions/trunk/lct-useful-shortcodes-functions.php

    r3263018 r3265733  
    44 * Plugin URI: https://www.simplesmithmedia.com
    55 * Description: Shortcodes & Functions that will help make your life easier.
    6  * Version: 2024.11
     6 * Version: 2025.01
    77 * Author: SimpleSmithMedia
    88 * Author URI: https://www.simplesmithmedia.com
     
    1010 * Domain Path: /lang
    1111 * License: GPLv2 or later (https://www.gnu.org/licenses/gpl-2.0.html)
    12  * Copyright 2024 SimpleSmithMedia (email : info@simplesmithmedia.com)
     12 * Copyright 2025 SimpleSmithMedia (email : info@simplesmithmedia.com)
    1313 *
    14  * @copyright 2024
     14 * @copyright 2025
    1515 * @license   GPLv2
    1616 * @since     1.0
     
    1818
    1919/**
    20  * Copyright (C) 2024 SimpleSmithMedia
     20 * Copyright (C) 2025 SimpleSmithMedia
    2121 * *
    2222 * This program is distributed in the hope that it will be useful,
  • lct-useful-shortcodes-functions/trunk/readme.txt

    r3263018 r3265733  
    33Tags: Functions, Shortcodes
    44Requires at least: 6.6
    5 Tested up to: 6.6.2
     5Tested up to: 6.7.2
    66Requires PHP: 8.1
    77License: GPLv2 or later
     
    3333
    3434== Changelog ==
     35= 2025.01 =
     36*Release Date - 02 April 2025*
     37
     38* WP v6.7.2 Ready
     39* Avada v7.11.15 Ready
     40* Minor bug fixes
     41
    3542= 2024.11 =
    3643*Release Date - 27 March 2025*
Note: See TracChangeset for help on using the changeset viewer.