#37827 closed enhancement (fixed)
Some classes still need to be moved into their own file
Reported by: | wonderboymusic | Owned by: | |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
After #33413, and winking at #36335, there a few places that classes still need to be copied over into their own file.
This was done extensively in 4.4 via svn cp
, and blame
remains intact for past history / commits: https://core.trac.wordpress.org/browser/trunk/src/wp-includes/widgets/class-wp-widget-links.php?annotate=blame
Attachments (5)
Change History (25)
#15
in reply to:
↑ 8
@
8 years ago
Replying to wonderboymusic:
In 38364:
AFAICT this has caused a fatal when wp_die()
is called upon mu-plugin/plugin inclusion, as the function now exists much earlier than it can be called.
#19
in reply to:
↑ 11
@
8 years ago
Replying to wonderboymusic:
In 38379:
This is going to break plugins - if there won't be an autoloader in 4.7 - which doif ( ! class_exists( 'WP_Upgrader_Skin' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader-skins.php'; }
.
See also ticket:36335:185. I think there should be a deprecation notice first.
In 38351: