Commit 3d59107
committed
General: Do not use the new
All functions that are used there must be present in both the previous version being upgraded from, and the later version that's being installed (e.g. when rolling back Core) as these files are used in both.
Props djennez, SergeyBiryukov, jorbin, peterwilsoncc, azaozz.
Fixes #62165.
See 61627.
git-svn-id: https://develop.svn.wordpress.org/trunk@59180 602fd350-edb4-49c9-b593-d223f7449a82wp_get_wp_version() in update-core.php and class-core-upgrader.php.1 parent 6c285f0 commit 3d59107
File tree
2 files changed
+17
-7
lines changed- src/wp-admin/includes
2 files changed
+17
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
391 | 396 | | |
392 | 397 | | |
393 | 398 | | |
| 399 | + | |
394 | 400 | | |
395 | 401 | | |
396 | 402 | | |
397 | 403 | | |
398 | 404 | | |
399 | | - | |
400 | | - | |
| 405 | + | |
401 | 406 | | |
402 | 407 | | |
403 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
1539 | 1544 | | |
1540 | 1545 | | |
1541 | 1546 | | |
| 1547 | + | |
1542 | 1548 | | |
1543 | 1549 | | |
1544 | 1550 | | |
1545 | 1551 | | |
1546 | | - | |
1547 | | - | |
| 1552 | + | |
1548 | 1553 | | |
1549 | 1554 | | |
1550 | 1555 | | |
| |||
1587 | 1592 | | |
1588 | 1593 | | |
1589 | 1594 | | |
1590 | | - | |
| 1595 | + | |
| 1596 | + | |
1591 | 1597 | | |
1592 | 1598 | | |
1593 | 1599 | | |
1594 | 1600 | | |
1595 | 1601 | | |
1596 | | - | |
1597 | | - | |
| 1602 | + | |
1598 | 1603 | | |
1599 | 1604 | | |
1600 | 1605 | | |
| |||
0 commit comments