[wp-trac] [WordPress Trac] #37861: Renaming of class files for consistency
WordPress Trac
noreply at wordpress.org
Tue Sep 13 19:43:42 UTC 2022
#37861: Renaming of class files for consistency
-----------------------------------------+-------------------------------
Reporter: afragen | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.1
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: has-patch changes-requested | Focuses: coding-standards
-----------------------------------------+-------------------------------
Changes (by hellofromTonya):
* keywords: dev-feedback => has-patch changes-requested
Comment:
@SergeyBiryukov I agree +1. Let's get these filenames consistent.
To avoid things breaking in plugins, I'm +1 for @swissspidy [comment:3
suggestion]:
>I think we'd just copy the files using svn (to keep the history) and then
require the new ones inside the old files for back compat. That's what was
done in the past when classes were moved to other files.
That extra step has precedence and can mitigate risks for users who have a
plugin, theme or script that includes any of these renamed files.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37861#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list