contemplate
Forum Replies Created
-
Oh awesome! Thanks for such quick responses.
@alimir I rolled back to version 4.4.2.1 the the issue above is resolved. I’ll wait for a fix in the next release hopefully.
@alimir that doesn’t seem to fix the bug we are facing… actually with the patch applied and the Toast fully disabled our likes do not fully flip over. This only started happening with this latest version.
I recorded a short walkthrough here:
(1 min)Oh and when I disable the Toast globally the Buddypress activity likes go back to working as normal.
@alimir thank you .. but I found one bug.
I disabled the Toast on Buddypress activity and comments but now when we press the Heart on a buddypress activity it does the animation but never turns red. If I then refresh the page it shows the activity as liked but the JS seems to never turn it red by itself.
Perfect!!
@supaiku good catch. All the products I tested where I got this error were subscription products. I did not test on simple products. Let me know what you find.
I can confirm the same exact issue on multiple client sites. Smart Coupons 4.12.2 and Woocommerce 4.7.0 using 100% coupon causes a checkout error.
Please fix ASAP please as we will be using a lot of coupons for the upcoming holiday.
I wonder if it’s related to this issue in 4.7.0:
https://github.com/woocommerce/woocommerce/issues/28232- This reply was modified 5 years, 6 months ago by contemplate.
Forum: Plugins
In reply to: [Theme My Login] Bad Gateway brought down client’s siteThanks @jfarthing84
Forum: Plugins
In reply to: [Header Footer Code Manager] Plugin Crash on Deadline Funnel embed scripthmm. The permalinks update didn’t help. I’ll need to try disabling plugins on a staging site to see where the issue is.
Forum: Plugins
In reply to: [Download Monitor] Conflict with Cartflows plugin in dashboardYes disabling Cartflows shows the Downloads button again.
Forum: Plugins
In reply to: [Header Footer Code Manager] Plugin Crash on Deadline Funnel embed scriptHere is the snippet we are having issues with:
<!-- Deadline Funnel --><script type="text/javascript" data-cfasync="false">function SendUrlToDeadlineFunnel(e){var r,t,c,a,h,n,o,A,i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=0,l=0,s="",u=[];if(!e)return e;do r=e.charCodeAt(d++),t=e.charCodeAt(d++),c=e.charCodeAt(d++),A=r<<16|t<<8|c,a=A>>18&63,h=A>>12&63,n=A>>6&63,o=63&A,u[l++]=i.charAt(a)+i.charAt(h)+i.charAt(n)+i.charAt(o);while(d<e.length);s=u.join("");var C=e.length%3;var decoded = (C?s.slice(0,C-3):s)+"===".slice(C||3);decoded = decoded.replace("+", "-");decoded = decoded.replace("/", "_");return decoded;} var url = SendUrlToDeadlineFunnel(location.href); var parentUrlValue;try {parentUrlValue = window.parent.location.href;} catch(err) {if(err.name === "SecurityError") {parentUrlValue = document.referrer;}}var parentUrl = (parent !== window) ? ("/" + SendUrlToDeadlineFunnel(parentUrlValue)) : "";(function() {var s = document.createElement("script");s.type = "text/javascript";s.async = true;s.setAttribute("data-scriptid", "dfunifiedcode");s.src ="https://a.deadlinefunnel.com/unified/reactunified.bundle.js?userIdHash=eyJpdiI6ImR6VWhDXC8wdnNOUVZoSENQV3dSdGJBPT0iLCJ2YWx1ZSI6InF6YTZjNUV0XC9zZCtkb3RBWDNZSG53PT0iLCJtYWMiOiIzYWJhMTk5MDYyODExNWE3OWU5ZTZiNjU1MjFjYmUxMjEzNjFiOTQwNmVkNmMyZDIyZTE0ZmMzZGJkYjBmYjVkIn0=&pageFromUrl="+url+"&parentPageFromUrl="+parentUrl;var s2 = document.getElementsByTagName("script")[0];s2.parentNode.insertBefore(s, s2);})();</script><!-- End Deadline Funnel -->LOL… I don’t “think” I’d ever hack a core plugin but perhaps I did to make this snippet work. Bad practice for sure. 🙁
Glad your new function will do the trick!!
@davilera thanks for your work on this. I look forward to playing with the new nc_get_external_featured_image function.
So here was our full filter function previously that is for Rev Slider to pull the Nelio Feature image if the post doesn’t have a feature image already set. My client almost never sets a feature image and this snippet had been working for us until version 2.0.
In Rev Slider we have the background image set to external with the placeholder: %rev_neilo_featured_image_url%
/*---------------------------- // Rev Slider using Neilo Feature Image -----------------------------*/ function neilo_rev_slider_insert_meta( $text, $post_id ) { if ( function_exists( 'get_nelio_featured_image' ) && get_nelio_featured_image( $post_id ) ) { $imgsrc = get_nelio_featured_image( $post_id ); //exit; } else if (has_post_thumbnail($post_id)) { $image = wp_get_attachment_image_src( get_post_thumbnail_id($post_id)); $imgsrc = esc_url($image[0]); } return str_replace(array('%rev_neilo_featured_image_url%', '{{rev_neilo_featured_image_url}}'), $imgsrc, $text); } add_filter( 'rev_slider_insert_meta', 'neilo_rev_slider_insert_meta', 10, 2 );- This reply was modified 5 years, 8 months ago by contemplate.
Same here. We had to Rollback to the last version.
We also use a custom filter on our site that makes use of this function which no longer appears to work on the new version:
$imgsrc = get_nelio_featured_image( $post_id );