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": "*", |
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: Fix core issue 42656 | |
Description: Fix PHP Warning undefined index pagenow on login popup. Place this into wp-content/mu-plugins/ | |
Author: McGuffin | |
Author URI: http://github.org/mcguffin | |
Version: 0.0.1 | |
*/ |
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 | |
/** | |
* Bringing ACF RGBA Color Picker and ACF QuickEdit Fields together. | |
* https://github.com/mcguffin/acf-quick-edit-fields | |
* https://wordpress.org/plugins/acf-rgba-color-picker/ | |
*/ | |
/** | |
* Add field support | |
*/ |
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
[ | |
{ | |
"key": "group_5a3593ed877c0", | |
"title": "Nested Repeaeter", | |
"fields": [ | |
{ | |
"key": "field_5a3593f76e021", | |
"label": "Outer", | |
"name": "outer", | |
"type": "repeater", |
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
#!/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
#!/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
# 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
<?php | |
/* | |
Plugin Name: Polylang: Fix missing value on ACF relational fields | |
Plugin Description: ACF relational Field value for translated posts types where not displayed when Admin langauge differs from post language. | |
Author: Jörn Lund | |
Author URI: http://github.org/mcguffin | |
Version: 0.0.1 | |
*/ |
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 | |
/* Copyright 2015 Jörn Lund https://github.com/mcguffin/ | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License, version 2, as | |
published by the Free Software Foundation. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
NewerOlder