#52329 closed defect (bug) (fixed)
Twenty Twenty-One: Use Yoda condition
Reported by: | mukesh27 | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.7 | Priority: | normal |
Severity: | normal | Version: | 5.6 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | coding-standards | Cc: |
Description
Use Yoda condition in https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwentyone/template-parts/header/site-branding.php#L37 as per best prectice documentation - https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
Change History (4)
This ticket was mentioned in PR #883 on WordPress/wordpress-develop by mukeshpanchal27.
4 years ago
#1
- Keywords has-patch added
#3
@
4 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 49994:
hellofromtonya commented on PR #883:
4 years ago
#4
Merged in changeset https://core.trac.wordpress.org/changeset/49994
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/52329