Plugin Directory

Changeset 2779134


Ignore:
Timestamp:
09/02/2022 07:23:44 AM (4 years ago)
Author:
nigelmoore1
Message:

1.2.1 release

Location:
the-tech-tribe/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • the-tech-tribe/trunk/README.txt

    r2768657 r2779134  
    55Requires at least: 5.0
    66Tested up to: 6.0.1
    7 Stable tag: 1.2.0
     7Stable tag: 1.2.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    5959
    6060== Changelog ==
     61
     62= 1.2.1 - September 02, 2022 =
     63* Improve the logs.
     64* Change log date to have UTC and local time.
    6165
    6266= 1.2.0 - August 08, 2022 =
  • the-tech-tribe/trunk/app/Post.php

    r2768657 r2779134  
    5454        $apiKey = WPOptions::get_instance()->apiKey();
    5555       
    56         tttCustomLogs("api key ");
    57         tttCustomLogs($apiKey);
    58 
    5956        if($apiKey != '') {
    6057            tttCustomLogs("api key not empty");
     
    6259            //move this to function
    6360            $userAccountKeys = \TheTribalPlugin\User::get_instance()->getAccountKeys();
    64             tttCustomLogs("userAccountKeys");
    65             tttCustomLogs($userAccountKeys);
    66 
     61           
    6762            $userAccountKeys['date_import_blog'] = \TheTribalPlugin\WPOptions::get_instance()->dateImportBlog();
    6863           
  • the-tech-tribe/trunk/helpers/utilities.php

    r2768657 r2779134  
    213213
    214214    if(is_writable($upload_dir['basedir'])){
    215         $file = fopen($file,"a");
    216         fwrite($file, "\n" . date_i18n('Y-m-d h:i:s') . " :: " . $log);
     215        $file = fopen($file,"a");
     216        $dateTime = date("Y-m-d H:i:s");
     217        $newDateTime = new DateTime($dateTime);
     218        $newDateTime->setTimezone(new DateTimeZone("UTC"));
     219        $dateTimeUTC = $newDateTime->format("Y-m-d H:i:s");
     220        fwrite($file, "\n" ."(UTC) " . $dateTimeUTC . " | Local Time - " . wp_date('Y-m-d H:i:s') . ' :: ' . $log);
    217221        fclose($file);
    218222    }
  • the-tech-tribe/trunk/the-tribal-plugin.php

    r2768657 r2779134  
    1717 * Plugin URI:        thetechtribe.com
    1818 * Description:       This plugin is for members of The Tech Tribe to manage features such as Automated Blog Posting etc.
    19  * Version:           1.2.0
     19 * Version:           1.2.1
    2020 * Author:            The Tech Tribe
    2121 * Author URI:        https://thetechtribe.com
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'THE_TRIBAL_PLUGIN_VERSION', '1.2.0' );
     38define( 'THE_TRIBAL_PLUGIN_VERSION', '1.2.1' );
    3939
    4040//date_default_timezone_set(wp_timezone_string());
     
    117117    \TheTribalPlugin\WPMenu::get_instance()->init();
    118118    \TheTribalPlugin\AjaxImportPost::get_instance()->init();
     119
    119120}
    120121add_action('init', 'run_the_tribal_plugin');
Note: See TracChangeset for help on using the changeset viewer.