Changeset 9160
- Timestamp:
- 10/03/2019 05:44:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r9094 r9160 68 68 // Allow post_modified not to be modified when we don't specifically bump it. 69 69 add_filter( 'wp_insert_post_data', array( $this, 'filter_wp_insert_post_data' ), 10, 2 ); 70 71 add_filter( 'jetpack_active_modules', function( $modules ) { 72 if ( $i = array_search( 'search', $modules ) ) 73 unset( $modules[$i] ); 74 return $modules; 75 } ); 70 76 71 77 // Work around caching issues
Note: See TracChangeset
for help on using the changeset viewer.