summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/sal/class.json-api-site-jetpack.php')
-rw-r--r--plugins/jetpack/sal/class.json-api-site-jetpack.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/jetpack/sal/class.json-api-site-jetpack.php b/plugins/jetpack/sal/class.json-api-site-jetpack.php
index dbf292f1..16ab5c18 100644
--- a/plugins/jetpack/sal/class.json-api-site-jetpack.php
+++ b/plugins/jetpack/sal/class.json-api-site-jetpack.php
@@ -30,6 +30,14 @@ class Jetpack_Site extends Abstract_Jetpack_Site {
return wp_max_upload_size();
}
+ protected function wp_memory_limit() {
+ return wp_convert_hr_to_bytes( WP_MEMORY_LIMIT );
+ }
+
+ protected function wp_max_memory_limit() {
+ return wp_convert_hr_to_bytes( WP_MAX_MEMORY_LIMIT );
+ }
+
protected function is_main_network() {
return Jetpack::is_multi_network();
}