Changeset 594641
- Timestamp:
- 09/04/2012 09:30:47 PM (12 years ago)
- Location:
- jetpack/branches/mobile-push-notifications
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
jetpack/branches/mobile-push-notifications/jetpack.php
r589515 r594641 174 174 add_action( 'jetpack_clean_nonces', array( $this, 'clean_nonces' ) ); 175 175 176 177 176 178 add_action( 'admin_menu', array( $this, 'admin_menu' ) ); 177 179 add_action( 'admin_init', array( $this, 'admin_init' ) ); … … 2456 2458 return $methods; 2457 2459 } 2458 2460 2461 function xmlrpc_options( $options ) { 2462 2463 $options['jetpack_version'] = array( 2464 'desc' => __( 'Jetpack Plugin Version' ), 2465 'readonly' => true, 2466 'value' => JETPACK__VERSION, 2467 ); 2468 2469 $options['jetpack_client_id'] = array( 2470 'desc' => __( 'The Client ID/WP.com Blog ID of this site' ), 2471 'readonly' => true, 2472 'value' => $this->get_option( 'id' ), 2473 ); 2474 return $options; 2475 } 2476 2459 2477 function clean_nonces( $all = false ) { 2460 2478 global $wpdb; -
jetpack/branches/mobile-push-notifications/modules/subscriptions.php
r588185 r594641 128 128 } 129 129 130 if ( 1 == $comment->comment_approved ) { 131 $this->jetpack->sync->comment( $id ); 132 } 130 if ( 'spam' === $comment->comment_approved ) { 131 return; 132 } 133 134 $this->jetpack->sync->comment( $id ); 133 135 } 134 136
Note: See TracChangeset
for help on using the changeset viewer.