This file contains hidden or 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 parse_piklist_array($array) { | |
if ( empty($array) ) | |
return array(); | |
$keys = array_keys($array); | |
if ( empty($keys) ) | |
return array(); | |
$results = $values = array(); |
This file contains hidden or 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 | |
// If you can edit pages, you can edit widgets | |
add_filter( 'user_has_cap', | |
function( $caps ) { | |
if ( ! empty( $caps['edit_pages'] ) ) | |
$caps['edit_theme_options'] = true; | |
return $caps; | |
} ); |
This file contains hidden or 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
Movable Type has never been Free Software, as defined by the Free Software | |
Foundation. It has never been open source software, as defined by the Open | |
Source Initiative. Six Apart survived and thrived in the blogging community | |
because Movable Type was “free enough.” | |
… | |
Many people misunderstand | |
Free Software and the GNU General Public License. Many people equate the GPL to | |
the boogeyman, because it’s “viral”, and that sounds like a bad thing. |