Skip to content

Commit b863145

Browse files
author
Chandra Patel
committed
Update code formatting in readme files
1 parent b561616 commit b863145

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,13 @@ To purge a page immediately, follow these instructions:
100100

101101
Yes, you can force override the redis hostname, port or prefix by defining constant in wp-config.php. For example:
102102

103-
`define('RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1');`
103+
```
104+
define( 'RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1' );
104105
105-
`define('RT_WP_NGINX_HELPER_REDIS_PORT', '6000');`
106+
define( 'RT_WP_NGINX_HELPER_REDIS_PORT', '6000' );
106107
107-
`define('RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:');`
108+
define( 'RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:' );
109+
```
108110

109111

110112
### FAQ - Nginx Map ###

readme.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,13 @@ To purge a page immediately, follow these instructions:
9898

9999
Yes, you can force override the redis hostname, port or prefix by defining constant in wp-config.php. For example:
100100

101-
`define('RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1');`
101+
```
102+
define('RT_WP_NGINX_HELPER_REDIS_HOSTNAME', '10.0.0.1');
102103

103-
`define('RT_WP_NGINX_HELPER_REDIS_PORT', '6000');`
104+
define('RT_WP_NGINX_HELPER_REDIS_PORT', '6000');
104105

105-
`define('RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:');`
106+
define('RT_WP_NGINX_HELPER_REDIS_PREFIX', 'page-cache:');
107+
```
106108

107109
= FAQ - Nginx Map =
108110

0 commit comments

Comments
 (0)