[wp-trac] [WordPress Trac] #55647: Coding Standards fixes for WP 6.1
WordPress Trac
noreply at wordpress.org
Sat Jul 16 16:18:53 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: | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"53710" 53710]:
{{{
#!CommitTicketReference repository="" revision="53710"
Coding Standards: Improve readability of `wp-admin/options-permalink.php`.
Includes:
* Wrapping longer lines and reducing alignment levels to fit more data on
the screen.
* Restoring `esc_attr()` for input values, which may include translatable
parts.
* Adding comments to closing `</div>` tags and PHP `endif` statements.
* Reducing the context switching between HTML and PHP.
* Balancing PHP conditionals to better reflect the structure.
* Removing repeated function calls to improve performance.
* Renaming some variables for clarity and consistency.
Follow-up to [470], [601], [963], [1227], [1664], [2746], [3029], [6976],
[7230], [11350], [14051], [14553], [21891], [34691], [34749], [37747],
[38066], [41182], [41986], [42343], [43571], [48710], [50830], [51892],
[53706].
See #55647.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55647#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list