Changeset 3250507
- Timestamp:
- 03/04/2025 02:41:17 PM (13 months ago)
- Location:
- recruitly/trunk
- Files:
-
- 3 edited
-
admin/dataloader.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
recruitly.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recruitly/trunk/admin/dataloader.php
r3246395 r3250507 1124 1124 * @param $exception Exception 1125 1125 */ 1126 function recruitly_log_exception(Exception $exception) 1127 { 1128 try { 1129 //error_log(print_r($exception->getTraceAsString(), true)); 1126 function recruitly_log_exception(Throwable $exception) 1127 { 1128 try { 1129 $error_message = sprintf( 1130 "[%s] %s: %s in %s on line %d\nStack trace:\n%s\n", 1131 date("Y-m-d H:i:s"), 1132 get_class($exception), // Gets the exact exception type (e.g., TypeError, Exception) 1133 $exception->getMessage(), 1134 $exception->getFile(), 1135 $exception->getLine(), 1136 $exception->getTraceAsString() 1137 ); 1138 1139 error_log($error_message); // Logs the error to the PHP error log 1140 1141 // Optionally, you can log it to a custom file: 1142 file_put_contents(WP_CONTENT_DIR . '/recruitly-error.log', $error_message, FILE_APPEND); 1130 1143 } catch (Throwable $e) { 1144 error_log("Failed to log exception: " . $e->getMessage()); 1131 1145 } 1132 1146 } -
recruitly/trunk/readme.txt
r3246395 r3250507 4 4 Requires at least: 4.5 5 5 Tested up to: 6.7.1 6 Stable tag: 2.0.2 86 Stable tag: 2.0.29 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 125 125 * Fix issue with multiple sectors in taxonomies. 126 126 127 = 2.0.29 = 128 * Fix issue logger issue. 129 127 130 == Upgrade Notice == 128 131 129 = 2.0.2 4=130 Issue with the search filter has been resolved.132 = 2.0.28 = 133 Version 2.0.28 has a breaking change, Please upgrade to 2.0.29. -
recruitly/trunk/recruitly.php
r3246395 r3250507 4 4 Plugin URI: https://recruitly.io 5 5 Description: Recruitly job board integration. 6 Version: 2.0.2 86 Version: 2.0.29 7 7 Author: Recruitly 8 8 Author URI: https://recruitly.io … … 15 15 exit; // Exit if accessed directly 16 16 } 17 define('RECRUITLY_PLUGIN_VERSION', '2.0.2 8');17 define('RECRUITLY_PLUGIN_VERSION', '2.0.29'); 18 18 19 19 defined('RECRUITLY_POST_TYPE') or define('RECRUITLY_POST_TYPE', 'current-vacancies');
Note: See TracChangeset
for help on using the changeset viewer.