[wp-trac] [WordPress Trac] #33413: most PHP classes should be in their own file
WordPress Trac
noreply at wordpress.org
Wed Aug 26 07:45:01 UTC 2015
#33413: most PHP classes should be in their own file
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
----------------------------+-----------------------------
Comment (by DrewAPicture):
In [changeset:"33755"]:
{{{
#!CommitTicketReference repository="" revision="33755"
Docs: Add a file header to wp-includes/class-wp-widget.php, created when
the `WP_Widget` class was moved to its own file in [33746].
It's important for every file in WordPress, regardless of makeup or
architecture, to have its own file header, even if the file contains
nothing but a class. When parsed, files and classes are mutually exclusive
and should be documented with this in mind.
See [33746]. See #33413.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33413#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list