- Timestamp:
- 04/15/2014 10:15:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/widgets.php
r48 r540 26 26 $watchlist = get_post_meta( $post->ID, '_wporg_watchlist', true ); 27 27 if ( $watchlist && in_array( get_current_user_id(), $watchlist ) ) 28 printf( '<p >You are watching this page. <a href="%s">Unwatch</a></p>',28 printf( '<p class="handbook-watch">You are watching this page. <a href="%s">Unwatch</a></p>', 29 29 wp_nonce_url( admin_url( 'admin-post.php?action=wporg_watchlist&post_id=' . $post->ID ), 'unwatch-' . $post->ID ) ); 30 30 else 31 printf( '<p ><a href="%s">Watch this page</a></p>',31 printf( '<p class="handbook-watch"><a href="%s">Watch this page</a></p>', 32 32 wp_nonce_url( admin_url( 'admin-post.php?action=wporg_watchlist&watch=1&post_id=' . $post->ID ), 'watch-' . $post->ID ) ); 33 33 }
Note: See TracChangeset
for help on using the changeset viewer.