[wp-trac] [WordPress Trac] #55647: Coding Standards fixes for WP 6.1
WordPress Trac
noreply at wordpress.org
Sat Aug 20 00:31:10 UTC 2022
#55647: Coding Standards fixes for WP 6.1
----------------------------+-------------------------------
Reporter: costdev | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"53915" 53915]:
{{{
#!CommitTicketReference repository="" revision="53915"
Coding Standards: Simplify the logic in `wp_not_installed()`.
The function to check whether WordPress is not installed has evolved over
time, ending up with duplicate conditionals.
This commit combines two conditionals into a single one and includes an
early return.
Follow-up to [672], [676], [725], [1184], [1401], [1980], [2171], [2467],
[2468], [2486], [2703], [3011], [3670], [12688], [12732], [12762],
[13253], [29599], [30581], [34828].
See #55647.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55647#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list