Changeset 4181
- Timestamp:
- 10/02/2016 09:04:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r3994 r4181 16 16 add_filter( 'oembed_discovery_links', array( $this, 'disable_oembed_discovery_links' ) ); 17 17 add_filter( 'oembed_response_data', array( $this, 'disable_oembed_response_data' ), 10, 2 ); 18 add_filter( 'embed_oembed_discover', '__return_false' ); 18 19 19 20 add_action( 'plugins_loaded', array( $this, 'disable_inline_terms' ) ); … … 65 66 66 67 /** 67 * Disable the inline terms and mentions, if they are enabled. 68 * Disable the inline terms and mentions, if they are enabled. 68 69 * Inline terms and mentions are for O2 and should not be running on the support forums. 69 70 * If this plugin is moved out of mu-plugins, this function can be removed as well.
Note: See TracChangeset
for help on using the changeset viewer.