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
html2element: function(html) { | |
var $template, attributes = {}, | |
template = html; | |
$template = $(template(this.model.toJSON()).trim()); | |
if($template.get(0)) | |
{ | |
_.each($template.get(0).attributes, function(attr) { | |
attributes[attr.name] = attr.value | |
})}; |
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
# These rules are designed to be effective versus /distributed/ brute force | |
# attacks. While they will function just as well against attacks which are | |
# /not distributed/ they will deny access to all XML-RPC method calls | |
# namespaced with the prefix "wp." | |
# | |
# An IP-based version of these rules may be more appropriate for sites which | |
# attacked from just a few distinct IP addresses. | |
# | |
# See http://alzabo.io/modsecurity/2014/09/15/wordpress-xml-rpc-brute-force.html | |
# for additional information |
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: Homepage Settings for BigBang | |
Plugin URI: http://www.inboundnow.com/ | |
Description: Adds additional functionality to the big bang theme. | |
Author: David Wells | |
Author URI: http://www.inboundnow.com | |
*/ | |
// Specify Hooks/Filters |