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