|
3 | 3 | **Tags:** comments, sessions
|
4 | 4 | **Requires at least:** 4.7
|
5 | 5 | **Tested up to:** 6.3
|
6 |
| -**Stable tag:** 1.4.1 |
| 6 | +**Stable tag:** 1.4.2 |
7 | 7 | **Requires PHP:** 5.4
|
8 | 8 | **License:** GPLv2 or later
|
9 | 9 | **License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -57,17 +57,7 @@ Added in 1.4.0. If you have run the `add-index` command and have verified that t
|
57 | 57 | Added in 1.4.0. If you have run the `add-index` command and something unexpected has occurred, just run the `primary-key-revert` command and the backup table will immediately be returned to being the active table.
|
58 | 58 |
|
59 | 59 | ### WordPress Multisite
|
60 |
| -As of 1.4.1 the `add-index`, `primary-key-add` and `primary-key-revert` commands only apply to a single site. This means that to run on a WordPress multisite, for sites beyond the main site, you would need to pass the `--url=` flag for each subsite. |
61 |
| - |
62 |
| -However, you can script this process in bash by getting a list of sites and looping over them: |
63 |
| - |
64 |
| -```bash |
65 |
| -for site in $(wp site list --field=url); do |
66 |
| - wp pantheon session add-index --url=$site |
67 |
| -done |
68 |
| -``` |
69 |
| - |
70 |
| -This can be applied to any of the other commands as needed to do them all in one go. We will be updating the command to iterate over all the sites in a multisite in a forthcoming release. |
| 60 | +As of 1.4.2 the `add-index`, `primary-key-add` and `primary-key-revert` commands are fully multisite compatible. |
71 | 61 |
|
72 | 62 |
|
73 | 63 | ## Contributing ##
|
@@ -108,6 +98,11 @@ Adds a WP-CLI command to add an index to the sessions table if one does not exis
|
108 | 98 |
|
109 | 99 | ## Changelog ##
|
110 | 100 |
|
| 101 | +### 1.4.2 (November 8, 2023) ### |
| 102 | +* Fixed an issue with the `pantheon session add-index` PHP warning. [[#276](https://github.com/pantheon-systems/wp-native-php-sessions/pull/276/files)] |
| 103 | +* Fixed a syntax issue with the suggested WP CLI commands [[#278](https://github.com/pantheon-systems/wp-native-php-sessions/pull/278)] |
| 104 | +* Made `wp pantheon session add-index`, `wp pantheon session primary-key-finalize`, and `wp pantheon session primary-key-revert` fully multisite compatible. [[#275](https://github.com/pantheon-systems/wp-native-php-sessions/pull/275)] |
| 105 | + |
111 | 106 | ### 1.4.1 (October 23, 2023) ###
|
112 | 107 | * Fixed an issue with the `pantheon session add-index` command not working properly on WP multisite [[#270](https://github.com/pantheon-systems/wp-native-php-sessions/pull/270)]
|
113 | 108 | * Made the notice added in 1.4.0 dismissable (stores in user meta) & hides for multisite (an update is coming to iterate through all sites on a network) [[#271](https://github.com/pantheon-systems/wp-native-php-sessions/pull/271)]
|
|
0 commit comments