[wp-trac] [WordPress Trac] #57832: Multiple classes should be in separate files (class-wp-block-parser.php)

WordPress Trac noreply at wordpress.org
Wed Mar 1 11:27:19 UTC 2023


#57832: Multiple classes should be in separate files (class-wp-block-parser.php)
-------------------------+----------------------------------------------
 Reporter:  aristath     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  accessibility, coding-standards
-------------------------+----------------------------------------------
Changes (by rajanpanchal2028):

 * keywords:  has-patch => needs-patch
 * focuses:  coding-standards => accessibility, coding-standards
 * version:   => trunk


Comment:

 Separating each class into its own file can improve the maintainability
 and readability of the code. This approach also helps with the
 organization of code and makes it easier to find specific classes.

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


More information about the wp-trac mailing list