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
via https://community.metabrainz.org/t/repository-for-neat-file-name-string-patterns-and-tagger-script-snippets/2786/156 | |
$noop(β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β ) | |
$noop(β MBP YA Magic-Script that does more stuff too. - v2.7 - amd/17500mph β ) | |
$noop(β β ) | |
$noop(β Here is a script for music renaming in MusicBrainz Picard β ) | |
$noop(β β ) | |
$noop(β Note: Destination Director Setting β ) | |
$noop(β /Volumes/3TB/Licorice Pizza β ) | |
$noop(β β ) |
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 | |
/** | |
* Plugin Name: Multisite Network Upgrade WP-CLI Command | |
* Plugin URI: https://gist.github.com/westonruter/beb6120e61e9691e88ac | |
* Author: Weston Ruter, Mo Jangda | |
* Description: From command line run <code>wp multisite-network-upgrade</code>. Script converted into WP-CLI command from Mo's <a href="https://gist.github.com/mjangda/986838">CLI script</a>. | |
* License: GPL2 | |
*/ | |
if ( ! defined( 'WP_CLI' ) || ! WP_CLI ) { |
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
#!/usr/bin/php | |
<?php | |
/** | |
* Takes some code from STDIN, fixes whitespace according to the WordPress Coding Standards and outputs it to STDOUT | |
* Usage example: wpformat < some-file.php > some-file.php | |
*/ | |
// Read file from standard input | |
$file = ''; |
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 | |
# License: Public Domain | |
# I recommend replacing 'my_' with your own prefix. | |
function my_template_path() { | |
return My_Wrapping::$main_template; | |
} |