Skip to content

Commit 2d1f4d6

Browse files
authored
Merge pull request #279 from woocommerce/add/wp-environment-type-to-system-status
Add wp_environment_type to system status documentation
2 parents 75a75a2 + de0915c commit 2d1f4d6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

source/includes/wp-api-v2/_system-status.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The system status API allows you to view all system status items.
2828
| `wp_memory_limit` | integer | WordPress memory limit. <i class="label label-info">read-only</i> |
2929
| `wp_debug_mode` | boolean | Is WordPress debug mode active? <i class="label label-info">read-only</i> |
3030
| `wp_cron` | boolean | Are WordPress cron jobs enabled? <i class="label label-info">read-only</i> |
31+
| `wp_environment_type` | string | WordPress environment type. <i class="label label-info">read-only</i> |
3132
| `language` | string | WordPress language. <i class="label label-info">read-only</i> |
3233
| `server_info` | string | Server info. <i class="label label-info">read-only</i> |
3334
| `php_version` | string | PHP version. <i class="label label-info">read-only</i> |
@@ -152,6 +153,7 @@ woocommerce.get("system_status").parsed_response
152153
"wp_memory_limit": 134217728,
153154
"wp_debug_mode": true,
154155
"wp_cron": true,
156+
"wp_environment_type": "production",
155157
"language": "en_US",
156158
"server_info": "Apache/2.4.18 (Ubuntu)",
157159
"php_version": "7.1.3-2+deb.sury.org~yakkety+1",

source/includes/wp-api-v3/_system-status.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The system status API allows you to view all system status items.
2828
| `wp_memory_limit` | integer | WordPress memory limit. <i class="label label-info">read-only</i> |
2929
| `wp_debug_mode` | boolean | Is WordPress debug mode active? <i class="label label-info">read-only</i> |
3030
| `wp_cron` | boolean | Are WordPress cron jobs enabled? <i class="label label-info">read-only</i> |
31+
| `wp_environment_type` | string | WordPress environment type. <i class="label label-info">read-only</i> |
3132
| `language` | string | WordPress language. <i class="label label-info">read-only</i> |
3233
| `server_info` | string | Server info. <i class="label label-info">read-only</i> |
3334
| `php_version` | string | PHP version. <i class="label label-info">read-only</i> |
@@ -152,6 +153,7 @@ woocommerce.get("system_status").parsed_response
152153
"wp_memory_limit": 134217728,
153154
"wp_debug_mode": true,
154155
"wp_cron": true,
156+
"wp_environment_type": "production",
155157
"language": "en_US",
156158
"server_info": "Apache/2.4.18 (Ubuntu)",
157159
"php_version": "7.1.3-2+deb.sury.org~yakkety+1",

0 commit comments

Comments
 (0)