I hereby claim:
- I am kshaner on github.
- I am kshaner (https://keybase.io/kshaner) on keybase.
- I have a public key whose fingerprint is FE1C A39F C428 21AD EE1E 2B7C DC63 AEA3 49E5 6AAB
To claim this, I am signing this object:
| <?php | |
| if ( isset( $_ENV['PANTHEON_ENVIRONMENT'] ) ) { | |
| /** | |
| * filter popup-builders path for multi head environments | |
| * | |
| * @param mixed $value | |
| * @param string $option | |
| * @param int $network_id | |
| * @return mixed |
| const pkg = require('./package.json'); | |
| const gulp = require('gulp'); | |
| const nodePath = require('path'); | |
| // project | |
| const project = {}; | |
| project.node = 'node_modules'; | |
| project.dist = nodePath.posix.normalize(`${project.assets}/dist`); | |
| project.vendor = nodePath.posix.normalize(`${project.assets}/vendor`); |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * Enqueue this function anywhere in the wordpress admin to require a category selection on the array of post types | |
| */ | |
| $(function() { | |
| var post = document.getElementById('post'), | |
| post_types = ['post'], | |
| post_type = false, | |
| errormsg = function(str) { | |
| msgdiv = document.getElementById('message'); | |
| if (msgdiv) { |
| // Disable W3TC footer comment for everyone but Admins (single site) / Super Admins (network mode) | |
| if ( !current_user_can( 'unfiltered_html' ) ) { | |
| add_filter( 'w3tc_can_print_comment', function( $w3tc_setting ) { return false; }, 10, 1 ); | |
| } |