Changeset 1663
- Timestamp:
- 06/16/2015 02:13:02 PM (10 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks.php
r1653 r1663 1 1 <?php 2 /*3 * Plugin Name: Jetpack Publicize Tweaks4 * Description: Tweak the way that posts shared on social media services will be displayed5 * Version: 0.16 * Author: Brandon Kraft7 */8 9 2 10 3 /* … … 47 40 } 48 41 add_filter( 'jetpack_twitter_cards_site_tag', 'wc_twitter_sitetag' ); 42 43 /* 44 * Determine which Jetpack modules should be automatically activated when new sites are created 45 */ 46 function wcorg_default_jetpack_modules( $modules ) { 47 $modules = array_diff( $modules, array( 'widget-visibility' ) ); 48 array_push( $modules, 'contact-form', 'shortcodes', 'custom-css', 'subscriptions' ); 49 50 return $modules; 51 } 52 add_filter( 'jetpack_get_default_modules', 'wcorg_default_jetpack_modules' ); -
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-misc.php
r1514 r1663 21 21 } 22 22 add_filter( 'close_comments_for_post_types', 'wcorg_close_comments_for_post_types' ); 23 24 /*25 * Determine which Jetpack modules should be automatically activated when new sites are created26 */27 function wcorg_default_jetpack_modules( $modules ) {28 $modules = array_diff( $modules, array( 'widget-visibility' ) );29 array_push( $modules, 'contact-form', 'shortcodes', 'custom-css', 'subscriptions' );30 31 return $modules;32 }33 add_filter( 'jetpack_get_default_modules', 'wcorg_default_jetpack_modules' );34 23 35 24 /*
Note: See TracChangeset
for help on using the changeset viewer.