Changeset 9491 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-performance-optimizations.php
- Timestamp:
- 02/11/2020 12:59:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-performance-optimizations.php
r9302 r9491 79 79 */ 80 80 public function disable_rest_api_users_endpoint( $endpoints ) { 81 if ( ! isset( $endpoints['/wp/v2/users'] ) ) { 82 return $endpoints; 83 } 84 81 85 foreach ( $endpoints['/wp/v2/users'] as &$handler ) { 82 86 if ( isset( $handler['methods'] ) && 'GET' === $handler['methods'] ) { … … 467 471 /** 468 472 * Block forum subscriptions. 469 * 473 * 470 474 * No user ever actually intends to subscribe to an entire forum, so lets just never do that. 471 475 */
Note: See TracChangeset
for help on using the changeset viewer.