baltas
Forum Replies Created
-
Great, latest update fixed everything.
Thanks !!!
Hi @xootix but Wordfence still reports as critical:

They say on their site this:
Description
The Side Cart Woocommerce (Ajax) plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.1. This is due to missing or incorrect nonce validation on one of its functions. This makes it possible for unauthenticated attackers to invoke this function and reset the plugin’s settings, via forged request granted they can trick a site administrator into performing an action such as clicking on a link. Please note that the developer released a patch, but did not update the patched version so it is both vulnerable and patched in version 2.1.
So 2.1 is still sort of really not patched for them.
How can I solve not getting this error every time the Worfence scan runs?
Yes, I did it like this:
//Show Regular/Sale Price or Eligible Products @ WooCommerce Cart Table add_filter( 'woocommerce_cart_item_price', 'My_change_cart_table_price_display', 30, 3 ); function My_change_cart_table_price_display( $price, $values, $cart_item_key ) { $slashed_price = $values['data']->get_price_html(); $is_on_sale = $values['data']->is_on_sale(); if ( $is_on_sale ) { //Striked Price //$price = $slashed_price; //Mark products eligible for the discount maintaining regular Price $price = $price . "<br>(Eligible for Discount Coupon)"; } return $price; } // ##############################Nevermind I found a solution with a snippet on the functions.php.
Like this I can either put the discount price or highlight the products that are eligible for the coupon/discount rule I create as an information.Thanks anyway.
No, that is not the issue.
The problem is I have on settings to see strikeout prices on cart for products, but they are not showing.It shows normal prices on cart for the products, them normal subtotal, them under the -value for coupon and in the end the total with correct calculated value.
Hi thanks for replying, here they are:
Forum: Plugins
In reply to: [CPS | Age Verification] No popup for woocommerce single product pageSolve it.
The problem was the apostrophes since you say on the CPT field:
“CPT slugs in apostrophes, comma separated”but using this after saving the system escapes them with \ and doesn’t work.
As soon I entered the post type names without the apostrophes all started working!Forum: Plugins
In reply to: [Loco Translate] SubsetsOk I understand.
Right now I solve my problem manually as I mention before.
I just create at functions.php something like this example:function my_load_textdomain() {
load_plugin_textdomain( ‘abc-text-domain’, false, basename( ‘the-used-plugin’ ) . ‘/lang’ );
}add_action( ‘init’, ‘my_load_textdomain’ );
Like this the other text domain not initialized by the plugin and that I created in Loco as subset of the main one works perfectly, now I get all the necessary translations for my new language. ; )
Forum: Plugins
In reply to: [Loco Translate] SubsetsSorry. maybe I choose wrongly the words parent and child as what I’m talking is nothing related with a theme.
Just face this scenario, I have a pluging that on it’s starting initialize this:
load_plugin_textdomain( ‘xpto-text-domain’, false, basename( ‘my-plugin’ ) . ‘/lang’ );
a few parts of the code this plugin uses this initialized text domain, but other uses something totally different like “abcd-text-domain”, so what I was saying is if I want to translate this plugin using Loco I’ll creat the language file for the first text domain “xpto-text-domain” and a subset for the other (“abcd-text-domain”).
What happens right now?
if the plugin does not load the second domain or I don’t do it myself on functions.php I’m not going to have any kind of translations for all the plugin areas that is using this second text domain.So my idea is what about all the defined subsets being auto load since the first/main one is a valid and working ok, like this all the translation operation is more easier for the normal user?
The substs now only make sense for me as a way of organizing and knowing that this plugin as other text domains since also is not possible to create separated text domains for the same plugin.
Off course this happens because sometimes the plugin developers they don’t do things right, but it helps bypassing that problem for the translations.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Star ratingsOk now I get it, there is no way of doing a manual star rating review from the admin interface, only normal comments.
I test if doing one on the front office that option to edit shows or not.
Thanks.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Star ratingsOk here is a link with the image capture from a review edit:
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Star ratingsNope not here.
Can’t upload an screen capture here so you could see…
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Star ratingsHumm… even in the standard “Comments” page I can’t see any option to do that, can you explain?
Ok, I found the problem but not finding how to fix it yet.
It seems that every time I refresh on plesk toolkit interface to try to update the info for a wordpress site the file “/wp-content/wflogs/rules.php” is rewrited still with the 660 permission.
UPDATE: Also every X time (don’t know exact how long) this file changes to 660 again, only this one as the others on the same directory are staying with 644 after the code I changed, what part of the code is recreating this file whit 660 ???
- This reply was modified 8 years, 1 month ago by baltas.
