json-endpoints/class.wpcom-json-api-post-endpoint.php 1 location
|
@@ 121-126 (lines=6) @@
|
| 118 |
|
$geo = false; |
| 119 |
|
} |
| 120 |
|
|
| 121 |
|
if ( 'display' === $context ) { |
| 122 |
|
$args = $this->query_args(); |
| 123 |
|
if ( isset( $args['content_width'] ) && $args['content_width'] ) { |
| 124 |
|
$GLOBALS['content_width'] = (int) $args['content_width']; |
| 125 |
|
} |
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'wp-windows8' ) ) { |
| 129 |
|
remove_shortcode( 'gallery', 'gallery_shortcode' ); |
json-endpoints/class.wpcom-json-api-post-v1-1-endpoint.php 1 location
|
@@ 114-119 (lines=6) @@
|
| 111 |
|
$geo = false; |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
if ( 'display' === $context ) { |
| 115 |
|
$args = $this->query_args(); |
| 116 |
|
if ( isset( $args['content_width'] ) && $args['content_width'] ) { |
| 117 |
|
$GLOBALS['content_width'] = (int) $args['content_width']; |
| 118 |
|
} |
| 119 |
|
} |
| 120 |
|
|
| 121 |
|
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'wp-windows8' ) ) { |
| 122 |
|
remove_shortcode( 'gallery', 'gallery_shortcode' ); |