Changeset 2779134
- Timestamp:
- 09/02/2022 07:23:44 AM (4 years ago)
- Location:
- the-tech-tribe/trunk
- Files:
-
- 1 deleted
- 4 edited
-
README.txt (modified) (2 diffs)
-
app/Post.php (modified) (2 diffs)
-
composer.json (deleted)
-
helpers/utilities.php (modified) (1 diff)
-
the-tribal-plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
the-tech-tribe/trunk/README.txt
r2768657 r2779134 5 5 Requires at least: 5.0 6 6 Tested up to: 6.0.1 7 Stable tag: 1.2. 07 Stable tag: 1.2.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 59 59 60 60 == Changelog == 61 62 = 1.2.1 - September 02, 2022 = 63 * Improve the logs. 64 * Change log date to have UTC and local time. 61 65 62 66 = 1.2.0 - August 08, 2022 = -
the-tech-tribe/trunk/app/Post.php
r2768657 r2779134 54 54 $apiKey = WPOptions::get_instance()->apiKey(); 55 55 56 tttCustomLogs("api key ");57 tttCustomLogs($apiKey);58 59 56 if($apiKey != '') { 60 57 tttCustomLogs("api key not empty"); … … 62 59 //move this to function 63 60 $userAccountKeys = \TheTribalPlugin\User::get_instance()->getAccountKeys(); 64 tttCustomLogs("userAccountKeys"); 65 tttCustomLogs($userAccountKeys); 66 61 67 62 $userAccountKeys['date_import_blog'] = \TheTribalPlugin\WPOptions::get_instance()->dateImportBlog(); 68 63 -
the-tech-tribe/trunk/helpers/utilities.php
r2768657 r2779134 213 213 214 214 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); 217 221 fclose($file); 218 222 } -
the-tech-tribe/trunk/the-tribal-plugin.php
r2768657 r2779134 17 17 * Plugin URI: thetechtribe.com 18 18 * Description: This plugin is for members of The Tech Tribe to manage features such as Automated Blog Posting etc. 19 * Version: 1.2. 019 * Version: 1.2.1 20 20 * Author: The Tech Tribe 21 21 * Author URI: https://thetechtribe.com … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'THE_TRIBAL_PLUGIN_VERSION', '1.2. 0' );38 define( 'THE_TRIBAL_PLUGIN_VERSION', '1.2.1' ); 39 39 40 40 //date_default_timezone_set(wp_timezone_string()); … … 117 117 \TheTribalPlugin\WPMenu::get_instance()->init(); 118 118 \TheTribalPlugin\AjaxImportPost::get_instance()->init(); 119 119 120 } 120 121 add_action('init', 'run_the_tribal_plugin');
Note: See TracChangeset
for help on using the changeset viewer.