Files
wordpress/wp-admin
Sergey Biryukov cf34515a65 Coding Standards: Use more meaningful variable names in Admin Ajax actions.
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:
- `$post_ID` to `$post_id` — “Use lowercase letters in variable, action/filter, and function names”.
- `$ext_type` to `$extension_type`.
- `$ext` to `$extension`.
- `$id3data` to `$id3_data` — “Separate words via underscores”.
- `$msg` to `$message`.
- `$sb` to `$sidebar`.
- `$alt` to `$alternate`.
- `$pid` to `$post_id`.
- `$mid` to `$meta_id`.
- `$menu_obj` to `$menu_object`.
- `$noparents` to `$no_parents` — “Separate words via underscores”.
- `$sup` to `$supplemental`.
- `$cat_id` to `$category_id`.
- `$cat_name` to `$category_name`.
- `$out` to `$output`.
- `$r` to `$edit_result`.
- `$t` to `$taxonomy`.
- `$u` to `$update_result`.
- `$r` to `$result`.
- `$response` to `$response_data`.
- `$x` to `$response`.

Follow-up to [53723], [55365].

Props costdev, mukesh27, SergeyBiryukov.
See #64226.
Built from https://develop.svn.wordpress.org/trunk@61224


git-svn-id: http://core.svn.wordpress.org/trunk@60553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-12 14:49:37 +00:00
..
2025-11-10 20:42:28 +00:00
2025-11-07 12:42:34 +00:00