Commit Graph

425 Commits

Author SHA1 Message Date
Jonathan Desrosiers
a749bada78 Post branching 5.8 version bump.
`trunk` is now `5.9-alpha`.

git-svn-id: https://develop.svn.wordpress.org/trunk@51272 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-30 03:54:44 +00:00
Jonathan Desrosiers
47b4353470 Post WordPress 5.8 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@51270 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-30 03:43:41 +00:00
Jonathan Desrosiers
fd3e1b346b WordPress 5.8 RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@51269 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-30 03:15:39 +00:00
Aaron Jorbin
3c57ccf1b4 Post WordPress 5.8 Beta 4 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@51243 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-25 17:09:17 +00:00
Aaron Jorbin
043ddf9cbd WordPress 5.8 Beta 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@51242 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-25 16:48:50 +00:00
Jonathan Desrosiers
e38e743902 Post WordPress 5.8 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@51218 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-23 02:14:02 +00:00
Jonathan Desrosiers
39c8eee6c1 WordPress 5.8 Beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@51217 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-23 01:44:40 +00:00
Sergey Biryukov
f14b45a57e Docs: Correct @since version in the wp-includes/version.php file header.
There was no public release of WordPress 1.1.

Follow-up to [803], [43662].

See #52628.

git-svn-id: https://develop.svn.wordpress.org/trunk@51188 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-21 04:28:32 +00:00
Jonathan Desrosiers
5bf13be488 Post WordPress 5.8 Beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@51165 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-15 18:04:44 +00:00
Jonathan Desrosiers
59d2ddab14 WordPress 5.8 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@51164 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-15 17:39:34 +00:00
Jonathan Desrosiers
676fb1bc18 Post WordPress 5.8 Beta 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@51132 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-09 02:39:44 +00:00
Jonathan Desrosiers
1707206579 WordPress 5.8 Beta 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@51131 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-09 02:01:05 +00:00
Jonathan Desrosiers
f2ca1e00d8 trunk is now 5.8 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@50427 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-23 21:04:02 +00:00
Jonathan Desrosiers
e2e0ff05c2 Post WordPress 5.7 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@50425 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-23 20:52:59 +00:00
Jonathan Desrosiers
886d9fe6e0 WordPress 5.7 RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@50424 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-23 20:38:08 +00:00
John Blackbourn
6299c30506 Post WordPress 5.7 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@50369 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 21:18:06 +00:00
John Blackbourn
21c5666fce WordPress 5.7 beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@50368 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 20:55:10 +00:00
Jonathan Desrosiers
26b3fa70a3 Post WordPress 5.7 Beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@50281 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 20:38:37 +00:00
Jonathan Desrosiers
c351ffcb1c WordPress 5.7 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@50280 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 20:24:56 +00:00
Sergey Biryukov
3c3590103a Post WordPress 5.7 Beta 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@50172 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-02 22:21:52 +00:00
Sergey Biryukov
2f8657c858 WordPress 5.7 Beta 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@50171 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-02 22:04:54 +00:00
Sergey Biryukov
c145ff4a1a 5.7-alpha-50000 🎉🙌❤️
Thank you for the past
Excited for the future
We are #WordPressStrong!

git-svn-id: https://develop.svn.wordpress.org/trunk@50000 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-21 12:37:39 +00:00
Timothy Jacobs
38361be8e6 App Passwords: Prevent conflicts when Basic Auth is already used by the site.
Application Passwords uses Basic Authentication to transfer authentication details. If the site is already using Basic Auth, for instance to implement a private staging environment, then the REST API will treat this as an authentication attempt and would end up generating an error for any REST API request.

Now, Application Password authentication will only be attempted if Application Passwords is in use by a site. This is flagged by setting an option whenever an Application Password is created. An upgrade routine is added to set this option if any App Passwords already exist.

Lastly, creating an Application Password will be prevented if the site appears to already be using Basic Authentication.

Props chexwarrior, georgestephanis, adamsilverstein, helen, Clorith, marybaum, TimothyBlynJacobs.
Fixes #51939.



git-svn-id: https://develop.svn.wordpress.org/trunk@49752 602fd350-edb4-49c9-b593-d223f7449a82
2020-12-04 21:42:52 +00:00
Ian Dunn
cac678f807 Multisite: Cache absolute dirsize paths to avoid PHP 8 fatal.
r49212 greatly improved the performance of `get_dirsize()`, but also changed the structure of the data stored in the `dirsize_cache` transient. It stored relative paths instead of absolute ones, and also removed the unnecessary `size` array.

That difference in data structures led to a fatal error in the following environment:

* PHP 8
* Multisite
* A custom `WP_CONTENT_DIR` which is not a child of WP's `ABSPATH` folder (e.g., [https://roots.io/bedrock/ Bedrock])
* The `upload_space_check_disabled` option set to `0`

After upgrading to WP 5.6, the `dirsize_cache` transient still had data in the old format. When `wp-admin.php/index.php` was visited, `get_space_used()` received an `array` instead of an `int`, and tried to divide it by another `int`. PHP 7 would silently cast the arguments to match data types, but [https://wiki.php.net/rfc/arithmetic_operator_type_checks PHP 8 throws a fatal error]: 

`Uncaught TypeError: Unsupported operand types: array / int`

`recurse_dirsize()` was using `ABSPATH` to convert the absolute paths to relative ones, but some upload locations are not located under `ABSPATH`. In those cases, `$directory` and `$cache_path` were identical, and that triggered the early return of the old `array`, instead of the expected `int`. 

In order to avoid that, this commit restores the absolute paths, but without the `size` array. It also adds a type check when returning cached values. Using absolute paths without `size` has the result of overwriting the old data, so that it matches the new format. The type check and upgrade routine are additional safety measures.

Props peterwilsoncc, janthiel, helen, hellofromtonya, francina, pbiron.
Fixes #51913. See #19879.



git-svn-id: https://develop.svn.wordpress.org/trunk@49744 602fd350-edb4-49c9-b593-d223f7449a82
2020-12-03 20:37:43 +00:00
Helen Hou-Sandi
b73f9fc5f6 Trunk is now 5.7-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@49644 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-17 22:50:57 +00:00
Helen Hou-Sandi
af54a08642 Post WordPress 5.6 RC 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@49642 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-17 22:37:48 +00:00
Helen Hou-Sandi
6d71eb492a WordPress 5.6 RC 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@49641 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-17 21:59:53 +00:00
Sergey Biryukov
99d692ddfe App Passwords: Regenerate the .htaccess file to add a new rule.
Application Passwords introduced a new Rewrite Rule to handle the Authorization header on certain systems.

This bumps the database version and updates the file so the change is applied to sites upon upgrading to 5.6.

Follow-up to [49534].

Props pbiron, TimothyBlynJacobs, SergeyBiryukov.
Fixes #51723.

git-svn-id: https://develop.svn.wordpress.org/trunk@49632 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-17 17:22:32 +00:00
Helen Hou-Sandi
3b1a27cfd1 Post-WordPress 5.6 Beta 4 bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@49590 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-12 23:43:40 +00:00
Helen Hou-Sandi
7f4a7ef5f7 WordPress 5.6 Beta 4, for real.
git-svn-id: https://develop.svn.wordpress.org/trunk@49589 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-12 23:06:31 +00:00
Helen Hou-Sandi
43a370a723 WordPress 5.6 Beta 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@49588 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-12 23:00:38 +00:00
Sergey Biryukov
5f5c04d46b Database: Clean up the post_category column removed from DB schema for new installations in WordPress 2.8.
Its presence may conflict with `WP_Post::__get()`, which should generally fill the non-existent `post_category` property, but is not triggered if the column exists in the database.

Follow-up to [10895].

Props leogermani, davidbaumwald, hellofromTonya.
Fixes #51288.

git-svn-id: https://develop.svn.wordpress.org/trunk@49572 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-12 17:53:41 +00:00
Sergey Biryukov
4a5c2857da TinyMCE: Update to 4.9.11.
Changelog:
https://www.tiny.cloud/docs-4x/changelog/#version4911july132020
https://github.com/tinymce/tinymce/blob/4.x/changelog.txt

A full list of changes in this update can be found on GitHub:
https://github.com/tinymce/tinymce/compare/4.9.10...4.9.11

See #51051.

git-svn-id: https://develop.svn.wordpress.org/trunk@49557 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-10 10:42:04 +00:00
Timothy Jacobs
a104c26283 App Passwords: Bump database version to flush rewrite rules.
Application Passwords introduced a new Rewrite Rule to handle the Authorization header on certain systems. This bumps the database version so the change is applied to sites upon upgrading to 5.6.

Fixes #51723.


git-svn-id: https://develop.svn.wordpress.org/trunk@49534 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-06 22:13:41 +00:00
Helen Hou-Sandi
2b7b306f24 Post-WordPress 5.6 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@49486 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-02 21:20:22 +00:00
Helen Hou-Sandi
f648ebbf44 WordPress 5.6 Beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@49485 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-02 20:57:35 +00:00
Helen Hou-Sandi
8187cff8f7 Post WordPress 5.6 beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@49351 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-27 22:00:56 +00:00
Helen Hou-Sandi
8a3e34d9ad WordPress 5.6 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@49350 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-27 21:40:26 +00:00
Helen Hou-Sandi
fb28c15e3c Post-post WordPress 5.6 beta 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@49262 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-20 22:21:42 +00:00
Helen Hou-Sandi
1bcf3edd59 Post-WordPress 5.6 Beta 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@49261 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-20 22:17:28 +00:00
Helen Hou-Sandi
24705a129e WordPress 5.6 Beta 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@49260 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-20 21:45:21 +00:00
Sergey Biryukov
29b58359ed Comments: Update DB version number used to trigger the upgrade routine for changing the comment_type DB field value in comments table.
Follow-up to [47597], [47626], [48225], [48227], [48748].

Props desrosj.
See #49236.

git-svn-id: https://develop.svn.wordpress.org/trunk@48751 602fd350-edb4-49c9-b593-d223f7449a82
2020-08-07 16:30:32 +00:00
Sergey Biryukov
7aae3c7bbf Trunk is now 5.6 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@48683 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-28 20:54:37 +00:00
Jake Spurlock
ed82e57f8c Post WordPress 5.5 RC 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@48681 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-28 19:13:41 +00:00
Jake Spurlock
14e896dace WordPress 5.5 RC 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@48680 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-28 18:52:06 +00:00
Jake Spurlock
ce675c0d50 WordPress 5.5 RC 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@48679 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-28 18:48:51 +00:00
Jake Spurlock
c230d7a07c Post WordPress 5.5 Beta 4 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@48647 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-27 20:59:03 +00:00
Jake Spurlock
92521657af WordPress 5.5 Beta 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@48646 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-27 20:38:25 +00:00
Jonathan Desrosiers
7d50110242 General: Ensure the database upgrades from [48575] are run.
This corrects the database version to match the commit number the upgrade changes were made.

See #50413.

git-svn-id: https://develop.svn.wordpress.org/trunk@48582 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-23 18:41:41 +00:00
Jake Spurlock
9875847c9e WordPress 5.5 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@48551 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-21 17:54:05 +00:00