You can change the line number 103 in the file /weglot/vendor/weglot/weglot-php/src/Parser/Check/RegexCheckerProvider.php
original code :
/* Add JSON LD checker */
$this->addChecker(new RegexChecker("#<script type=('|\")application\/ld\+json('|\")([^\>]+?)?>(.*?)<\/script>#s" , SourceType::SOURCE_JSON, 4 , array( "description" , "name" , "headline" , "articleSection" )));
To replace by :
/* Add JSON LD checker */
$this->addChecker(new RegexChecker("#<script type=('|\")application\/ld\+json('|\")([^\>]+?)?>(.*?)<\/script>#s" , SourceType::SOURCE_JSON, 4 , array( "description" , "headline" , "articleSection" )));
You must use FTP to make this change because this file is in a vendor folder.
Best
Related Posts:
- Is is safe to edit language files from wp-content/languages/plugins/woocommerce-ro_RO?
- Different translations for the same plugin inside a multisite
- WOO-Commerce translation | Tried it all [closed]
- How to edit T&C checker text in Woocommerce checkout page? gettext?
- Force meta data on specific product type
- Multiple Schema.org markups on a single product page
- Is it ok to 301 redirect product-category pages to custom pages?
- Remove filter parameter from Link URL
- WooCommerce does not translate every string
- Increase load-out-page speed
- Disable Woocommerce main shop page, but not the product category archive pages
- Not all strings are translated
- How to edit schema.org markup of WooCommerce?
- Overwrite ‘require’ in child-theme
- Get specific values in Woocommerce Rest API
- Javascript error when adding an item to the cart [closed]
- Woocommerce: Complex query in pre_get_posts [closed]
- How can I get all the woocommerce api orders [closed]
- Is it possible to update the total price on the checkout page in woocommerce from a custom field
- Woocommerce check if email already created order recently [closed]
- Switch to user link
- Customize WooCommerce Add To Cart Form Name [closed]
- Remove WooCommerce block styles
- Can’t find a product by SKU
- Weird strange letters appeared in all website links [duplicate]
- password_reset doesnt work
- How can I reference external attachments without breaking core WordPress files?
- Hide prices from certain category in woocommerce
- Check if a WooCommerce Order Item has a specific meta data key
- How can I edit the Woocommerce product widget html class?
- WooCommerce Cart Items
- Can’t show Woocommerce product category description
- Create new email in WooCommerce
- Display vendor phone number on single product page
- 3 Different Prices for Woocommerce Product
- Retrieve Data from Custom Endpoint
- Online wc-blocks-style.css rendering instead of the hosted wc-blocks-style.css
- Broken link additional images after moving server
- How to create a WooCommerce Product filter based on PHP foreach
- Use ID as slug for product category by default in WooCommerce?
- I have 3 types of prices in WP and I need to change price for each specific user role using hooks
- How do I display only the relevant attributes?
- How to hide “Shipping” label from Woocommerce cart page
- How to add php variable inside wc_enqueue_js(‘jQuery’) function?
- Show menu order field in quick edit
- Adapt shipping surcharge code [closed]
- How to access product’s meta data when deleting a WooCommerce product?
- How to remove Calendar on Woocommerce Category Pages
- How to remove the Sub category product URL Woocommerce
- Woocommerce API security concerns
- How to add a wrapper element on image for products page
- Dynamic subdomains for woocommerce affiliate sales but NO multisite. Is that possible?
- Woocommerce posts and products links works only once and then get 404 error
- woocommerce ad custom button with custom link after add to cart for every product
- I wan redirect link post search to search product woocommerce?
- Limit image resolution on upload file for specific field
- Woocommerce pagination problem- page/2 = 404 solution
- Woocommerce , how to set billing_address via JS?
- Using admin email in billing address
- How to fire a disabled WooCommerce New Order notification?
- Set up PayPal with wrong email by mistake
- Does WP-WooC support filters at database?
- How to send welcome email once user buys the subscription
- Removed Sidebar in single product page
- Reorder PRODUCTS in categories Woo
- Enable Payment gateway if ACF checkbox in user profile is checked
- How do you reactive related products on WooCommerce when it has been disabled?
- Woocommerce section name? [closed]
- how to change value return by _stock_status
- Retrieve Woocommerce Cart Url with javascript/jquery [closed]
- How can I locate where the actions are defined? [duplicate]
- Shortcodes in billing fields doesn’t work
- Update a user meta key based on WooCommerce product purchase
- woocommerce_email_recipient_new_order not triggered
- Load custom post template
- show multiple product photos on WooCommerce single page
- Remove plugin function and add it back in via functions.php
- deactivate product-page image slider on mobile
- Woocommerece category page showing in stock product as out of stock
- Increase product variation limit in woocommerce
- WooCommerce widget “WooCommerce Products” template [closed]
- How to get _POST variable on WooCommerce product page (form on homepage)
- Woocommerce woocommerce_breadcrumb_defaults filter [closed]
- Some Admin disappeared
- Sort by promo code used woocommerce admin panel [closed]
- Search box missing Woocommerce Product Bundle Extension
- Use Homepage as “Shop” for Woocommerce [closed]
- How to display India country first in country selection drop down list in WordPress
- DatePicker in Woocommerce (My Account) Registration [closed]
- problems with an object product wooCommerce [closed]
- error 500 in Back Office when using a woocommerce function in functions.php
- Send data to external websites when there is an update or create a post
- Sort by price when price is set in multiple keys
- Add a custom code with custom link after add to cart for every product
- WooCommerce product permalink based on product’s current category
- Disable duplicate WC product category URLs
- how should i get products based on tags in woocommerce
- Add custom text to product category page
- Add a product for all users based on a condition (WooCommerce)
- he slug “sub category” is already in use by another term