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 | |
/* | |
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
#/bin/sh | |
# Creates a 1gb swap image. | |
# @see https://www.digitalocean.com/community/tutorials/how-to-configure-virtual-memory-swap-file-on-a-vps | |
if [ -f /var/swap.img ]; then | |
echo "Swap file already exists." | |
else | |
touch /var/swap.img | |
chmod 600 /var/swap.img |
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: 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
/** | |
* Enqueue the necessary javascript to support the Image Widget in Site Origin's Page Builder | |
*/ | |
function tribe_image_widget_siteorigin_page_builder_support() { | |
global $wp_widget_factory; | |
if ( isset( $wp_widget_factory->widgets ) && isset( $wp_widget_factory->widgets['Tribe_Image_Widget'] ) ) { | |
add_action( 'siteorigin_panel_enqueue_admin_scripts', array( $wp_widget_factory->widgets['Tribe_Image_Widget'], 'admin_setup' ) ); | |
} | |
} | |
add_action('widgets_init', 'tribe_image_widget_siteorigin_page_builder_support', 999); |
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: New Relic Config | |
Plugin URI: http://tri.be | |
Description: Configures New Relic | |
Author: Modern Tribe, Inc. | |
Author URI: http://tri.be | |
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
diff --git a/wp-content/plugins/postie/postie.php b/wp-content/plugins/postie/postie.php | |
index 9b94006415b74c3fcf2c5f667a9c277a14ab7f39..46d83ff3c226b3ecdca11ade57b8fcd267baac3d 100644 | |
--- a/wp-content/plugins/postie/postie.php | |
+++ b/wp-content/plugins/postie/postie.php | |
@@ -76,9 +76,9 @@ if (is_admin()) { | |
add_action( 'admin_init', 'postie_admin_settings' ); | |
add_action('admin_menu', 'postie_loadjs_add_page'); | |
if(function_exists('load_plugin_textdomain')){ | |
- $plugin_dir = WP_PLUGIN_DIR . '/' . basename(dirname(__FILE__)); | |
function postie_load_domain() { |
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/postie/postie-functions.php b/wp-content/plugins/postie/postie-functions.php | |
index ddf4cd8daf8ed4bdeb30978733e472ea97d96abd..75a598b1b6f77cb47a612a3d39b53a115f14a1cb 100644 | |
--- a/wp-content/plugins/postie/postie-functions.php | |
+++ b/wp-content/plugins/postie/postie-functions.php | |
@@ -1,11 +1,41 @@ | |
<?php | |
-$revisions= WP_POST_REVISIONS; | |
-define('WP_POST_REVISIONS', false); | |
-//define('POSTIE_DEBUG', true); | |
-if (!ini_get('safe_mode')) { |
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 | |
if ( my_site_is_infected() ) { | |
visit( "sucuri.net" ); | |
} else { | |
die(); | |
} | |
?> |
NewerOlder