Skip to content

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpeixe committed Oct 17, 2024
1 parent a6c1b66 commit 490323f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions includes/class-modal-checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -718,8 +718,6 @@ public static function dequeue_scripts() {

global $wp_scripts, $wp_styles;

error_log( 'Dequeueing scripts and styles not needed for modal checkout.' );

foreach ( $wp_scripts->queue as $handle ) {
$allowed = false;
foreach ( $allowed_assets as $allowed_asset ) {
Expand All @@ -729,7 +727,6 @@ public static function dequeue_scripts() {
}
}
if ( ! $allowed ) {
error_log( 'Dequeueing script: ' . $handle );
wp_dequeue_script( $handle );
}
}
Expand Down

0 comments on commit 490323f

Please sign in to comment.