json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php 1 location
|
@@ 504-510 (lines=7) @@
|
| 501 |
|
} |
| 502 |
|
} |
| 503 |
|
|
| 504 |
|
if ( ! is_null( $publicize_custom_message ) ) { |
| 505 |
|
if ( empty( $publicize_custom_message ) ) { |
| 506 |
|
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS ); |
| 507 |
|
} else { |
| 508 |
|
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS, trim( $publicize_custom_message ) ); |
| 509 |
|
} |
| 510 |
|
} |
| 511 |
|
|
| 512 |
|
if ( ! empty( $insert['post_format'] ) ) { |
| 513 |
|
if ( 'default' !== strtolower( $insert['post_format'] ) ) { |
json-endpoints/class.wpcom-json-api-update-post-endpoint.php 1 location
|
@@ 490-496 (lines=7) @@
|
| 487 |
|
} |
| 488 |
|
} |
| 489 |
|
|
| 490 |
|
if ( ! is_null( $publicize_custom_message ) ) { |
| 491 |
|
if ( empty( $publicize_custom_message ) ) { |
| 492 |
|
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS ); |
| 493 |
|
} else { |
| 494 |
|
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS, trim( $publicize_custom_message ) ); |
| 495 |
|
} |
| 496 |
|
} |
| 497 |
|
|
| 498 |
|
if ( ! empty( $insert['post_format'] ) ) { |
| 499 |
|
if ( 'default' !== strtolower( $insert['post_format'] ) ) { |
json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php 1 location
|
@@ 504-510 (lines=7) @@
|
| 501 |
|
} |
| 502 |
|
} |
| 503 |
|
|
| 504 |
|
if ( ! is_null( $publicize_custom_message ) ) { |
| 505 |
|
if ( empty( $publicize_custom_message ) ) { |
| 506 |
|
delete_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS ); |
| 507 |
|
} else { |
| 508 |
|
update_post_meta( $post_id, $GLOBALS['publicize_ui']->publicize->POST_MESS, trim( $publicize_custom_message ) ); |
| 509 |
|
} |
| 510 |
|
} |
| 511 |
|
|
| 512 |
|
if ( ! empty( $insert['post_format'] ) ) { |
| 513 |
|
if ( 'default' !== strtolower( $insert['post_format'] ) ) { |