Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

WooCommerce Notices Fix

Apraksts

Make WooCommerce Notices Compatible with all Cache Plugins using a Redirection with a ?woonotice=yes parameter and avoid to be cached.

Uzstādīšana

  1. Upload the plugin to the “/wp-content/plugins/” directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Done.

BUJ

  1. Which Notices are you talking about?
    Some themes are using the dedicated WooCommerce hooks named ‘woocommerce_before_shop_loop’ & ‘woocommerce_before_single_product’.
    The problem is that WooCommerce will print its notices in PHP.
    If you’re using a caching plugin, like WP Rocket, or you won’t get the notices, or the notices will be stored into the cached files.

  2. Ok, so what kind of fix this is?
    I detect when WooCommerce need to print a notices, then i reload the same URL adding a GET parameter, this tip avoid pages to be cached or read from cache.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“WooCommerce Notices Fix” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “WooCommerce Notices Fix&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

0.1

  • 19 oct 2014
  • First release