Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Check #555

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
83ea358
remove old rules
tillkruss Nov 5, 2022
7e3a04a
Merge remote-tracking branch 'origin/develop'
tillkruss Jan 11, 2023
0293eb1
Merge remote-tracking branch 'origin/develop'
tillkruss Feb 26, 2023
c4b5f7c
Merge remote-tracking branch 'origin/develop'
tillkruss Apr 13, 2023
1148bf6
Merge remote-tracking branch 'origin/develop'
tillkruss May 4, 2023
60467c1
Merge remote-tracking branch 'origin/develop'
tillkruss May 4, 2023
89e69d6
Merge remote-tracking branch 'origin/develop'
tillkruss Jun 28, 2023
326d8a1
Merge remote-tracking branch 'origin/develop'
tillkruss Jun 29, 2023
856f496
Merge remote-tracking branch 'origin/develop'
tillkruss Aug 11, 2023
e580c96
Merge remote-tracking branch 'origin/develop'
tillkruss Feb 29, 2024
14d740b
Merge branch 'develop'
tillkruss Apr 22, 2024
b397939
bump tested version
tillkruss Apr 22, 2024
872ad76
adds support for ssl context in redis clusters (#518)
mbrowngold May 3, 2024
c6b91f0
drop 7.2 linting
tillkruss May 3, 2024
c4c3d73
Fixed issue with Predis and replication connection (#520)
yatsukhnenko May 3, 2024
c3e1b89
Fixed loading textdomain in show_error_and_die (#533)
yatsukhnenko Jun 6, 2024
352c9f2
Introduce WP_REDIS_DISABLE_GROUP_FLUSH to disable group flushing (#532)
yatsukhnenko Jun 10, 2024
81a0406
Fix Redis version determination for predis replication connection (#522)
yatsukhnenko Jun 10, 2024
0ebd266
Fix Predis cluster flush (#529)
yatsukhnenko Jun 10, 2024
1816d87
document WP_REDIS_DISABLE_COMMENT
tillkruss Jul 2, 2024
b6ef5a8
Add filter to allow customizing who can flush the cache (#535)
pmgarman Jul 12, 2024
7ea28cf
remove whitespace [skip ci]
tillkruss Jul 12, 2024
034def1
Update phpstan.dist.neon
tillkruss Jul 12, 2024
6848677
ignore warning
tillkruss Jul 12, 2024
19a6e16
Update CHANGELOG.md [skip ci]
tillkruss Jul 12, 2024
9a123ef
tag v2.5.3
tillkruss Jul 12, 2024
3e97403
update pot file
tillkruss Jul 12, 2024
9b49863
Merge remote-tracking branch 'origin/develop'
tillkruss Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions includes/object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,8 @@ public function fetch_info() {
$info = $this->is_predis()
? $this->redis->getClientBy( 'id', $connectionId )->info()
: $this->redis->info( $connectionId );
} else if ($this->is_predis() && $this->redis->getConnection() instanceof Predis\Connection\Replication\MasterSlaveReplication) {
$info = $this->redis->getClientBy( 'role' , 'master' )->info();
} else {
if ( $this->is_predis() ) {
$connection = $this->redis->getConnection();
Expand Down
14 changes: 7 additions & 7 deletions languages/redis-cache.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-10-15T17:40:24+00:00\n"
"POT-Creation-Date: 2024-10-15T17:41:58+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.11.0\n"
"X-Domain: redis-cache\n"
Expand Down Expand Up @@ -308,30 +308,30 @@ msgstr ""
msgid "Object cache drop-in could not be updated. Redis server is unreachable: %s"
msgstr ""

#: includes/object-cache.php:2993
#: includes/object-cache.php:2999
msgid "Error establishing a Redis connection"
msgstr ""

#. translators: %s = Formatted wp-config.php file name.
#: includes/object-cache.php:3000
#: includes/object-cache.php:3006
msgid "WordPress is unable to establish a connection to Redis. This means that the connection information in your %s file are incorrect, or that the Redis server is not reachable."
msgstr ""

#: includes/object-cache.php:3005
#: includes/object-cache.php:3011
msgid "Is the correct Redis host and port set?"
msgstr ""

#: includes/object-cache.php:3006
#: includes/object-cache.php:3012
msgid "Is the Redis server running?"
msgstr ""

#. translators: %s = Link to installation instructions.
#: includes/object-cache.php:3011
#: includes/object-cache.php:3017
msgid "If you need help, please read the <a href=\"%s\">installation instructions</a>."
msgstr ""

#. translators: %1$s = Formatted object-cache.php file name, %2$s = Formatted wp-content directory name.
#: includes/object-cache.php:3018
#: includes/object-cache.php:3024
msgid "To disable Redis, delete the %1$s file in the %2$s directory."
msgstr ""

Expand Down
Loading