This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Mat's Fabulous Image Resizer | |
Description: Peter has hacked Mat's image resizer a bit to make it a stand alone plugin for the sake of team testing & inspection. | |
*/ | |
/** | |
* Manage Image resizing on the fly to prevent a bunch of uneeded image sizes for every image uploaded | |
* Includes support for the Wp Smush.it plugin and will run the smush on all image sizes when generating the thumbnails. This also allow for smushing image larger than 1mb when | |
* using cropped sizes less than 1MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Google Drive path | |
BASEDIR='/Users/xxxx/Google Drive/' | |
# Files to backup | |
FILES=( | |
'Some Folder on Your Drive/Some Spreadsheet.gsheet' | |
'Some Other Folder on Your Drive/Some Doc.gdoc' | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Show User's Blogs | |
Description: Adds a list of what blogs a user belongs to to the user table. | |
Version: 1.0 | |
Author: Modern Tribe, Inc. | |
*/ | |
if(!class_exists('Show_Blog_Belongs')) { | |
class Show_Blog_Belongs { | |
public function __construct() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Git Info | |
Plugin URI: https://github.com/jbrinley/wp-git-deploy | |
Description: Git info (abstracted from jbrinley's git deploy plugin) | |
Author: Modern Tribe, Inc. | |
Author URI: http://tri.be | |
Contributors: jbrinley | |
Version: 1.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class for managing overlapping helper plugins. This ensures that we use the latest versions of common code. | |
* | |
* Usage: include this file on any plugin that may have shared code BEFORE the 'plugins_loaded' action is completed. | |
* After including this file, register the helper files using the TribeCommonLibraries::register() instead of including the files directly. | |
* | |
* @author Peter Chester | |
* @version 1.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: object-cache.php | |
=================================================================== | |
--- object-cache.php (revision 548800) | |
+++ object-cache.php (working copy) | |
@@ -92,8 +92,8 @@ | |
public function __construct() { | |
global $table_prefix; | |
- if ( !function_exists( 'xcache_get' ) ) { | |
- wp_die( 'You do not have XCache installed, so you cannot use the XCache object cache backend. Please remove the <code>object-cache.php</code> file from your content directory.' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wp-content/plugins/wp-super-cache/plugins/badbehaviour.php b/wp-content/plugins/wp-super-cache/plugins/badbehaviour.php | |
index 6c07488..478dd85 100644 | |
--- a/wp-content/plugins/wp-super-cache/plugins/badbehaviour.php | |
+++ b/wp-content/plugins/wp-super-cache/plugins/badbehaviour.php | |
@@ -66,7 +66,7 @@ function wp_supercache_badbehaviour_admin() { | |
<label><input type="radio" name="cache_badbehaviour" value="0" <?php if( !$cache_badbehaviour ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label> | |
<p><?php _e( '', 'wp-super-cache' ); ?></p><?php | |
echo '<p>' . sprintf( __( '(Only legacy caching supported, disabled compression and requires <a href="http://www.bad-behavior.ioerror.us/">Bad Behavior</a> in "%s/plugins/bad-behavior/") ', 'wp-super-cache' ), WP_CONTENT_DIR ) . '</p>'; | |
- if ($changed) { | |
+ if ( isset( $changed ) && $changed ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wp-content/plugins/wp-super-cache/wp-cache-phase2.php b/wp-content/plugins/wp-super-cache/wp-cache-phase2.php | |
index 739512e..86f6086 100644 | |
--- a/wp-content/plugins/wp-super-cache/wp-cache-phase2.php | |
+++ b/wp-content/plugins/wp-super-cache/wp-cache-phase2.php | |
@@ -59,7 +59,7 @@ function wp_cache_phase2() { | |
return false; | |
} | |
- if ( $wp_cache_object_cache && !empty( $_GET ) ) { | |
+ if ( isset( $wp_cache_object_cache ) && $wp_cache_object_cache && !empty( $_GET ) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wp-content/plugins/hyper-cache/cache.php b/wp-content/plugins/hyper-cache/cache.php | |
index e3e1dbf..647fa55 100644 | |
--- a/wp-content/plugins/hyper-cache/cache.php | |
+++ b/wp-content/plugins/hyper-cache/cache.php | |
@@ -125,7 +125,7 @@ if ($hyper_data['type'] == 'home' || $hyper_data['type'] == 'archive') { | |
// Valid cache file check ends here | |
-if ($hyper_data['location']) { | |
+if (isset($hyper_data['location']) && $hyper_data['location']) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wp-content/plugins/hyper-cache/options.php b/wp-content/plugins/hyper-cache/options.php | |
index 9daa572..cbc1e7e 100644 | |
--- a/wp-content/plugins/hyper-cache/options.php | |
+++ b/wp-content/plugins/hyper-cache/options.php | |
@@ -1,6 +1,6 @@ | |
<?php | |
-$options = get_option('hyper'); | |
+$options = hyper_get_options(); | |
OlderNewer