Changeset 10821 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-also-viewing/wporg-bbp-also-viewing.php
- Timestamp:
- 03/16/2021 02:05:35 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-also-viewing/wporg-bbp-also-viewing.php
r10662 r10821 200 200 checked( enabled( $user_id ), true, false ), 201 201 sprintf( 202 'Enable the <a href="%s">Also Viewing</a> feature.', // TODO: Translate once text is figured out __(, 'wporg-forums' ),202 __( 'Enable the <a href="%s">Also Viewing</a> feature.', 'wporg-forums' ), 203 203 'https://make.wordpress.org/support/handbook/appendix/helpful-tools/#avoiding-overlapping-replies' 204 204 ) … … 368 368 369 369 foreach ( $pages as $p ) { 370 wp_cache_delete( $p age, CACHE_GROUP );370 wp_cache_delete( $p, CACHE_GROUP ); 371 371 } 372 372 } … … 442 442 global $wpdb; 443 443 444 if ( get_ site_option( 'also-viewing' ) ) {444 if ( get_option( 'also-viewing' ) ) { 445 445 return; 446 446 } … … 462 462 ); 463 463 464 update_ site_option( 'also-viewing', true );465 } 464 update_option( 'also-viewing', true ); 465 }
Note: See TracChangeset
for help on using the changeset viewer.