Conversation
review · 5 starsIt’s a pity the plugin is no longer supported. I’d suggest to make 2 fixes (needed to support multilang). 1. Change get_bloginfo(‘name’) to $_SERVER[‘HTTP_HOST’] File \wp-content\plugins\jvm-woocommerce-wishlist\inc\www-core-functions.php 23 return str_replace( '-', '_', sanitize_title_with_dashes( $_SERVER['HTTP_HOST'] ) ); //get_bloginfo('name') 2. Change get_the_title($product_id) to get_post_field( ‘post_name’, get_post($product_id) ) File \wp-content\plugins\jvm-woocommerce-wishlist\inc\frontend\www-functions.php 60 ?><a class="<?php echo esc_attr( $class ); ?>" href="?add_to_wishlist=<?php echo $product_id; ?>" title="<?php echo esc_attr( $text ); ?>" rel="nofollow" data-product-title="<?php echo esc_attr( get_post_field( 'post_name', get_post($product_id) ) ); ?>" data-product-id="<?php echo $product_id; ?>"> //get_the_title($product_id)
No comments were stored for this source.