Skip to content

Commit 9079fb3

Browse files
Fix code block on Object Cache Pro page (#9405)
* outdent the alert we're no longer in the numbered list so I don't know that we need to be indented here as if we were. this may be what's causing the formatting issue. * Align alert tags --------- Co-authored-by: Rachel Whitton <[email protected]>
1 parent 722833f commit 9079fb3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/content/addons/object-cache/howto/wordpress.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ Lando's [Pantheon recipe](https://docs.lando.dev/plugins/pantheon/) includes Red
328328
```
329329
330330
<Alert title="Note" type="info">
331-
If you don't want to bother with changing the configuration for local environments, you can simply disable Object Cache Pro for Lando and leave the existing configuration:
332-
333-
```php
334-
if ( isset( $_ENV['LANDO'] ) && 'ON' === $_ENV['LANDO'] ) {
335-
define( 'WP_REDIS_DISABLED', true );
336-
}
337-
```
331+
If you don't want to bother with changing the configuration for local environments, you can simply disable Object Cache Pro for Lando and leave the existing configuration:
332+
333+
```php
334+
if ( isset( $_ENV['LANDO'] ) && 'ON' === $_ENV['LANDO'] ) {
335+
define( 'WP_REDIS_DISABLED', true );
336+
}
337+
```
338338
</Alert>
339339
340340
Make sure to commit your code back to your environment when you have made the appropriate changes.

0 commit comments

Comments
 (0)