Skip to content

Commit e5b0e17

Browse files
authored
Add Memcached test
Add the Memcached extension test
1 parent 70f8291 commit e5b0e17

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpwpinfo.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ public function test_php_extensions() {
202202
} else {
203203
$this->html_table_row( 'Memcache', 'No', 'Yes', 'Installed', 'success' );
204204
}
205+
206+
if ( ! class_exists( 'Memcached' ) ) {
207+
$this->html_table_row( 'Memcached', 'No', 'Yes', 'Not installed', 'info' );
208+
} else {
209+
$this->html_table_row( 'Memcached', 'No', 'Yes', 'Installed', 'success' );
210+
}
205211

206212
if ( ! is_callable( 'mb_substr' ) ) {
207213
$this->html_table_row( 'Multibyte String', 'No', 'Yes', 'Not installed', 'info' );

0 commit comments

Comments
 (0)