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
<div class="beer-recipe"> | |
<div class="beer-details"> | |
<h3>Recipe Details</h3> | |
<table> | |
<thead> | |
<tr> | |
<th>Batch Size</th> | |
<th>Boil Time</th> | |
<th>IBU</th> | |
<th>SRM</th> |
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
add_action( 'wp_head', 'openid_delegate' ); | |
function openid_delegate() { | |
echo <<<HTML | |
<!-- OpenID Delegation --> | |
<link rel="openid.server" href="https://yoursite.wordpress.com/?openidserver=1"> | |
<link rel="openid.delegate" href="https://yoursite.wordpress.com/"> | |
HTML; | |
} |
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
#!/usr/bin/env bash | |
dir="." | |
if [ $1 ]; then dir=$1; fi | |
bad_funcs="exec system passthru shell_exec escapeshellarg escapeshellcmd proc_close proc_open dl popen show_source ini_set" | |
for func in $bad_funcs | |
do | |
grep -R --include=*.php $func $dir | |
done |
NewerOlder