[wp-trac] [WordPress Trac] #63168: Coding Standards fixes for WP 6.9
WordPress Trac
noreply at wordpress.org
Mon Oct 20 23:35:46 UTC 2025
#63168: Coding Standards fixes for WP 6.9
-------------------------------------------------+-------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests changes- | Focuses: coding-
requested | standards
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"60997" 60997]:
{{{
#!CommitTicketReference repository="" revision="60997"
Coding Standards: Use more meaningful variable names in Plugin Upgrader.
Per the [https://developer.wordpress.org/coding-standards/wordpress-
coding-standards/php/#naming-conventions Naming Conventions]:
> Don’t abbreviate variable names unnecessarily; let the code be
unambiguous and self-documenting.
This commit includes renaming of the following variables:
* `$r` to `$upgrade_data`.
* `$res` to `$connected`.
* `$pluginfiles` to `$plugin_files` — Per naming conventions, separate
words via underscores.
* `$info` to `$new_plugin_data`.
Follow-up to [6779], [8550], [9141], [11005], [12157], [18618], [56525].
Props costdev, mukesh27.
See #63168.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63168#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list