WordPress/wp-includes/customize
Sergey Biryukov 47ed56f38f Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant.
This avoids the performance overhead of the function call every time `dirname( __FILE__ )` was used instead of `__DIR__`.

This commit also includes:

* Removing unnecessary parentheses from `include`/`require` statements. These are language constructs, not function calls.
* Replacing `include` statements for several files with `require_once`, for consistency:
 * `wp-admin/admin-header.php`
 * `wp-admin/admin-footer.php`
 * `wp-includes/version.php`

Props ayeshrajans, desrosj, valentinbora, jrf, joostdevalk, netweb.
Fixes #48082.
Built from https://develop.svn.wordpress.org/trunk@47198


git-svn-id: http://core.svn.wordpress.org/trunk@46998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-06 06:33:11 +00:00
..
class-wp-customize-background-image-control.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-customize-background-image-setting.php Customize: move WP_Customize_Section subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:21:25 +00:00
class-wp-customize-background-position-control.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-code-editor-control.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-color-control.php Customize: Remove a stray whitespace. 2018-04-13 15:10:20 +00:00
class-wp-customize-cropped-image-control.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-customize-custom-css-setting.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-customize-date-time-control.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-filter-setting.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-customize-header-image-control.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-header-image-setting.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-wp-customize-image-control.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-media-control.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
class-wp-customize-nav-menu-auto-add-control.php Customize: Improve the menu creation flow. 2017-10-05 02:22:49 +00:00
class-wp-customize-nav-menu-control.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-nav-menu-item-control.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-nav-menu-item-setting.php Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
class-wp-customize-nav-menu-location-control.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class-wp-customize-nav-menu-locations-control.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-nav-menu-name-control.php Customize: Improve the menu creation flow. 2017-10-05 02:22:49 +00:00
class-wp-customize-nav-menu-section.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-nav-menu-setting.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-customize-nav-menus-panel.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-new-menu-control.php Customize: Formally deprecate unused Customizer classes. 2019-11-03 16:48:00 +00:00
class-wp-customize-new-menu-section.php Customize: Formally deprecate unused Customizer classes. 2019-11-03 16:48:00 +00:00
class-wp-customize-partial.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-selective-refresh.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-wp-customize-sidebar-section.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-site-icon-control.php Customize: Prevent breaking the customizer when site title contains templating syntax. 2019-10-04 21:59:57 +00:00
class-wp-customize-theme-control.php I18N: Remove unnecessary HTML from "Active:" strings in wp-admin/themes.php. 2020-01-20 14:27:04 +00:00
class-wp-customize-themes-panel.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-themes-section.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-customize-upload-control.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget-area-customize-control.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-widget-form-customize-control.php Bootstrap/Load: Remove duplicate leading slashes on inclusion of various files under ABSPATH. 2019-04-13 04:46:52 +00:00