auto-patch 638-dev-dev01-2024-05-14T20_44_36
This commit is contained in:
@@ -1156,7 +1156,7 @@ function wc_register_default_log_handler( $handlers = array() ) {
|
||||
function wc_get_log_file_path( $handle ) {
|
||||
wc_deprecated_function( 'wc_get_log_file_path', '8.6.0' );
|
||||
|
||||
$directory = trailingslashit( realpath( Constants::get_constant( 'WC_LOG_DIR' ) ) );
|
||||
$directory = LoggingUtil::get_log_directory();
|
||||
$file_id = LoggingUtil::generate_log_file_id( $handle, null, time() );
|
||||
$hash = LoggingUtil::generate_log_file_hash( $file_id );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user