Commit Graph

493 Commits

Author SHA1 Message Date
Tammie Lister
efabd4cef8 WordPress 6.4 Beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@56821 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-10 16:12:04 +00:00
Tonya Mork
046ce88332 Post WordPress 6.4 Beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@56769 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-03 17:07:21 +00:00
Tonya Mork
8c74bce2e4 WordPress 6.4 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@56768 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-03 16:30:41 +00:00
Tammie Lister
7cf8998e46 Post WordPress 6.4 Beta 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@56730 602fd350-edb4-49c9-b593-d223f7449a82
2023-09-26 20:16:38 +00:00
Tammie Lister
6b35688b82 WordPress 6.4 Beta 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@56729 602fd350-edb4-49c9-b593-d223f7449a82
2023-09-26 19:52:42 +00:00
Sergey Biryukov
15e37005db Media: Disable attachment pages for new installations.
WordPress creates attachment pages by default for every attachment uploaded. On the vast majority of sites, these attachment pages don't contain any meaningful information. They do however exist, get indexed by search engines, and sometimes even rank in search results, leading to bad results for users and site owners.

This commit introduces a `wp_attachment_pages_enabled` database option to control the attachment pages behavior:

* On existing sites, the option is set to `1` on upgrade, so that attachment pages continue to work as is.
* For new sites, the option is set to to `0` by default, which means attachment pages are redirected to the attachment URL.
* Sites that want to enable or disable the attachment pages can set the option to `1` or `0`, respectively.

Follow-up to [2958], [3303], [7149], [34690].

Props aristath, poena, afercia, joostdevalk, jonoaldersonwp, azaozz, johnbillion, joedolson, basiliskan, audrasjb, davelo, rilwis, manfcarlo, tyxla, garrett-eclipse, seedsca, eatingrules, matveb, antpb, zodiac1978, oglekler, zunaid321, costdev, SergeyBiryukov.
Fixes #57913.

git-svn-id: https://develop.svn.wordpress.org/trunk@56657 602fd350-edb4-49c9-b593-d223f7449a82
2023-09-22 00:02:28 +00:00
Mike Schroder
6049e1fefa Trunk is now 6.4 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@56267 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-19 05:52:06 +00:00
David Baumwald
d6f72bad6f Post WordPress 6.3 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@56265 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-18 17:02:33 +00:00
David Baumwald
a0e2ecfa24 WordPress 6.3 RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@56264 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-18 16:44:12 +00:00
Sergey Biryukov
effea6699a Post WordPress 6.3 Beta 4 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@56216 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-11 16:36:02 +00:00
Sergey Biryukov
ba1ac233ff WordPress 6.3 Beta 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@56215 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-11 16:11:25 +00:00
John Blackbourn
f7dbb2462b General: Increase the minimum supported version of PHP to 7.0.0.
This also removes the random compat library which is no longer necessary, and adjusts unit tests and CI workflows that no longer need to take PHP 5.6 into account.

Thank you for your service, PHP 5. Onwards!

Props SergeyBiryukov, mukesh27, dingo_d, audrasjb, jrf, costdev, azaozz, JavierCasares, hellofromTonya, samiamnot, spacedmonkey, masteradhoc, knutsp, garyjones, chanthaboune

Fixes #57345


git-svn-id: https://develop.svn.wordpress.org/trunk@56141 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-05 17:39:55 +00:00
David Baumwald
1815f4c76c Post WordPress 6.3 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@56130 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-03 17:05:33 +00:00
David Baumwald
0b4b351eac WordPress 6.3 Beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@56129 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-03 16:39:53 +00:00
David Baumwald
91a95fe91c Post WordPress 6.3 Beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@56100 602fd350-edb4-49c9-b593-d223f7449a82
2023-06-28 23:26:16 +00:00
David Baumwald
e1405a5b9c WordPress 6.3 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@56099 602fd350-edb4-49c9-b593-d223f7449a82
2023-06-28 22:59:40 +00:00
David Baumwald
21bc99303d Reverting trunk back to alpha status while issues prevented a final 6.3 Beta 1 release.
git-svn-id: https://develop.svn.wordpress.org/trunk@56078 602fd350-edb4-49c9-b593-d223f7449a82
2023-06-27 20:32:26 +00:00
David Baumwald
d195a7150e WordPress 6.3 Beta 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@56077 602fd350-edb4-49c9-b593-d223f7449a82
2023-06-27 19:56:45 +00:00
Jonny Harris
52f05444ba Options, Meta APIs: Change the option can_compress_scripts to be autoloaded.
Ensure that the option `can_compress_scripts` is autoloaded on single sites, as this option is used in all requests. This change saves one database query per page request. 

Props RavanH, spacedmonkey, costdev, azaozz, flixos90.
Fixes #55270.

git-svn-id: https://develop.svn.wordpress.org/trunk@55854 602fd350-edb4-49c9-b593-d223f7449a82
2023-05-24 17:33:26 +00:00
Tonya Mork
898ff9868d Trunk is now 6.3 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@55505 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-09 21:36:06 +00:00
Jb Audras
1b010e8449 Post WordPress 6.2 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@55503 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-09 17:35:27 +00:00
Jb Audras
e1fd968432 WordPress 6.2 RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@55502 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-09 17:14:14 +00:00
David Baumwald
dfef412d61 Post WordPress 6.2 Beta 5 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@55481 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-07 17:42:27 +00:00
David Baumwald
ace5ab559f WordPress 6.2 Beta 5.
git-svn-id: https://develop.svn.wordpress.org/trunk@55480 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-07 17:21:36 +00:00
Sergey Biryukov
b55f01db1d Post WordPress 6.2 Beta 4 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@55454 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-01 17:37:15 +00:00
Sergey Biryukov
a85d80b0d5 WordPress 6.2 Beta 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@55453 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-01 17:17:47 +00:00
Jb Audras
dac04be1ef Post WordPress 6.2 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@55400 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-21 18:04:07 +00:00
Jb Audras
14242e839f WordPress 6.2 Beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@55399 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-21 17:22:04 +00:00
Jb Audras
5bdc72d15c Post WordPress 6.2 Beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@55340 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-14 18:03:36 +00:00
Jb Audras
ce57e9e94d WordPress 6.2 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@55339 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-14 17:44:23 +00:00
David Baumwald
d2d0f6627f Post WordPress 6.2 Beta 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@55292 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-07 19:36:32 +00:00
David Baumwald
c6c376e09c WordPress 6.2 Beta 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@55291 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-07 19:13:18 +00:00
David Baumwald
e0f63b46d4 Trunk is now 6.2 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@54642 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-18 20:03:57 +00:00
David Baumwald
10748b9654 Post WordPress 6.1 RC2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@54640 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-18 19:33:31 +00:00
David Baumwald
088c6016cd WordPress 6.1 RC 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@54639 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-18 18:59:07 +00:00
David Baumwald
88440b9305 Post WordPress 6.1 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@54503 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-11 20:49:31 +00:00
David Baumwald
efdf041a05 WordPress 6.1 RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@54502 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-11 20:33:24 +00:00
David Baumwald
29ba46ed7c Post WordPress 6.1 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@54390 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-04 17:49:54 +00:00
David Baumwald
b09778d2ab WordPress 6.1 Beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@54389 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-04 17:25:18 +00:00
David Baumwald
2cfc68b9b1 Post WordPress 6.1 Beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@54337 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-27 18:08:49 +00:00
David Baumwald
4c1318224a WordPress 6.1 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@54336 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-27 17:46:05 +00:00
David Baumwald
0e924d96aa Post WordPress 6.1 Beta 1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@54282 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-21 17:01:03 +00:00
David Baumwald
5f4cd8645c WordPress 6.1 Beta 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@54281 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-21 16:25:20 +00:00
Jonny Harris
6d89ea8f09 Taxonomy: Fix caching issues in WP_Term_Query class.
Introduced [52836] when passing `child_of` or `pad_counts` parameters to `get_terms` or `WP_Term_Query` class, the array of terms received by the query, was not correctly cached. This 
change simplifies the logic in `WP_Term_Query` and ensures terms are correctly cached. This change also, improves performance, by only caching an array of term ids where possible.  

Props denishua, spacedmonkey, oztaser, peterwilsoncc, SergeyBiryukov, georgestephanis, jnz31, knutsp, mukesh27, costdev.
Fixes #55837.



git-svn-id: https://develop.svn.wordpress.org/trunk@53496 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-14 11:41:33 +00:00
Sergey Biryukov
ae9e0bb74f Trunk is now 6.1-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@53344 602fd350-edb4-49c9-b593-d223f7449a82
2022-05-03 17:38:14 +00:00
Sergey Biryukov
64025d0abe Post WordPress 6.0 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@53341 602fd350-edb4-49c9-b593-d223f7449a82
2022-05-03 17:13:20 +00:00
Sergey Biryukov
6d93192ee9 WordPress 6.0 RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@53340 602fd350-edb4-49c9-b593-d223f7449a82
2022-05-03 16:44:39 +00:00
Sergey Biryukov
4558de543c Post WordPress 6.0 Beta 4 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@53335 602fd350-edb4-49c9-b593-d223f7449a82
2022-05-02 16:42:03 +00:00
Sergey Biryukov
74dd0397fc WordPress 6.0 Beta 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@53334 602fd350-edb4-49c9-b593-d223f7449a82
2022-05-02 16:08:37 +00:00
Sergey Biryukov
4bc07ccb43 Post WordPress 6.0 Beta 3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@53290 602fd350-edb4-49c9-b593-d223f7449a82
2022-04-26 16:36:59 +00:00