Changeset 603548
- Timestamp:
- 09/25/2012 10:36:37 AM (13 years ago)
- Location:
- jetpack/trunk
- Files:
-
- 2 edited
-
jetpack.php (modified) (2 diffs)
-
modules/subscriptions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/jetpack.php
r603223 r603548 192 192 add_action( 'jetpack_clean_nonces', array( $this, 'clean_nonces' ) ); 193 193 194 add_filter( 'xmlrpc_blog_options', array( $this, 'xmlrpc_options' ) ); 195 194 196 add_action( 'admin_menu', array( $this, 'admin_menu' ) ); 195 197 add_action( 'admin_init', array( $this, 'admin_init' ) ); … … 2588 2590 return $methods; 2589 2591 } 2592 2593 function xmlrpc_options( $options ) { 2594 $options['jetpack_version'] = array( 2595 'desc' => __( 'Jetpack Plugin Version' ), 2596 'readonly' => true, 2597 'value' => JETPACK__VERSION, 2598 ); 2599 2600 $options['jetpack_client_id'] = array( 2601 'desc' => __( 'The Client ID/WP.com Blog ID of this site' ), 2602 'readonly' => true, 2603 'value' => $this->get_option( 'id' ), 2604 ); 2605 return $options; 2606 } 2590 2607 2591 2608 function clean_nonces( $all = false ) { -
jetpack/trunk/modules/subscriptions.php
r588185 r603548 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.