Dynamic Descriptor: Name not working php 8+
-
Hello, I’ve overwritten a file within your plugin which was causing the dynamic name descriptor to get dropped off on php 8+. The root cause I believe is the stricter rules around comparing types i.e. string & integer. I’ve deployed this patch to my website and it is working however I’m aware that when you make an update, and we update, it will be overwritten so I’m hoping you can add this to your next rollout of changes.
The file in question is this one /includes/class-wc-gateway-braintree.php line 1505if ( $product > $product_length ) {
needs to become
if ( strlen( $product ) > $product_length ) {
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Dynamic Descriptor: Name not working php 8+’ is closed to new replies.