Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
463 commits
Select commit Hold shift + click to select a range
a53256c
Update src/wp-admin/includes/class-wp-site-health.php
aristath Aug 1, 2024
dad3023
Update src/wp-includes/class-wp-autoload.php
aristath Aug 1, 2024
656690b
Fix comment styles
aristath Aug 1, 2024
8b741ce
Remove `return void` annotations
aristath Aug 1, 2024
e28567e
Fix comment styles
aristath Aug 1, 2024
0934844
Method doesn't need to be static
aristath Aug 1, 2024
3b7ca69
Add @covers annotation
aristath Aug 1, 2024
282387b
Remove duplicate check
aristath Aug 1, 2024
0372798
Use WP_INC
aristath Aug 2, 2024
2f0b1f7
Merge branch 'trunk' into autoload
aristath Aug 2, 2024
b63ce76
a bit more verbose
aristath Aug 2, 2024
5ca7e36
Use WP_INC again :shrug:
aristath Aug 2, 2024
811470d
Merge branch 'trunk' into autoload
aristath Aug 5, 2024
2bbc328
Merge branch 'trunk' into autoload
aristath Aug 7, 2024
16fe142
Merge branch 'trunk' into autoload
aristath Aug 9, 2024
eec637b
Merge branch 'trunk' into autoload
aristath Aug 21, 2024
fa69f69
Merge branch 'trunk' into autoload
aristath Sep 6, 2024
f85236d
Merge branch 'trunk' into autoload
aristath Sep 6, 2024
c014fd6
Add WP_HTML_Doctype_Info class to the autoloader
aristath Sep 6, 2024
7d97e22
Merge branch 'trunk' into autoload
aristath Sep 6, 2024
423eb74
Merge branch 'trunk' into autoload
aristath Sep 26, 2024
855ace3
Merge branch 'trunk' into autoload
aristath Sep 26, 2024
5ac7dfc
Merge branch 'trunk' into autoload
aristath Sep 26, 2024
9356648
Merge branch 'trunk' into autoload
aristath Sep 26, 2024
7ab16a4
Add WP_Block_Templates_Registry to autoloader
aristath Sep 26, 2024
1a326a9
Merge branch 'trunk' into autoload
aristath Sep 26, 2024
637ab9c
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
54f55fb
Remove explicit Text_Exception test include
aristath Jun 8, 2026
ea70ed5
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
0999909
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
8eb2e03
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
e63ad16
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
d36e81c
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
f9c7bea
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
429b565
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
e87f907
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
011e089
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
45e194e
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
2157d66
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
77b5556
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
9b23e90
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
d066fa7
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
9fb8964
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
0b1b710
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
efeda40
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
afe704a
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
eb4520e
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
2f3fb20
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
c867d28
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
c30932b
Add WP_PHPMailer to the class map
aristath Jun 8, 2026
704751d
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
ecb21e6
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
27c86d8
Remove PasswordHash test include
aristath Jun 8, 2026
b3b3ecf
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
b2b33e2
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
02eca1f
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
8ff10aa
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
8bfb96a
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
afc9e91
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
4efcb57
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
d63c862
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
1d12c3e
Remove phpass test includes
aristath Jun 8, 2026
eb01ffd
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
5ef2a46
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
faedf1a
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
a299754
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
0eccad7
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
cd258bb
Merge branch 'wp-trunk-current' into autoload
aristath Jun 8, 2026
f79ffd9
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
f5c4495
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
ce2a7d9
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
7120806
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
8629025
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
67564db
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
9a7d3c3
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
5e449b3
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
de3beb3
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
7dcc783
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
a00e379
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
7468514
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
12ada4a
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
dbb0764
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
6e9d011
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
9a8f882
Update autoloader classmap test for interfaces
aristath Jun 9, 2026
fbbb667
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
1e18804
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
c57ffb4
Merge branch 'wp-trunk-current' into autoload
aristath Jun 9, 2026
18b4beb
Merge branch 'trunk' into autoload
aristath Jun 9, 2026
aad16ed
fix for updates
aristath Jun 9, 2026
a89b5e5
Address CoPilot review findings
aristath Jun 9, 2026
a21701b
Remove simplepie from the autoloader - already lazy-loaded
aristath Jun 9, 2026
d91e232
obviously....
aristath Jun 9, 2026
0555450
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
1d5391e
Add WP_Email_Address to the autoloader
aristath Jun 19, 2026
1bf6474
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
aa6d1bf
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
22c5bdf
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
b757ca7
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
0475def
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
a2b930b
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
eaf2e80
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
d994ca7
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
0495d2e
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
76c92cf
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
4848005
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
0a48af4
Merge branch 'wp-trunk-current' into autoload
aristath Jun 19, 2026
d7f92fa
Merge branch 'wp-trunk-current' into autoload
aristath Jun 22, 2026
21f289f
Merge branch 'wp-trunk-current' into autoload
aristath Jun 22, 2026
e151531
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
fdbae12
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
28c42e1
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
faf1083
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
b3f6d7b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
3ca8d02
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
e5c8408
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
420fa7d
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
941de64
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
e67bf74
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
59ae897
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
1741914
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
20bcd72
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
2728d1d
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
cc9e03b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
8bc457b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
9a8fae8
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
27ff233
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
c3c6a2c
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
1ce1606
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
a932d85
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
69e5f19
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
867d15b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
c423ee1
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
f7b0631
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
1fc14d2
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
f3f5a13
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
3c77302
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
2a1fd88
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
014998a
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
c7f7bcf
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
bf0b753
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
12ef5c6
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
1a15ac5
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
e861439
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
1b7f358
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
565096a
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
972a85f
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
bc30cf5
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
912bcc5
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
d0d3a54
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
6dbe1b3
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
4e786ed
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
bf9bade
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
4a53ee1
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
cd56299
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
3927132
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
e7a5e77
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
29b7ec9
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
0aa92fc
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
61cecf7
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
1a0f457
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
970f7cc
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
412b841
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
ce71f5a
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
57ef967
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
f422011
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
73a4711
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
39b167b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
198b680
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
7c205ef
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
47fd4d6
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
c16d37e
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
4fe15e7
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
3def235
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
058e98d
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
850a94a
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
424268c
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
22a6706
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
0995797
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
74677ac
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
4622db3
Merge branch 'wp-trunk-current' into autoload
aristath Jul 22, 2026
69b77ba
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
d641471
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
b161bac
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
087d4cb
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
b86e654
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
59d3a22
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
10021bd
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
267318b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
9e62bb3
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
959f447
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
e945437
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
bfeeb21
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
2bdd295
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
6702005
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
6cb7f8a
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
e393f3f
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
fb7ffde
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
0071d61
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
94cce49
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
f63ee5b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
2d233d3
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
4ff58dc
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
f4ab742
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
48dae9f
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
a603b4d
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
ff06738
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
d1cc9b3
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
43f34bd
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
0b71a3f
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
50a7043
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
b2c97aa
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
49f3141
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
557c0af
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
b715c8e
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
abfd932
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
e58cbe2
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
7a43207
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
3b789e7
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
26835c0
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
7e3f523
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
46d752a
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
35e1923
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
d7b59df
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
d93dd01
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
939ad3b
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
9382291
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
d67a6ee
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
2672695
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
e1c3656
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
e55adc6
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
6bf83d4
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
22978e2
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
3c34967
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
f3f1502
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
7ab78d7
Merge branch 'wp-trunk-current' into autoload
aristath Jul 23, 2026
bed370a
Merge branch 'wp-trunk-current' into autoload
aristath Jul 29, 2026
ab96b3e
Merge branch 'wp-trunk-current' into autoload
aristath Jul 29, 2026
8b45d11
Merge branch 'wp-trunk-current' into autoload
aristath Jul 29, 2026
f1e8684
Merge branch 'wp-trunk-current' into autoload
aristath Jul 29, 2026
e48990f
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
1eed9b1
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
abff811
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
86d8628
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
d1e8bb3
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
ad31362
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
c9bdce8
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
6635979
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
25b7366
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
c42dc52
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
7364f5f
Merge branch 'wp-trunk-current' into autoload
aristath Jul 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,20 @@
define( 'ABSPATH', __DIR__ . '/' );
}

if ( ! defined( 'WPINC' ) ) {
define( 'WPINC', 'wp-includes' );
}

require_once ABSPATH . WPINC . '/class-wp-autoload.php';

Comment thread
aristath marked this conversation as resolved.
/*
* Load the actual index.php file if the assets were already built.
* Note: WPINC is not defined yet, it is defined later in wp-settings.php.
*/
if ( file_exists( ABSPATH . 'wp-includes/js/jquery/jquery.js' ) && is_dir( ABSPATH . 'wp-includes/build' ) ) {
if ( file_exists( ABSPATH . WPINC . '/js/jquery/jquery.js' ) && is_dir( ABSPATH . WPINC . '/build' ) ) {
require_once ABSPATH . '_index.php';
return;
}

define( 'WPINC', 'wp-includes' );
require_once ABSPATH . WPINC . '/version.php';
require_once ABSPATH . WPINC . '/compat.php';
require_once ABSPATH . WPINC . '/load.php';
Expand Down
16 changes: 8 additions & 8 deletions src/js/_enqueues/admin/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ jQuery( function($) {
// No tags remain: show the empty-state row and hide the navigation.
var $list = $( '#the-list' );

if ( ! $list.find( 'tr.no-items' ).length ) {
var colspan = $list.closest( 'table' ).find( 'thead > tr' ).first().children( ':not(.hidden)' ).length;
$list.append(
'<tr class="no-items"><td class="colspanchange" colspan="' + colspan + '">' +
wp.i18n.__( 'No tags found.' ) +
'</td></tr>'
);
}
if ( ! $list.find( 'tr.no-items' ).length ) {
var colspan = $list.closest( 'table' ).find( 'thead > tr' ).first().children( ':not(.hidden)' ).length;
$list.append(
'<tr class="no-items"><td class="colspanchange" colspan="' + colspan + '">' +
wp.i18n.__( 'No tags found.' ) +
'</td></tr>'
);
}
$( '.tablenav > *' ).hide();
$( 'p.search-box' ).hide();
} else {
Expand Down
3 changes: 0 additions & 3 deletions src/wp-admin/custom-background.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@
}

_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-admin/includes/class-custom-background.php' );

/** Custom_Background class */
require_once ABSPATH . 'wp-admin/includes/class-custom-background.php';
3 changes: 0 additions & 3 deletions src/wp-admin/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@
}

_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-admin/includes/class-custom-image-header.php' );

/** Custom_Image_Header class */
require_once ABSPATH . 'wp-admin/includes/class-custom-image-header.php';
15 changes: 0 additions & 15 deletions src/wp-admin/includes/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
/** WordPress Misc Administration API */
require_once ABSPATH . 'wp-admin/includes/misc.php';

/** WordPress Misc Administration API */
require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php';

/** WordPress Options Administration API */
require_once ABSPATH . 'wp-admin/includes/options.php';

Expand All @@ -55,7 +52,6 @@
require_once ABSPATH . 'wp-admin/includes/post.php';

/** WordPress Administration Screen API */
require_once ABSPATH . 'wp-admin/includes/class-wp-screen.php';
require_once ABSPATH . 'wp-admin/includes/screen.php';

/** WordPress Taxonomy Administration API */
Expand All @@ -65,8 +61,6 @@
require_once ABSPATH . 'wp-admin/includes/template.php';

/** WordPress List Table Administration API and base class */
require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
require_once ABSPATH . 'wp-admin/includes/class-wp-list-table-compat.php';
require_once ABSPATH . 'wp-admin/includes/list-table.php';

/** WordPress Theme Administration API */
Expand All @@ -75,18 +69,9 @@
/** WordPress Privacy Functions */
require_once ABSPATH . 'wp-admin/includes/privacy-tools.php';

/** WordPress Privacy List Table classes. */
// Previously in wp-admin/includes/user.php. Need to be loaded for backward compatibility.
require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-requests-table.php';
require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php';
require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php';

/** WordPress User Administration API */
require_once ABSPATH . 'wp-admin/includes/user.php';

/** WordPress Site Icon API */
require_once ABSPATH . 'wp-admin/includes/class-wp-site-icon.php';

/** WordPress Update Administration API */
require_once ABSPATH . 'wp-admin/includes/update.php';

Expand Down
29 changes: 0 additions & 29 deletions src/wp-admin/includes/ajax-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,6 @@ function wp_ajax_autocomplete_user() {
* @since 4.8.0
*/
function wp_ajax_get_community_events() {
require_once ABSPATH . 'wp-admin/includes/class-wp-community-events.php';

check_ajax_referer( 'community_events' );

$search = isset( $_POST['location'] ) ? wp_unslash( $_POST['location'] ) : '';
Expand Down Expand Up @@ -1944,10 +1942,6 @@ function wp_ajax_wp_link_ajax() {

$args['pagenum'] = ! empty( $_POST['page'] ) ? absint( $_POST['page'] ) : 1;

if ( ! class_exists( '_WP_Editors', false ) ) {
require ABSPATH . WPINC . '/class-wp-editor.php';
}

$results = _WP_Editors::wp_link_query( $args );

if ( ! isset( $results ) ) {
Expand Down Expand Up @@ -4044,7 +4038,6 @@ function wp_ajax_crop_image() {

switch ( $context ) {
case 'site-icon':
require_once ABSPATH . 'wp-admin/includes/class-wp-site-icon.php';
$wp_site_icon = new WP_Site_Icon();

// Skip creating a new attachment if the attachment is a Site Icon.
Expand Down Expand Up @@ -4195,7 +4188,6 @@ function wp_ajax_install_theme() {
wp_send_json_error( $status );
}

require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
require_once ABSPATH . 'wp-admin/includes/theme.php';

$api = themes_api(
Expand Down Expand Up @@ -4327,8 +4319,6 @@ function wp_ajax_update_theme() {
$status['oldVersion'] = $theme->get( 'Version' );
}

require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';

$current = get_site_transient( 'update_themes' );
if ( empty( $current ) ) {
wp_update_themes();
Expand Down Expand Up @@ -4488,7 +4478,6 @@ function wp_ajax_install_plugin() {
wp_send_json_error( $status );
}

require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
require_once ABSPATH . 'wp-admin/includes/plugin-install.php';

$api = plugins_api(
Expand Down Expand Up @@ -4660,8 +4649,6 @@ function wp_ajax_update_plugin() {
$status['oldVersion'] = sprintf( __( 'Version %s' ), $plugin_data['Version'] );
}

require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';

wp_update_plugins();

$skin = new WP_Ajax_Upgrader_Skin();
Expand Down Expand Up @@ -5389,10 +5376,6 @@ function wp_ajax_health_check_dotorg_communication() {
wp_send_json_error();
}

if ( ! class_exists( 'WP_Site_Health' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
}

$site_health = WP_Site_Health::get_instance();
wp_send_json_success( $site_health->get_test_dotorg_communication() );
}
Expand Down Expand Up @@ -5422,10 +5405,6 @@ function wp_ajax_health_check_background_updates() {
wp_send_json_error();
}

if ( ! class_exists( 'WP_Site_Health' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
}

$site_health = WP_Site_Health::get_instance();
wp_send_json_success( $site_health->get_test_background_updates() );
}
Expand Down Expand Up @@ -5455,10 +5434,6 @@ function wp_ajax_health_check_loopback_requests() {
wp_send_json_error();
}

if ( ! class_exists( 'WP_Site_Health' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
}

$site_health = WP_Site_Health::get_instance();
wp_send_json_success( $site_health->get_test_loopback_requests() );
}
Expand Down Expand Up @@ -5505,10 +5480,6 @@ function wp_ajax_health_check_get_sizes() {
wp_send_json_error();
}

if ( ! class_exists( 'WP_Debug_Data' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-debug-data.php';
}

$sizes_data = WP_Debug_Data::get_sizes();
$all_sizes = array( 'raw' => 0 );

Expand Down
2 changes: 0 additions & 2 deletions src/wp-admin/includes/class-ftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,6 @@ function PopError(){
$mod_sockets = extension_loaded( 'sockets' );
}

require_once __DIR__ . "/class-ftp-" . ( $mod_sockets ? "sockets" : "pure" ) . ".php";

if ( $mod_sockets ) {
class ftp extends ftp_sockets {}
} else {
Expand Down
5 changes: 0 additions & 5 deletions src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ public function __construct( $opt = null ) {
'password' => '',
);

// Check if possible to use ftp functions.
if ( ! require_once ABSPATH . 'wp-admin/includes/class-ftp.php' ) {
return;
}

$this->ftp = new ftp();

if ( ! is_array( $opt ) ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
* @since 4.9.6
*/

if ( ! class_exists( 'WP_Privacy_Requests_Table' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-requests-table.php';
}

/**
* WP_Privacy_Data_Export_Requests_Table class.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
* @since 4.9.6
*/

if ( ! class_exists( 'WP_Privacy_Requests_Table' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-privacy-requests-table.php';
}

/**
* WP_Privacy_Data_Removal_Requests_List_Table class.
*
Expand Down
13 changes: 0 additions & 13 deletions src/wp-admin/includes/class-wp-site-health-auto-updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@

#[AllowDynamicProperties]
class WP_Site_Health_Auto_Updates {
/**
* WP_Site_Health_Auto_Updates constructor.
*
* @since 5.2.0
*/
public function __construct() {
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
}


/**
* Runs tests to determine if auto-updates can run.
Expand Down Expand Up @@ -144,10 +135,6 @@ public function test_filters_automatic_updater_disabled() {
* @return array|false The test results if auto-updates are disabled, false otherwise.
*/
public function test_wp_automatic_updates_disabled() {
if ( ! class_exists( 'WP_Automatic_Updater' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-updater.php';
}

$auto_updates = new WP_Automatic_Updater();

if ( ! $auto_updates->is_disabled() ) {
Expand Down
Loading
Loading