[wp-trac] [WordPress Trac] #56754: Use consistent, coding standard compliant naming for category ID variables

WordPress Trac noreply at wordpress.org
Thu Jan 26 04:51:22 UTC 2023


#56754: Use consistent, coding standard compliant naming for category ID variables
--------------------------+-------------------------------
 Reporter:  hilayt24      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.2
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------

Comment (by tanazmasaba):

 Hi, I have searched $cat_ID throughout the full project in my local setup
 and I have found this in 3 different files, and total 13 occurrences.

 Here are the file locations:

 1. wordpress-develop/src/wp-admin/includes/taxonomy.php
 2. wordpress-develop/src/wp-includes/deprecated.php
 3. wordpress-develop/src/wp-includes/taxonomy.php

 I think it would be better if we could fix in all 3 files.

 Screenshot: https://d.pr/i/gf7c6l

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56754#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list