Changeset 2496136
- Timestamp:
- 03/15/2021 04:14:33 PM (5 years ago)
- Location:
- lct-useful-shortcodes-functions/trunk
- Files:
-
- 3 edited
-
code/admin/cron.php (modified) (3 diffs)
-
lct-useful-shortcodes-functions.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lct-useful-shortcodes-functions/trunk/code/admin/cron.php
r2228429 r2496136 232 232 * 233 233 * @since 7.4 234 * @verified 20 18.08.30234 * @verified 2021.03.15 235 235 */ 236 236 function add_default_wp_users() { … … 239 239 ( $client = lct_acf_get_option_raw( 'clientzz' ) ) 240 240 ) { 241 switch ( $client ) { 242 case '00pimg': 243 $this->default_users( $client ); 244 245 $this->pimg_users(); 246 break; 247 248 249 default: 250 } 241 $this->default_users( $client ); 242 $this->wp_users( $client ); 251 243 } 252 244 } … … 381 373 382 374 /** 383 * PIMG sites only 375 * Update the users list in the database 376 * 377 * @param string $client 384 378 * 385 379 * @since 7.4 386 * @verified 20 18.08.30387 */ 388 function pimg_users() {380 * @verified 2021.03.15 381 */ 382 function wp_users( $client ) { 389 383 global $wpdb; 390 384 391 $resp = file_get_contents( lct_get_api_url( 'wp_users.php?clientzz= 00pimg&key=' . lct_acf_get_option_raw( 'api' ) ) );385 $resp = file_get_contents( lct_get_api_url( 'wp_users.php?clientzz=' . $client . '&key=' . lct_acf_get_option_raw( 'api' ) ) ); 392 386 $api_users = json_decode( $resp, true ); 393 387 -
lct-useful-shortcodes-functions/trunk/lct-useful-shortcodes-functions.php
r2493704 r2496136 4 4 * Plugin URI: https://www.simplesmithmedia.com 5 5 * Description: Shortcodes & Functions that will help make your life easier. 6 * Version: 2021. 16 * Version: 2021.2 7 7 * Author: SimpleSmithMedia 8 8 * Author URI: https://www.simplesmithmedia.com -
lct-useful-shortcodes-functions/trunk/readme.txt
r2493704 r2496136 29 29 30 30 == Changelog == 31 = 2021.2 = 32 *Release Date - 15 March 2021* 33 34 * Removed: 35 * lct_admin_cron{}pimg_users() 36 * Added: 37 * lct_admin_cron{}wp_users() 38 31 39 = 2021.1 = 32 40 *Release Date - 11 March 2021*
Note: See TracChangeset
for help on using the changeset viewer.