[wp-trac] [WordPress Trac] #56337: Twenty Eleven: alignment in WooCommerce single product page's description tab content
WordPress Trac
noreply at wordpress.org
Sat Aug 6 06:14:26 UTC 2022
#56337: Twenty Eleven: alignment in WooCommerce single product page's description
tab content
-------------------------------------------------+-------------------------
Reporter: umesh84 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Bundled Theme | Version: 6.0
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses: ui, css
testing needs-refresh |
-------------------------------------------------+-------------------------
Changes (by mukesh27):
* keywords: has-screenshots has-patch needs-testing => has-screenshots
has-patch needs-testing needs-refresh
Comment:
Hi there!
@sabernhardt Thanks for the patch suggestion. Instead of three checks for
conditions can simplify it with two checks only? `class_exists(
'WooCommerce' )` Check if WooCommerce is activated and `is_product()` for
the product page?
{{{
&& ! ( class_exists( 'WooCommerce' ) && is_product() )
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56337#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list