Changeset 55641
- Timestamp:
- 04/09/2023 11:55:37 AM (19 months ago)
- Location:
- trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r55474 r55641 246 246 check_ajax_referer( "image_editor-$post_id" ); 247 247 248 include_once ABSPATH . 'wp-admin/includes/image-edit.php';248 require_once ABSPATH . 'wp-admin/includes/image-edit.php'; 249 249 250 250 if ( ! stream_preview_image( $post_id ) ) { … … 2650 2650 2651 2651 check_ajax_referer( "image_editor-$attachment_id" ); 2652 include_once ABSPATH . 'wp-admin/includes/image-edit.php';2652 require_once ABSPATH . 'wp-admin/includes/image-edit.php'; 2653 2653 2654 2654 $msg = false; … … 4158 4158 4159 4159 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 4160 include_once ABSPATH . 'wp-admin/includes/theme.php';4160 require_once ABSPATH . 'wp-admin/includes/theme.php'; 4161 4161 4162 4162 $api = themes_api( … … 4403 4403 } 4404 4404 4405 include_once ABSPATH . 'wp-admin/includes/theme.php';4405 require_once ABSPATH . 'wp-admin/includes/theme.php'; 4406 4406 4407 4407 $result = delete_theme( $stylesheet ); … … 4451 4451 4452 4452 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 4453 include_once ABSPATH . 'wp-admin/includes/plugin-install.php';4453 require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; 4454 4454 4455 4455 $api = plugins_api( -
trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r55556 r55641 34 34 35 35 // Check if possible to use ftp functions. 36 if ( ! include_once ABSPATH . 'wp-admin/includes/class-ftp.php' ) {36 if ( ! require_once ABSPATH . 'wp-admin/includes/class-ftp.php' ) { 37 37 return; 38 38 } -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r54378 r55641 89 89 */ 90 90 public function prepare_items() { 91 include_once ABSPATH . 'wp-admin/includes/plugin-install.php';91 require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; 92 92 93 93 global $tabs, $tab, $paged, $type, $term; -
trunk/src/wp-admin/includes/upgrade.php
r55212 r55641 352 352 } else { 353 353 if ( ! class_exists( 'WP_Privacy_Policy_Content' ) ) { 354 include_once ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php';354 require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php'; 355 355 } 356 356 -
trunk/src/wp-admin/privacy-policy-guide.php
r55263 r55641 15 15 16 16 if ( ! class_exists( 'WP_Privacy_Policy_Content' ) ) { 17 include_once ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php';17 require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php'; 18 18 } 19 19 -
trunk/src/wp-admin/update.php
r51475 r55641 108 108 } 109 109 110 include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; // For plugins_api().110 require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; // For plugins_api(). 111 111 112 112 check_admin_referer( 'install-plugin_' . $plugin ); … … 259 259 } 260 260 261 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; // For themes_api().261 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; // For themes_api(). 262 262 263 263 check_admin_referer( 'install-theme_' . $theme ); -
trunk/src/wp-includes/blocks.php
r55547 r55641 319 319 static $core_blocks_meta; 320 320 if ( ! $core_blocks_meta ) { 321 $core_blocks_meta = include_once ABSPATH . WPINC . '/blocks/blocks-json.php';321 $core_blocks_meta = require_once ABSPATH . WPINC . '/blocks/blocks-json.php'; 322 322 } 323 323 -
trunk/src/wp-includes/comment.php
r55526 r55641 3052 3052 */ 3053 3053 function pingback( $content, $post ) { 3054 include_once ABSPATH . WPINC . '/class-IXR.php';3055 include_once ABSPATH . WPINC . '/class-wp-http-ixr-client.php';3054 require_once ABSPATH . WPINC . '/class-IXR.php'; 3055 require_once ABSPATH . WPINC . '/class-wp-http-ixr-client.php'; 3056 3056 3057 3057 // Original code by Mort (http://mort.mine.nu:8080). … … 3219 3219 */ 3220 3220 function weblog_ping( $server = '', $path = '' ) { 3221 include_once ABSPATH . WPINC . '/class-IXR.php';3222 include_once ABSPATH . WPINC . '/class-wp-http-ixr-client.php';3221 require_once ABSPATH . WPINC . '/class-IXR.php'; 3222 require_once ABSPATH . WPINC . '/class-wp-http-ixr-client.php'; 3223 3223 3224 3224 // Using a timeout of 3 seconds should be enough to cover slow servers. -
trunk/src/wp-includes/cron.php
r55293 r55641 884 884 flush(); 885 885 886 include_once ABSPATH . 'wp-cron.php';886 require_once ABSPATH . 'wp-cron.php'; 887 887 return true; 888 888 } -
trunk/src/wp-includes/functions.php
r55598 r55641 883 883 884 884 // @todo Tidy this code and make the debug code optional. 885 include_once ABSPATH . WPINC . '/class-IXR.php';885 require_once ABSPATH . WPINC . '/class-IXR.php'; 886 886 887 887 $post = get_post( $post ); -
trunk/src/wp-includes/update.php
r54891 r55641 844 844 */ 845 845 function wp_maybe_auto_update() { 846 include_once ABSPATH . 'wp-admin/includes/admin.php';846 require_once ABSPATH . 'wp-admin/includes/admin.php'; 847 847 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 848 848
Note: See TracChangeset
for help on using the changeset viewer.