Changeset 3265733
- Timestamp:
- 04/02/2025 02:44:12 PM (11 months ago)
- Location:
- lct-useful-shortcodes-functions/trunk
- Files:
-
- 7 edited
-
code/admin/post_types.php (modified) (1 diff)
-
code/admin/taxonomies.php (modified) (4 diffs)
-
code/plugins/acf/_loaded.php (modified) (1 diff)
-
code/wp-admin/admin/update.php (modified) (3 diffs)
-
code/wp-admin/admin/update_extras.php (modified) (1 diff)
-
lct-useful-shortcodes-functions.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lct-useful-shortcodes-functions/trunk/code/admin/post_types.php
r3150229 r3265733 398 398 * 399 399 * @since 0.0 400 * @verified 20 17.04.28400 * @verified 2025.03.28 401 401 */ 402 402 function wp_nav_menu_archives_meta_box() 403 403 { 404 if ( ! lct_get_setting( 'use_wp_nav_menu_archives_meta_box', true ) ) { 405 return; 406 } 407 408 404 409 /** 405 410 * get custom post types with archive support -
lct-useful-shortcodes-functions/trunk/code/admin/taxonomies.php
r3263018 r3265733 273 273 * @unused param $class 274 274 * @since 0.0 275 * @verified 202 4.03.13275 * @verified 2025.04.02 276 276 */ 277 277 function register_post_status( $taxonomy, $post_types ) … … 288 288 289 289 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' ) ); 291 292 $update_terms = false; 292 293 … … 618 619 * @return string 619 620 * @since 2020.3 620 * @verified 2025.0 3.05621 * @verified 2025.04.02 621 622 */ 622 623 function acf_post_status_check( $post_status, $post ) … … 626 627 && isset( $bt[4]['function'] ) 627 628 && $bt[4]['function'] === 'acf_get_post_title' 629 && function_exists( 'afwp_cache_key' ) 628 630 && ( $cache_key = afwp_cache_key( afwp_cache_vars( $post->post_type . '_status' ) ) ) 629 631 && ( $terms_to_register = get_transient( $cache_key ) ) -
lct-useful-shortcodes-functions/trunk/code/plugins/acf/_loaded.php
r3263018 r3265733 134 134 * @date 2023.05.17 135 135 * @since 2023.02 136 * @verified 202 3.08.31136 * @verified 2025.03.31 137 137 */ 138 138 function prepare_fields_for_import_store() 139 139 { 140 140 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 ); 142 142 } 143 143 } -
lct-useful-shortcodes-functions/trunk/code/wp-admin/admin/update.php
r2894473 r3265733 126 126 * 127 127 * @since LCT 7.4 128 * @verified 20 18.08.23128 * @verified 2025.03.31 129 129 */ 130 130 function always_check_admin() … … 135 135 //Unfortunately we always have to check this 136 136 //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' ) ) { 138 138 add_action( 'admin_init', [ $this, 'update_roles_n_caps' ] ); 139 139 } … … 219 219 * 220 220 * @since LCT 7.26 221 * @verified 20 18.08.23221 * @verified 2025.03.31 222 222 */ 223 223 function update_roles_n_caps() 224 224 { 225 225 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 ); 227 227 228 228 -
lct-useful-shortcodes-functions/trunk/code/wp-admin/admin/update_extras.php
r2894473 r3265733 147 147 * 148 148 * @since 2017.69 149 * @verified 20 17.08.24149 * @verified 2025.03.31 150 150 */ 151 151 function update_first() 152 152 { 153 153 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' ); 154 158 155 159 -
lct-useful-shortcodes-functions/trunk/lct-useful-shortcodes-functions.php
r3263018 r3265733 4 4 * Plugin URI: https://www.simplesmithmedia.com 5 5 * Description: Shortcodes & Functions that will help make your life easier. 6 * Version: 202 4.116 * Version: 2025.01 7 7 * Author: SimpleSmithMedia 8 8 * Author URI: https://www.simplesmithmedia.com … … 10 10 * Domain Path: /lang 11 11 * License: GPLv2 or later (https://www.gnu.org/licenses/gpl-2.0.html) 12 * Copyright 202 4SimpleSmithMedia (email : info@simplesmithmedia.com)12 * Copyright 2025 SimpleSmithMedia (email : info@simplesmithmedia.com) 13 13 * 14 * @copyright 202 414 * @copyright 2025 15 15 * @license GPLv2 16 16 * @since 1.0 … … 18 18 19 19 /** 20 * Copyright (C) 202 4SimpleSmithMedia20 * Copyright (C) 2025 SimpleSmithMedia 21 21 * * 22 22 * This program is distributed in the hope that it will be useful, -
lct-useful-shortcodes-functions/trunk/readme.txt
r3263018 r3265733 3 3 Tags: Functions, Shortcodes 4 4 Requires at least: 6.6 5 Tested up to: 6. 6.25 Tested up to: 6.7.2 6 6 Requires PHP: 8.1 7 7 License: GPLv2 or later … … 33 33 34 34 == 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 35 42 = 2024.11 = 36 43 *Release Date - 27 March 2025*
Note: See TracChangeset
for help on using the changeset viewer.