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
$('#publishing-action') | |
.find('.spinner').hide().end() | |
.find('#publish').removeClass('button-primary-disabled'); | |
$('#save-action') | |
.find('.spinner').hide().end() | |
.find('#save-post').removeClass('button-disabled'); |
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 | |
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()) { |
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 | |
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 |
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 | |
/** | |
* Recursively sort an array of taxonomy terms hierarchically. Child categories will be | |
* placed under a 'children' member of their parent term. | |
* | |
* @param Array $cats taxonomy term objects to sort | |
* @param Array $into result array to put them in | |
* @param integer $parentId the current parent ID to put them in | |
*/ | |
function sortHierarchicalTaxonomy(Array $cats, Array &$into, $parentId = 0) |
NewerOlder