json-endpoints/class.wpcom-json-api-post-endpoint.php 1 location
|
@@ 115-119 (lines=5) @@
|
| 112 |
|
/** This filter is documented in class.json-api-endpoints.php */ |
| 113 |
|
$is_jetpack = true === apply_filters( 'is_jetpack_site', false, $blog_id ); |
| 114 |
|
|
| 115 |
|
if ( defined( 'GEO_LOCATION__CLASS' ) && class_exists( GEO_LOCATION__CLASS ) ) { |
| 116 |
|
$geo = call_user_func( array( GEO_LOCATION__CLASS, 'init' ) ); |
| 117 |
|
} else { |
| 118 |
|
$geo = false; |
| 119 |
|
} |
| 120 |
|
|
| 121 |
|
if ( 'display' === $context ) { |
| 122 |
|
$args = $this->query_args(); |
json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php 1 location
|
@@ 108-112 (lines=5) @@
|
| 105 |
|
/** This filter is documented in class.json-api-endpoints.php */ |
| 106 |
|
$is_jetpack = true === apply_filters( 'is_jetpack_site', false, $blog_id ); |
| 107 |
|
|
| 108 |
|
if ( defined( 'GEO_LOCATION__CLASS' ) && class_exists( GEO_LOCATION__CLASS ) ) { |
| 109 |
|
$geo = call_user_func( array( GEO_LOCATION__CLASS, 'init' ) ); |
| 110 |
|
} else { |
| 111 |
|
$geo = false; |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
if ( 'display' === $context ) { |
| 115 |
|
$args = $this->query_args(); |