- Timestamp:
- 09/08/2014 06:43:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/ssl.php
r839 r840 32 32 * when opening the link. 33 33 */ 34 function use_http_url_scheme( $url, $scheme, $original_scheme ) {34 function wcorg_use_http_url_scheme( $url, $scheme, $original_scheme ) { 35 35 if ( is_network_admin() ) { 36 36 $hostname = parse_url( $url, PHP_URL_HOST ); … … 43 43 return $url; 44 44 } 45 add_filter( 'set_url_scheme', ' use_http_url_scheme', 10, 3 );45 add_filter( 'set_url_scheme', 'wcorg_use_http_url_scheme', 10, 3 ); 46 46 47 47 /** … … 57 57 * @param WP_Styles $styles 58 58 */ 59 function load_select_core_styles_from_cdn( $styles ) {59 function wcorg_load_select_core_styles_from_cdn( $styles ) { 60 60 global $pagenow; 61 61 … … 72 72 } 73 73 } 74 add_action( 'wp_default_styles', ' load_select_core_styles_from_cdn' );74 add_action( 'wp_default_styles', 'wcorg_load_select_core_styles_from_cdn' ); 75 75 76 76 /** … … 81 81 * @param string $hook 82 82 */ 83 function load_select_plugin_styles_from_cdn( $hook ) {83 function wcorg_load_select_plugin_styles_from_cdn( $hook ) { 84 84 if ( ! is_network_admin() ) { 85 85 return; … … 96 96 97 97 } 98 add_action( 'admin_enqueue_scripts', ' load_select_plugin_styles_from_cdn' );98 add_action( 'admin_enqueue_scripts', 'wcorg_load_select_plugin_styles_from_cdn' );
Note: See TracChangeset
for help on using the changeset viewer.