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
{"meta":{"version":"2.3.18","build":1393355830},"pods":{"21":{"id":21,"name":"language","label":"Languages","description":"","type":"taxonomy","storage":"none","object":"","alias":"","fields":[],"show_in_menu":1,"label_singular":"Language","public":"1","show_ui":"1","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_hierarchical":"1","query_var":"1","sort":"0","built_in_post_types_page":"1","built_in_post_types_post":"1","built_in_post_types_attachment":"0","menu_location":"default","menu_position":"0","show_in_nav_menus":"1","show_tagcloud":"1","show_admin_column":"1"},"23":{"id":23,"name":"post","label":"Post","description":"","type":"post_type","storage":"meta","object":"post","alias":"","fields":{"post_language":{"id":24,"name":"post_language","label":"Language","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"taxonomy","pick_val":"language","sister_id":"","required":"1","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox", |
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 | |
/** | |
* Decodifica HEX -> Blowfish -> Plain Text | |
* @license http://creativecommons.org/publicdomain/zero/1.0/ | |
*/ | |
/** | |
* pear install Crypt_Blowfish | |
* @link http://pear.php.net/package/Crypt_Blowfish/ | |
*/ |
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
# Digital Ocean Vagrant Makefile | |
# Based on https://gist.github.com/avalanche123/1297080 | |
# These values are overwriteable by command line. | |
AUTHOR = SWERgroup Developers <plugins@swergroup.com> | |
PROJECT = vagrant | |
CONFDIR = config | |
PROVDIR = provision | |
define license |
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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
uglify: { | |
options: { | |
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' | |
}, |
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
{ | |
"name" : "rarst/install-test", | |
"description" : "Test project for WordPress stack via Composer", | |
"authors" : [ | |
{ | |
"name" : "Andrey Savchenko", | |
"email" : "contact@rarst.net", | |
"homepage": "http://www.Rarst.net/" | |
} | |
], |
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
#!/bin/bash | |
DOMAIN="easyforex" | |
POT="$DOMAIN.pot" | |
LANGS="en_US ru_RU" | |
SOURCES="*.php" | |
# Create template | |
echo "Creating POT" | |
rm -f $POT |
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
#!/bin/bash | |
wp db reset --yes | |
wp core install --url=http://plugins.wp --title="plugin dev" --admin_name=plugins --admin_email=plugins@example.org --admin_password=plugins | |
wp plugin install <plugin_name> --activate |
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 | |
$download_url = 'https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml'; | |
$silent = WP_CLI::get_config('quiet') ? '--silent ' : ''; | |
$cmd = "curl -f $silent %s -o /tmp/theme-unit-test-data.xml"; | |
WP_CLI::launch( Utils\esc_cmd( $cmd, $download_url ) ); | |
# reset wp | |
WP_CLI::launch( 'wp db reset --yes' ); |
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 Fatal error: Call to a member function register_early_invoke() on a non-object in /src/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php on line 23 | |
PHP Stack trace: | |
PHP 1. {main}() /src/wp-cli/php/boot-fs.php:0 | |
PHP 2. include() /src/wp-cli/php/boot-fs.php:17 | |
PHP 3. WP_CLI\Utils\load_dependencies() /src/wp-cli/php/wp-cli.php:13 | |
PHP 4. require() /src/wp-cli/php/utils.php:19 | |
PHP 5. ComposerAutoloaderInitf85e7a78598cba3871ca35c635bc35df::getLoader() /src/wp-cli/vendor/autoload.php:7 | |
PHP 6. require() /src/wp-cli/vendor/composer/autoload_real.php:46 | |
PHP 7. WP_CLI::add_command() /src/wp-cli-test-command/wp-cli-test-command.php:72 |
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
#!/bin/bash | |
wp db reset --yes | |
wp core install --url=http://wp35.dev --title="WP" --admin_name=test --admin_email=test@example.org --admin_password=test | |
wp theme-test install --menus |
OlderNewer