Commit 143f1d1
committed
Upgrade/Install: Correct the database upgrade routine for WordPress 6.9.
This commit:
* Moves the call to `upgrade_690()` to the correct place so it actually gets called.
* Wraps Hello Dolly upgrade code in a version check per standard practice.
* Removes the `$wpdb->query()` call to avoid attempting to create the new index twice, once in the upgrade and once in `dbDelta()`.
Follow-up to [60666], [60716], [60717].
Props peterwilsoncc, mukesh27.
See #50161, #53323.
git-svn-id: https://develop.svn.wordpress.org/trunk@60721 602fd350-edb4-49c9-b593-d223f7449a821 parent cecd546 commit 143f1d1
1 file changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
884 | 883 | | |
885 | 884 | | |
886 | 885 | | |
887 | 886 | | |
888 | 887 | | |
889 | 888 | | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
890 | 893 | | |
891 | 894 | | |
892 | 895 | | |
| |||
2488 | 2491 | | |
2489 | 2492 | | |
2490 | 2493 | | |
2491 | | - | |
2492 | | - | |
| 2494 | + | |
2493 | 2495 | | |
2494 | 2496 | | |
2495 | | - | |
2496 | | - | |
2497 | | - | |
2498 | | - | |
2499 | | - | |
2500 | | - | |
2501 | | - | |
2502 | | - | |
2503 | | - | |
2504 | | - | |
2505 | | - | |
2506 | | - | |
| 2497 | + | |
2507 | 2498 | | |
2508 | 2499 | | |
2509 | | - | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
2510 | 2510 | | |
2511 | 2511 | | |
2512 | 2512 | | |
| |||
0 commit comments