This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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(); | |
This file contains hidden or 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
// Do not edit any further. | |
var $do = false; | |
var $genlock = false; |
This file contains hidden or 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
/* | |
* Javascript time conversion script | |
* version 1.0 | |
* @requires jQuery | |
* @author Modern Tribe, Inc. (Peter Chester) | |
* | |
* Converts several formats to a 2 point float. Accepted formats include: | |
* 1.3333333333 | |
* 1h 10m | |
* 1:10 |
This file contains hidden or 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/twitter-cards.php b/twitter-cards.php | |
index 06f6c00..6aa751c 100644 | |
--- a/twitter-cards.php | |
+++ b/twitter-cards.php | |
@@ -22,9 +22,8 @@ class Twitter_Cards { | |
* @since 1.0 | |
*/ | |
public static function init() { | |
- if ( apply_filters( 'twitter_cards_display', is_single() ) ) { | |
+ if ( is_single() ) |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<style> | |
.ichingchar { | |
padding: 0; | |
margin: 0; | |
height: 24px; | |
width: 19px; |
OlderNewer