WordPress/wp-admin
Aaron Jorbin 1525010f74 Deprecate php4 style constructors
PHP7 is deprecating PHP4 style constructors, so we need to modify our code to have _construct methods that fire before the named PHP4 style constructors.  The PHP4 style constructors will call the PHP5 style constructor in case it is being called directly (usually via parent::METHOD).

This modifies external libraries to add PHP5 style constructors, but doesn't add a notice for when they are used.  In WordPress core code, PHP4 style constructors are being given a call to _deprecated_constructor. To the PHP4 style constructor I say "I know that I can't take no more | It ain't no lie | I wanna see you out that door | Baby, bye, bye, bye..."

Upstream: https://wiki.php.net/rfc/remove_php4_constructors

Props jdgrimes, netweb, jorbin
See #31982


Built from https://develop.svn.wordpress.org/trunk@32990


git-svn-id: http://core.svn.wordpress.org/trunk@32961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-28 15:27:24 +00:00
..
css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
images Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
includes Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
maint Recommend a user updates keys/salts in `maint/repair.php`. 2015-06-18 11:07:25 +00:00
network Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
user Ensure the requires for the admin bootstrap are documented in all wp-admin/user/ files. 2014-11-04 16:32:22 +00:00
about.php About: Give bottom navigation links the full width. 2015-05-28 15:39:24 +00:00
admin-ajax.php Editor: 2015-06-01 17:38:29 +00:00
admin-footer.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
admin-functions.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
admin-header.php Correct the title used on the user dashboard. 2015-06-24 00:37:28 +00:00
admin-post.php Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/*. 2014-11-30 11:42:24 +00:00
admin.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
async-upload.php Prevent IE9 and lower displaying the download file dialogue when attempting to upload using the `html4` Plupload handler. 2015-02-12 01:15:29 +00:00
comment.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
credits.php Make sure that all Gravatars are generated by `get_avatar()` or at least run through `apply_filters( 'get_avatar', $avatar )` for the sake of extensibility. 2015-06-18 18:36:25 +00:00
custom-background.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
custom-header.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
customize.php Add JS templates for Customizer Panels and Sections. 2015-05-30 00:03:30 +00:00
edit-comments.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
edit-form-advanced.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
edit-form-comment.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
edit-link-form.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
edit-tag-form.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
edit-tags.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
edit.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
export.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
freedoms.php About page updates. 2015-04-15 00:38:27 +00:00
import.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
index.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
install-helper.php Add missing doc blocks to `wp-admin/includes/*`. 2015-05-29 20:17:26 +00:00
install.php Remove Truthy check from DO_NOT_UPGRADE_GLOBAL_TABLES 2015-06-09 22:00:28 +00:00
link-add.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
link-manager.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
link-parse-opml.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
link.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
load-scripts.php When outputting JS with a `Content-Type` header: 2015-01-03 02:57:21 +00:00
load-styles.php Add missing doc blocks to `wp-admin/includes/*`. 2015-05-29 20:17:26 +00:00
media-new.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
media-upload.php Remove an extra indent from most of media-new.php. 2015-02-03 07:47:22 +00:00
media.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
menu-header.php Admin menu: improve accessibility when collapsed. 2015-06-25 19:33:26 +00:00
menu.php Add missing doc blocks to `wp-admin/includes/*`. 2015-05-29 20:17:26 +00:00
moderation.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-admin.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-delete-site.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
ms-edit.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-options.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-sites.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-themes.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-upgrade-network.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-users.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
my-sites.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
nav-menus.php Menus: Add a Manage in Customizer link, like we did for Widgets screen in [30459]. 2015-06-28 06:08:24 +00:00
network.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
options-discussion.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
options-general.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
options-head.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:14:09 +00:00
options-media.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
options-permalink.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
options-reading.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
options-writing.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
options.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
plugin-editor.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
plugin-install.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
plugins.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
post-new.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
post.php Add missing doc blocks to `wp-admin/includes/*`. 2015-05-29 20:17:26 +00:00
press-this.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
profile.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
revision.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
setup-config.php Add missing doc blocks to `wp-admin/includes/*`. 2015-05-29 20:17:26 +00:00
theme-editor.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
theme-install.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
themes.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
tools.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
update-core.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
update.php Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling. 2015-04-03 02:32:28 +00:00
upgrade-functions.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
upgrade.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
upload.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
user-edit.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
user-new.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
users.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
widgets.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00