I hereby claim:
- I am ethitter on github.
- I am ethitter (https://keybase.io/ethitter) on keybase.
- I have a public key ASDCoI1IjGoidsf5HlGtJQ3B8o52LJFU1aLxcXj632OceQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
// See https://ethitter.com/p/897/ | |
$photon_removed = remove_filter( 'image_downsize', array( Jetpack_Photon::instance(), 'filter_image_downsize' ) ); | |
// Call wp_get_attachment_image(), wp_get_attachment_image_src(), or anything else that ultimately calls image_downsize() | |
if ( $photon_removed ) { | |
add_filter( 'image_downsize', array( Jetpack_Photon::instance(), 'filter_image_downsize' ), 10, 3 ); | |
} |
Index: domain_mapping.php | |
=================================================================== | |
--- domain_mapping.php (revision 688919) | |
+++ domain_mapping.php (working copy) | |
@@ -685,7 +685,7 @@ | |
} | |
function redirect_to_mapped_domain() { | |
- global $current_blog, $wpdb; | |
+ global $current_blog, $wpdb, $wp_customize; |
<?php | |
/** | |
* Move entire multisite into a subdirectory within its assigned domain | |
*/ | |
class WPCOM_VIP_Multisite_Subdirectory_Rewrites { | |
/** | |
* Singleton | |
*/ | |
private static $__instance = null; |
<?php | |
/* | |
Plugin name: Piwik Stats | |
Description: Implement Piwik tracking code | |
Version: 1.0 | |
Author: Erick Hitter | |
Author URI: http://www.ethitter.com | |
License: GPLv2 | |
*/ |
<?php | |
/** | |
* Bypass WP's check for Apache's mod_rewrite support | |
* Ensure proper rewrite support is configured in nginx | |
* See http://codex.wordpress.org/Nginx | |
* | |
* @filter got_rewrite | |
* @uses __return_true | |
*/ | |
add_filter( 'got_rewrite', '__return_true' ); |