Changeset 4280 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/includes/source-site-id-setting.php
- Timestamp:
- 10/21/2016 04:10:02 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/includes/source-site-id-setting.php
r1715 r4280 2 2 3 3 namespace WordCamp\Site_Cloner; 4 5 4 defined( 'WPINC' ) or die(); 6 5 … … 16 15 public $default = 0; 17 16 public $sanitize_callback = 'absint'; 17 18 18 protected $preview_source_site_id; 19 19 … … 29 29 add_filter( 'get_post_metadata', array( $this, 'preview_jetpack_postmeta' ), 10, 4 ); 30 30 add_filter( 'safecss_skip_stylesheet', array( $this, 'preview_skip_stylesheet' ) ); 31 32 // Disable the current site's Custom CSS from being output 33 remove_action( 'wp_head', array( 'Jetpack_Custom_CSS', 'link_tag' ), 101 ); 31 34 } 32 35 … … 110 113 * 111 114 * @param int $source_site_id 115 * 116 * @return null 112 117 */ 113 118 protected function update( $source_site_id ) {
Note: See TracChangeset
for help on using the changeset viewer.