I hereby claim:
- I am ryanfitton on github.
- I am ryanfitton (https://keybase.io/ryanfitton) on keybase.
- I have a public key whose fingerprint is 25A2 D449 12AB E7E2 F37E A263 1FA8 09C4 CF42 7FE6
To claim this, I am signing this object:
// WordPress Custom Post Type Register for Portfolio | |
register_post_type('portfolio', array( | |
'public' => true, | |
'menu_icon' => 'dashicons-portfolio', | |
'label' => __( 'Portfolio', 'local' ), | |
); |
/*! | |
* Description: WordPress Custom Login | |
* Author: Ryan Fitton | |
* Author URI: http://ryanfitton.co.uk | |
* Version: 2014 | |
*/ | |
body.login { | |
background: #ad473b!important; | |
color: #484848!important; | |
} |
<?php | |
/** | |
* Created September 2014 | |
* @author Ryan Fitton | |
* @copyright Copyright (c) 2014, Ryan Fitton | |
*/ | |
//Customer WordPress login styling | |
function custom_login_css() { |
#Test: | |
env x='() { :;}; echo vulnerable' bash -c "echo this is a test" | |
#Run: | |
apt-get update && apt-get install -y bash | |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
Convert Reserved XML charecters to Entities | |
http://stackoverflow.com/questions/1132633/converting-to-amp-for-xml-in-php | |
*/ | |
function xml_convert($str, $protect_all = FALSE) { | |
$temp = '__TEMP_AMPERSANDS__'; | |
// Replace entities to temporary markers so that |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} !^443$ | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f |
<link rel="stylesheet" href="css/styles.css<?php echo lastModTimestamp("styles.css", "css/", true)); ?>"> |