I hereby claim:
- I am pospi on github.
- I am pospi (https://keybase.io/pospi) on keybase.
- I have a public key ASBxJoVjLhHN_8kL5a3J_EdAoEIQJM_yJ5Ho0Esk7e0giAo
To claim this, I am signing this object:
<?php | |
add_action('add_meta_boxes', array('AdminBoxShuffle', 'repositionDefaultMetaboxes'), 0); | |
class AdminBoxShuffle | |
{ | |
const EXCERPT_HINTTEXT = 'This excerpt is shown at the top of your posts and will form the preview text on gateway pages.'; | |
/** | |
* Reposition default metaboxes |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Same as implode, but escape the separator when it exists in the array elements being imploded | |
* If the separator is longer than 1 character, only the first character need be escaped (not every character of the delimiter). | |
* | |
* @param string $sep delimiter to stich the array together with | |
* @param array $arr array to combine | |
* @param char $escape escape character to escape any found delimiters with | |
* @return imploded string |
window.isPopupBlocked = function(popup_window, cb) | |
{ | |
var CHROME_CHECK_TIME = 2000; // the only way to detect this in Chrome is to wait a bit and see if the window is present | |
function _is_popup_blocked(popup) | |
{ | |
return !popup.innerHeight; | |
} | |
if (popup_window) { |
/.env | |
/node_modules |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# | |
# Helper script to setup symlinks and modules for services integration during development | |
# | |
# @depends http://stedolan.github.io/jq/ | |
# @depends https://yarnpkg.com/ | |
# | |
# :WARNING: | |
# Your global npm packages must be installed for the current user in order for this script to work. | |
# If this is not the case, we recommend you nuke your global npm folder and replace with an nvm-managed |
<?php | |
function wpe_noRedirectUrl($srcURL) | |
{ | |
if (class_exists('WpeCommon')) { | |
global $wpe_netdna_domains; | |
static $cdn_domain; | |
if (!isset($cdn_domain)) { | |
$wpe_common = new WpeCommon(); | |
if ($wpe_common->is_cdn_enabled()) { |
<?php | |
global $WPMUPermastructFix; | |
$WPMUPermastructFix = new MultisitePermastructFix(); | |
class MultisitePermastructFix | |
{ | |
public function __construct() | |
{ | |
// start the checking process for main multisite blog. Will strip forced '/blog/' from the start. |
#!/usr/bin/env bash | |
# | |
# Helper script to setup symlinks and modules for services integration during development | |
# | |
# @depends http://stedolan.github.io/jq/ | |
# | |
# :WARNING: | |
# Your global npm packages must be installed for the current user in order for this script to work. | |
# If this is not the case, we recommend you nuke your global npm folder and replace with an nvm-managed | |
# node install in your homedir, which will have the correct permissions for `npm link` to function. |