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
# BEGIN CACHIFY | |
<IfModule mod_rewrite.c> | |
# ENGINE ON | |
RewriteEngine on | |
RewriteBase / | |
# set hostname directory | |
RewriteCond %{HTTPS} on | |
RewriteRule .* - [E=CACHIFY_HOST:https-%{HTTP_HOST}] |
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
# BEGIN CACHIFY | |
<IfModule mod_rewrite.c> | |
# ENGINE ON | |
RewriteEngine on | |
RewriteBase / | |
# set hostname directory | |
RewriteCond %{HTTPS} on | |
RewriteRule .* - [E=CACHIFY_HOST:https-%{HTTP_HOST}] | |
RewriteCond %{HTTPS} off |
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
#!/bin/bash | |
MESSAGE="0" | |
VERSION="0" | |
DRAFT="false" | |
PRE="false" | |
BRANCH="master" | |
GITHUB_ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>" | |
# get repon name and owner |
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 | |
/** | |
* Get field key for field name. | |
* Will return first matched acf field key for a give field name. | |
* | |
* ACF somehow requires a field key, where a sane developer would prefer a human readable field name. | |
* http://www.advancedcustomfields.com/resources/update_field/#field_key-vs%20field_name | |
* | |
* This function will return the field_key of a certain field. |
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 python3 | |
import argparse, glob, json, re, subprocess, urllib.request, os, sys | |
class version_number: | |
major=0 | |
minor=0 | |
release=0 |
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
{ | |
"name": "mcguffin/wp-package-security-check", | |
"type": "wordpress-plugin", | |
"license": "GPL-2.0-or-later", | |
"homepage": "https://gist.github.com/mcguffin/255909d4d7fcc241fe63363012553268", | |
"require": { | |
"composer/installers": "~1.2" | |
}, | |
"require-dev": { | |
"squizlabs/php_codesniffer": "*", |
OlderNewer