summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-01-03 19:27:21 -0500
committerAnthony G. Basile <blueness@gentoo.org>2017-01-03 19:27:21 -0500
commit8f0ed12d83c648763b1c538698bfa0b3005a88c3 (patch)
tree130ecb4629dc8a6f8563d93f0c01d12d7f7cccc8 /plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php
parentUpdate plugin jetpack to 4.4.1 (diff)
downloadblogs-gentoo-8f0ed12d83c648763b1c538698bfa0b3005a88c3.tar.gz
blogs-gentoo-8f0ed12d83c648763b1c538698bfa0b3005a88c3.tar.bz2
blogs-gentoo-8f0ed12d83c648763b1c538698bfa0b3005a88c3.zip
Update plugin jetpack to 4.4.2
Diffstat (limited to 'plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php')
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php b/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php
index 15b5e735..b5608747 100644
--- a/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php
+++ b/plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php
@@ -78,7 +78,7 @@ require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-get-e
require_once( $json_jetpack_endpoints_dir . 'class.jetpack-json-api-themes-new-endpoint.php' );
// POST /sites/%s/themes/%new
-new Jetpack_JSON_API_Themes_new_Endpoint( array(
+new Jetpack_JSON_API_Themes_New_Endpoint( array(
'description' => 'Install a theme to your jetpack blog',
'group' => '__do_not_document',
'stat' => 'themes:new',
@@ -105,7 +105,7 @@ new Jetpack_JSON_API_Themes_Get_Endpoint( array(
'description' => 'Get a single theme on a jetpack blog',
'group' => '__do_not_document',
'stat' => 'themes:get:1',
- 'method' => 'POST',
+ 'method' => 'GET',
'path' => '/sites/%s/themes/%s',
'path_labels' => array(
'$site' => '(int|string) The site ID, The site domain',