Plugin Directory

Changeset 2607171


Ignore:
Timestamp:
09/30/2021 10:01:18 AM (5 years ago)
Author:
codefairies
Message:

1.4.6

Location:
bookertools-shows/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bookertools-shows/trunk/bookertools-helpers.php

    r1847588 r2607171  
    2525function codefairies_bookertools_parseIso8601date($date){
    2626    if(strlen($date)>0){
    27         $d = DateTime::createFromFormat(DateTime::ISO8601, $date);
     27        //$d = DateTime::createFromFormat(DateTime::ISO8601, $date);
     28         $d = DateTime::createFromFormat("Y-m-d\TH:i:s", $date);
    2829        return $d->format('d-m-Y');
    2930    }
  • bookertools-shows/trunk/bookertools-integration.php

    r2038076 r2607171  
    44 * Plugin URI: https://app.bookertools.com
    55 * Description: This plugin offers integration with Bookertools 2.0 through a widget and shortcodes [bookertools_shows] & [bookertools_tours] to display your announced Bookertools shows and tours.
    6  * Version: 1.4.5
     6 * Version: 1.4.6
    77 * Author: CodeFairies
    88 * Author URI: https://www.codefairies.com
     
    238238        $new_input['team_token'] = '';
    239239       
    240         $token_url = $new_input['team_url'] . '/api/token/' . $new_input['team_hash'];
     240        $token_url = $new_input['team_url'] . '/api/account/token/' . $new_input['team_hash'];
    241241        $response = wp_remote_get($token_url);
    242242       
     
    296296            <input type="url" style="width:100%%" id="team_url" name="bookertools-hash[team_url]" value="%s" placeholder="bookertools url" />
    297297            ',
    298             isset( $this->options['team_url'] ) ? esc_attr( $this->options['team_url']) : 'https://app.bookertools.com'
     298            isset( $this->options['team_url'] ) ? esc_attr( $this->options['team_url']) : 'https://api.bookertools.com'
    299299        );
    300300    }
  • bookertools-shows/trunk/readme.txt

    r2038074 r2607171  
    4949
    5050== Upgrade Notice ==
     51= 1.4.6 =
     52Bugfix - changes for new api
     53
    5154= 1.4.5 =
    5255Bugfix - default limit 1000 shows
Note: See TracChangeset for help on using the changeset viewer.