Changeset 3056649 for jetpack/trunk/modules/sharedaddy/sharing.php
- Timestamp:
- 03/22/2024 09:30:19 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/modules/sharedaddy/sharing.php
r3053889 r3056649 165 165 * Create a new custom sharing service via AJAX. 166 166 * 167 * @return never167 * @return 168 168 */ 169 169 public function ajax_new_service() { … … 725 725 ); 726 726 ?> 727 727 728 728 <div class="share_manage_options"> 729 729 <br class="clearing" /> … … 786 786 */ 787 787 function jetpack_post_sharing_get_value( array $post ) { 788 if ( ! isset( $post['id'] ) ) {789 return false;790 }791 792 788 // if sharing IS disabled on this post, enabled=false, so negate the meta 793 789 return (bool) ! get_post_meta( $post['id'], 'sharing_disabled', true );
Note: See TracChangeset
for help on using the changeset viewer.