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 | |
/** | |
* WordPress Multisite upgrade script | |
* | |
* IMPORTANT: While a simple safeguard has been added to the script, | |
* you'll want to add another layer that prevents this script from | |
* being called via the browser. | |
* | |
* Usage: | |
* 1) Place in the root of your install (or another place, but modify the wp-load.php path to match) |
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(defined('WP_DEBUG') && WP_DEBUG ){ | |
add_action('wp_footer','debug_print_queries'); | |
add_action('admin_footer','debug_print_queries'); | |
function debug_print_queries(){ | |
global $wpdb; | |
global $wp_object_cache; |
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
psu.edu | |
uchicago.edu | |
illinois.edu | |
iub.edu | |
uiowa.edu | |
umd.edu | |
umich.edu | |
msu.edu | |
umn.edu | |
unl.edu |
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( ! defined('ABSPATH') ) { | |
exit; | |
} | |
// inlcude this seperately from the other jetpack fixes | |
// because of widget visiability being loaded independently | |
// of actual jetpack |
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: PageLines Security Patcher | |
Description: Blocks the recent exploits for legacy themes in the event you cant update the themes. | |
Version: 1.0 | |
Author: PageLines | |
*/ | |
class Fix_Pagelines_Legacy { | |
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
class Foo | |
def self.set_foo | |
@foo = 1 | |
end | |
def self.print_foo | |
puts "class isntance foo = #{@foo}" | |
end |
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
$(document).on('tk:thing-start', function() { | |
$('#something').addClass('whatever'); | |
}); | |
function start_thing() { | |
$(document).trigger('tk:thing-start'); | |
/// do the computing | |
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
Array | |
( | |
[0] => Array | |
( | |
[function] => {closure} | |
[args] => Array | |
( | |
[0] => https://sites.psu.edu/wp-admin/admin.php?page=jetpack | |
) |
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
<% if ENV['TEXAS_STATE'] %> | |
// Texas state CSS over rides go here | |
<% end %> |
OlderNewer