Christian Kormos
Forum Replies Created
-
Dear Arpit G Shah,
Thank you for your support. It’s resolved now.
Have a great day!
KrisztianHey Arpit G Shah,
Thank you for your fast response!
Try with PHP 8.2+ and it’ll appear for sure.
Kind regards,
KrisztianHi @anastas10s,
Yes, it was helpful!
Thank you for the information and PRs.
I’m going to check them.
Have a great day!Forum: Plugins
In reply to: [WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scripts@popi0 I’m happy to hear that it fixed your problem also.
@serafinnyc Thanks for your efforts.
Have a great day!- This reply was modified 2 years, 4 months ago by Christian Kormos.
Forum: Plugins
In reply to: [WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scriptsResolved.
It came from the WooCommerce > Advanced > Funcitons.
I had to uncheck it.
Forum: Plugins
In reply to: [WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scriptsI think we’re not in the same boat.
Till WC 8.5.0 we’ve 30+ new scripts thanks to WooCommerce Blocks integration. The code what I mentioned removes them by 1 line, but it shows warning after that in the Console for payment methods like the basic bacs
Payment gateway with handle 'wc-payment-method-bacs' has been deactivated in Cart and Checkout blocks because its dependency 'wc-blocks-registry' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assetsI reported this to get feedback from the plugin author level member.
It is something with the payment methods and the wc-blocks.Forum: Plugins
In reply to: [WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scriptsDear @serafinnyc,
Thanks, but my question is related to the new wc-block scripts, and none of the above codes.
I removed successfully, that is not a problem for me, but it gives warnings after that, which feels like the core can’t work properly wihout it.- This reply was modified 2 years, 4 months ago by Christian Kormos.
Dear Afzal,
Thank you for your answer.
I’m not sure it’s related to a fatal error, because I’ve no any errors. (debug mode : true). I think it’s something behind the plugin’s template hierarchy.
I’m still waiting for the deeper answer from a plugin author level member like @barryhughes-1.- This reply was modified 2 years, 4 months ago by Christian Kormos.
- This reply was modified 2 years, 4 months ago by Christian Kormos.
<?php /** * Show info messages * * woocommerce/notices/notice.php ... */ if (!defined('ABSPATH')) { exit; } if (!$notices) { return; } ?> <?php foreach ($notices as $notice) : ?> <div class="wc-block-components-notice-banner is-info" <?php echo wc_get_notice_data_attr($notice); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> role="alert"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" focusable="false"> <path d="M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"></path> </svg> <div class="wc-block-components-notice-banner__content"> Where are you? <?php echo 'Where are you?' . wc_kses_notice($notice['notice']); ?> </div> </div> <?php endforeach; ?>The ‘Where are you?’ part does not appear in the info notices or any other modifications. It worked before the 8.5.0 release.
- This reply was modified 2 years, 5 months ago by Christian Kormos.
- This reply was modified 2 years, 5 months ago by Christian Kormos.

Has no effect
Forum: Plugins
In reply to: [LiteSpeed Cache] How to purge ls cache by wp-cron?Our main problem we can’t see the future post in time.
In our case the future post is a custom post type.That’s why we tried to purge litespeed cache, because this action helped to appear them.
Forum: Plugins
In reply to: [LiteSpeed Cache] How to purge ls cache by wp-cron?Could you provide the code with mine becuase I don’t know what do you mean exactly from that commit.
Thanks in advance.
Forum: Plugins
In reply to: [LiteSpeed Cache] How to purge ls cache by wp-cron?Yes, we’re running it on WP 6.1 already.
Forum: Plugins
In reply to: [LiteSpeed Cache] How to purge ls cache by wp-cron?Could you try this code on your own server?
I use wp control plugin and I can run it immediately, but had no affect.// Remove srcset add_filter('wp_calculate_image_srcset_meta', '__return_false'); // Register a new cron schedule with 86400 seconds interval add_filter('cron_schedules', 'add_ligetpost_cron_schedule'); function add_ligetpost_cron_schedule($schedules) { if (!isset($schedules["ligetpost_daily"])) { $schedules['ligetpost_daily'] = array( 'interval' => 86400, 'display' => esc_html__('Ligetpost Every Day'), ); } return $schedules; } // Schedule our custom job, I am going to set it to execute everyday at 00:00:05 (GMT+8) // This timing is to ensure the 1st visitor visit my site will be after a new day based on my promotion behaviour (start date + end date) if (!wp_next_scheduled('ligetpost_daily')) { wp_schedule_event(strtotime('00:06:00 Europe/Budapest'), 'ligetpost_daily', 'ligetpost_daily'); } // Now let's hook it up with our function add_action('ligetpost_daily', 'clear_litespeed_cache'); function clear_litespeed_cache() { if (defined('LSCWP_V')) { do_action('litespeed_purge_all'); } }- This reply was modified 3 years, 6 months ago by Christian Kormos.
Forum: Plugins
In reply to: [LiteSpeed Cache] How to purge ls cache by wp-cron?We use this plugin:
https://www.litespeedtech.com
https://www.litespeedtech.com/products/cache-plugins/wordpress-accelerationAre you sure it’s your plugin? : )
- This reply was modified 3 years, 6 months ago by Christian Kormos.