Plugin Directory

Changeset 2496136


Ignore:
Timestamp:
03/15/2021 04:14:33 PM (5 years ago)
Author:
ircary
Message:

2021.2

*Release Date - 15 March 2021*

  • Removed:
    • lct_admin_cron{}pimg_users()
  • Added:
    • lct_admin_cron{}wp_users()
Location:
lct-useful-shortcodes-functions/trunk
Files:
3 edited

Legend:

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

    r2228429 r2496136  
    232232     *
    233233     * @since    7.4
    234      * @verified 2018.08.30
     234     * @verified 2021.03.15
    235235     */
    236236    function add_default_wp_users() {
     
    239239            ( $client = lct_acf_get_option_raw( 'clientzz' ) )
    240240        ) {
    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 );
    251243        }
    252244    }
     
    381373
    382374    /**
    383      * PIMG sites only
     375     * Update the users list in the database
     376     *
     377     * @param string $client
    384378     *
    385379     * @since    7.4
    386      * @verified 2018.08.30
    387      */
    388     function pimg_users() {
     380     * @verified 2021.03.15
     381     */
     382    function wp_users( $client ) {
    389383        global $wpdb;
    390384
    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' ) ) );
    392386        $api_users = json_decode( $resp, true );
    393387
  • lct-useful-shortcodes-functions/trunk/lct-useful-shortcodes-functions.php

    r2493704 r2496136  
    44 * Plugin URI: https://www.simplesmithmedia.com
    55 * Description: Shortcodes & Functions that will help make your life easier.
    6  * Version: 2021.1
     6 * Version: 2021.2
    77 * Author: SimpleSmithMedia
    88 * Author URI: https://www.simplesmithmedia.com
  • lct-useful-shortcodes-functions/trunk/readme.txt

    r2493704 r2496136  
    2929
    3030== 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
    3139= 2021.1 =
    3240*Release Date - 11 March 2021*
Note: See TracChangeset for help on using the changeset viewer.