Hello people from Themeforest,
I have been working on a theme for a while and I have two questions that are not specifically mentioned in the Themeforest guidelines.
When overriding WooCommerce template files, should I use my own text-domain like so: (( ‘Leave a Reply to %s’, ‘my-text-domain’ )) or should I use the default WooCommerce text-domain like so: (( ‘Leave a Reply to %s’, ‘woocommerce’ ),)?
I noticed not all WooCommerce strings are escaped in their templates, but everyone says I should escape everything. An example: (( ‘Leave a Reply to %s’, ‘woocommerce’ )) which I would escape as (esc_html( ‘Leave a Reply to %s’, ‘woocommerce’ )). Should I escape these kind of strings that are not escaped by WooCommerce or should I just leave it as is?
Any help would be very much appreaciated. Thank you in advance.
EDIT: I appearantty can’t use underscores in a post here, but I hope you understand what is meant by the code provided.