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 lang="en"> <head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.2.1/themes/default/style.min.css" /> | |
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/styles/default.min.css"> | |
<title>Logs Viewer</title> | |
<style media="screen"> | |
body { | |
font-family: sans-serif; |
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
# fix images in comments error | |
<Files *.php> | |
SetInputFilter PHP | |
LimitRequestBody 5242880 | |
</Files> |
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 echo PHP_VERSION; ?> |
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
from __future__ import with_statement # we'll use this later, has to be here | |
#!/usr/bin/env python2.7 | |
# Author Mike https://guides.wp-bullet.com/ | |
# Forked from https://gist.github.com/chrisguitarguy/1305010 | |
from argparse import ArgumentParser | |
import csv | |
from itertools import izip | |
import requests | |
from BeautifulSoup import BeautifulStoneSoup as Soup |
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 | |
defined( 'ABSPATH' ) or die( 'No Access' ); | |
/** | |
* Plugin Name: Force Redirects | |
* Description: Allows admins default behavior and all other users get redirected to where they came from or to the homepage | |
* Author: Mike Andreasen | |
*/ | |
/** |
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
//Disallow direct access | |
defined( 'ABSPATH' ) or die( 'No Access' ); | |
function wpb_bring_admin_back() { | |
if ( is_user_logged_in() && current_user_can('manage_options') ) { | |
add_filter( 'show_admin_bar' , '__return_true' ); | |
show_admin_bar( true ); | |
} | |
} |
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 | |
/* | |
Plugin Name: Subscriber Redirect Fix | |
Plugin URI: | |
Description: | |
Version: | |
Author: | |
Author URI: | |
License: | |
License URI: |
NewerOlder