OSDN Git Service

wvm/wvm.git
10 years agoStore post ids during `wp post generate`.
Mike Burns [Fri, 3 Jan 2014 20:29:05 +0000 (15:29 -0500)]
Store post ids during `wp post generate`.

Fixes --max_depth which was broken in fe2be3169b.
Closes #820.

10 years agoMerge pull request #941 from mboynes/network-theme-list
Cristi Burcă [Thu, 2 Jan 2014 23:59:28 +0000 (15:59 -0800)]
Merge pull request #941 from mboynes/network-theme-list

Adding site and network enabled columns to wp theme list

10 years agoMerging the network and site enabled columns for `wp theme list`
Matt Boynes [Sat, 28 Dec 2013 07:21:00 +0000 (02:21 -0500)]
Merging the network and site enabled columns for `wp theme list`

10 years agoclarify description for theme 'enable' and 'disable' subcommands
scribu [Sat, 28 Dec 2013 06:42:27 +0000 (08:42 +0200)]
clarify description for theme 'enable' and 'disable' subcommands

see #938

10 years agoMerge pull request #938 from mboynes/network-theme-commands
Cristi Burcă [Sat, 28 Dec 2013 06:41:09 +0000 (22:41 -0800)]
Merge pull request #938 from mboynes/network-theme-commands

Adding theme enable/disable commands for multisite installs. Closes #918.

10 years agoAdding site and network enabled columns to wp theme list
Matt Boynes [Sat, 28 Dec 2013 06:28:54 +0000 (01:28 -0500)]
Adding site and network enabled columns to wp theme list

10 years agoTesting that themes are actually being en/disabled
Matt Boynes [Sat, 28 Dec 2013 05:47:20 +0000 (00:47 -0500)]
Testing that themes are actually being en/disabled

10 years agoAdding feature tests for `theme enable` and `theme disable`
Matt Boynes [Fri, 27 Dec 2013 20:42:24 +0000 (15:42 -0500)]
Adding feature tests for `theme enable` and `theme disable`

10 years agoEnsuring that theme enable/disable commands are only ever run on multisite installs
Matt Boynes [Fri, 27 Dec 2013 20:41:44 +0000 (15:41 -0500)]
Ensuring that theme enable/disable commands are only ever run on multisite installs

10 years agoAdding theme enable/disable commands for multisite installs. Closes #918.
Matt Boynes [Fri, 27 Dec 2013 17:33:25 +0000 (12:33 -0500)]
Adding theme enable/disable commands for multisite installs. Closes #918.

These commands allow the user to enable or disable themes for a site in a multisite network, or network enable/disable themes.

10 years agoMerge pull request #891 from wp-cli/email-for-user-891
Cristi Burcă [Thu, 26 Dec 2013 21:13:25 +0000 (13:13 -0800)]
Merge pull request #891 from wp-cli/email-for-user-891

Support for using email address in our magical `<user>` argument

10 years agofix default for WP_VERSION; see #679
scribu [Thu, 26 Dec 2013 20:54:48 +0000 (22:54 +0200)]
fix default for WP_VERSION; see #679

10 years agoUse the fetcher instead
Daniel Bachhuber [Thu, 26 Dec 2013 20:45:58 +0000 (12:45 -0800)]
Use the fetcher instead

10 years agoApparently this helper function exists
Daniel Bachhuber [Thu, 26 Dec 2013 20:33:59 +0000 (12:33 -0800)]
Apparently this helper function exists

10 years agoSupport for using a user's email address in the `--user` flag.
Daniel Bachhuber [Thu, 26 Dec 2013 20:32:28 +0000 (12:32 -0800)]
Support for using a user's email address in the `--user` flag.

10 years agoPerform `is_numeric()` checks before `is_email()`, as the former will be faster.
Daniel Bachhuber [Thu, 26 Dec 2013 20:26:51 +0000 (12:26 -0800)]
Perform `is_numeric()` checks before `is_email()`, as the former will be faster.

10 years agoMerge pull request #935 from eliorivero/master
Cristi Burcă [Wed, 25 Dec 2013 22:58:20 +0000 (14:58 -0800)]
Merge pull request #935 from eliorivero/master

Fix wp plugin delete on Windows fixes #934

10 years agoFix wp plugin delete on Windows
eliorivero [Wed, 25 Dec 2013 20:32:27 +0000 (17:32 -0300)]
Fix wp plugin delete on Windows

10 years agointroduce is_windows() helper
scribu [Wed, 25 Dec 2013 17:13:50 +0000 (19:13 +0200)]
introduce is_windows() helper

10 years agoMerge pull request #932 from wp-cli/media-seq
Cristi Burcă [Mon, 23 Dec 2013 16:03:41 +0000 (08:03 -0800)]
Merge pull request #932 from wp-cli/media-seq

Make `wp media regenerate` work better with `seq`

10 years agomake 'No images found' message a warning
scribu [Mon, 23 Dec 2013 15:52:12 +0000 (17:52 +0200)]
make 'No images found' message a warning

10 years agodon't list all invalid attachment IDs
scribu [Mon, 23 Dec 2013 15:24:10 +0000 (17:24 +0200)]
don't list all invalid attachment IDs

it gets too long when using `seq`

10 years agomedia regenerate: add seq example
scribu [Mon, 23 Dec 2013 15:18:52 +0000 (17:18 +0200)]
media regenerate: add seq example

10 years agolet the user know that --user_login= doesn't work
scribu [Fri, 20 Dec 2013 23:59:49 +0000 (01:59 +0200)]
let the user know that --user_login= doesn't work

see #926

10 years agoMerge pull request #923 from rodrigoprimo/fix-site-url
Cristi Burcă [Fri, 20 Dec 2013 18:13:28 +0000 (10:13 -0800)]
Merge pull request #923 from rodrigoprimo/fix-site-url

Fix bug in wp site url

10 years agoexit with an error when 'wp site url' is called on a non-multisite install
Rodrigo Primo [Fri, 20 Dec 2013 10:38:48 +0000 (08:38 -0200)]
exit with an error when 'wp site url' is called on a non-multisite install

10 years agocore multisite-install: stop creating blogs.dir; it's deprecated
scribu [Fri, 20 Dec 2013 00:33:47 +0000 (02:33 +0200)]
core multisite-install: stop creating blogs.dir; it's deprecated

see http://core.trac.wordpress.org/ticket/19235

closes #927

10 years agodoc improvements for 'wp core config'
scribu [Thu, 19 Dec 2013 15:30:11 +0000 (17:30 +0200)]
doc improvements for 'wp core config'

10 years agoFix bug in wp site url
Rodrigo Primo [Thu, 19 Dec 2013 12:02:46 +0000 (10:02 -0200)]
Fix bug in wp site url

10 years agoMerge pull request #921 from rodrigoprimo/comment-delete
Cristi Burcă [Tue, 17 Dec 2013 20:27:49 +0000 (12:27 -0800)]
Merge pull request #921 from rodrigoprimo/comment-delete

Make 'wp comment delete' accept multiple IDs

10 years agomake 'wp comment delete' accept multiple IDs
Rodrigo Primo [Tue, 17 Dec 2013 19:47:50 +0000 (17:47 -0200)]
make 'wp comment delete' accept multiple IDs

10 years agoMerge pull request #915 from rodrigoprimo/post-url
Cristi Burcă [Tue, 17 Dec 2013 19:39:44 +0000 (11:39 -0800)]
Merge pull request #915 from rodrigoprimo/post-url

First pass at url subcommand for post, comment and site commands

10 years agoMerge pull request #917 from wp-cli/pagenow
Cristi Burcă [Tue, 17 Dec 2013 13:34:59 +0000 (05:34 -0800)]
Merge pull request #917 from wp-cli/pagenow

Error activating JetPack

10 years agoMerge pull request #919 from rodrigoprimo/comment-list-doc
Cristi Burcă [Tue, 17 Dec 2013 13:28:59 +0000 (05:28 -0800)]
Merge pull request #919 from rodrigoprimo/comment-list-doc

Fix wrong example in 'wp comment list' documentation

10 years agomake url subcommand accept multiple ids
Rodrigo Primo [Tue, 17 Dec 2013 13:20:52 +0000 (11:20 -0200)]
make url subcommand accept multiple ids

10 years agoFix wrong example in 'wp comment list' documentation
Rodrigo Primo [Tue, 17 Dec 2013 12:59:14 +0000 (10:59 -0200)]
Fix wrong example in 'wp comment list' documentation

10 years agofix issues around plugin activation by setting $GLOBALS['pagenow'] to
scribu [Tue, 17 Dec 2013 02:48:08 +0000 (04:48 +0200)]
fix issues around plugin activation by setting $GLOBALS['pagenow'] to
the expected value

closes #917

10 years agoreplace WP_CLI::print_value() with WP_CLI::line()
Rodrigo Primo [Mon, 16 Dec 2013 11:52:40 +0000 (09:52 -0200)]
replace WP_CLI::print_value() with WP_CLI::line()

10 years agoMerge pull request #913 from wp-cli/import-multiple
Cristi Burcă [Sat, 14 Dec 2013 02:08:22 +0000 (18:08 -0800)]
Merge pull request #913 from wp-cli/import-multiple

Make `wp import` accept multiple files

10 years agoadd start log
scribu [Sat, 14 Dec 2013 02:07:43 +0000 (04:07 +0200)]
add start log

10 years agoMerge pull request #525 from wp-cli/export-api
Cristi Burcă [Sat, 14 Dec 2013 01:59:19 +0000 (17:59 -0800)]
Merge pull request #525 from wp-cli/export-api

Use new export API

10 years agoadd oxymel to Phar file
scribu [Sat, 14 Dec 2013 01:42:42 +0000 (03:42 +0200)]
add oxymel to Phar file

10 years agoMerge branch 'master' into export-api
scribu [Sat, 14 Dec 2013 01:31:04 +0000 (03:31 +0200)]
Merge branch 'master' into export-api

10 years agorun regex once, using the PCRE_MULTILINE modifier; see #878
scribu [Sat, 14 Dec 2013 00:44:55 +0000 (02:44 +0200)]
run regex once, using the PCRE_MULTILINE modifier; see #878

10 years agoMerge pull request #878 from ziz/find-simple-subdirs
Cristi Burcă [Sat, 14 Dec 2013 00:38:59 +0000 (16:38 -0800)]
Merge pull request #878 from ziz/find-simple-subdirs

Look for WP installation in simple subdir configs

10 years agoMerge pull request #914 from rodrigoprimo/too-many-args
Cristi Burcă [Thu, 12 Dec 2013 23:01:48 +0000 (15:01 -0800)]
Merge pull request #914 from rodrigoprimo/too-many-args

Stop wp-cli execution when there are too many positional arguments

10 years agoadd new line to the end of files
Rodrigo Primo [Thu, 12 Dec 2013 22:57:54 +0000 (20:57 -0200)]
add new line to the end of files

10 years agomake 'wp import' accept multiple files
scribu [Thu, 12 Dec 2013 22:56:32 +0000 (00:56 +0200)]
make 'wp import' accept multiple files

also, remove unused support for different import formats

10 years agoadd new line at the end of file
Rodrigo Primo [Thu, 12 Dec 2013 22:54:42 +0000 (20:54 -0200)]
add new line at the end of file

10 years agoadd url subcommand to post, comment and site commands
Rodrigo Primo [Thu, 12 Dec 2013 21:52:21 +0000 (19:52 -0200)]
add url subcommand to post, comment and site commands

10 years agostop wp-cli execution when there are too many positional arguments
Rodrigo Primo [Thu, 12 Dec 2013 21:13:49 +0000 (19:13 -0200)]
stop wp-cli execution when there are too many positional arguments

10 years agoMerge pull request #912 from rodrigoprimo/undefined-variable
Cristi Burcă [Thu, 12 Dec 2013 15:02:02 +0000 (07:02 -0800)]
Merge pull request #912 from rodrigoprimo/undefined-variable

Fix undefined variable in 'wp post edit'

10 years agofix undefined variable
Rodrigo Primo [Thu, 12 Dec 2013 14:56:25 +0000 (12:56 -0200)]
fix undefined variable

10 years agoFunctional test for autodetection of subdir install
Justin de Vesine [Wed, 20 Nov 2013 21:38:23 +0000 (14:38 -0700)]
Functional test for autodetection of subdir install

10 years agoLook for WP installation in simple subdir configs
Justin de Vesine [Wed, 20 Nov 2013 21:21:59 +0000 (14:21 -0700)]
Look for WP installation in simple subdir configs

Teach WP-CLI about simple subdirectory installations of WP.

If the current directory contains `index.php` and index.php contains
a simple require of wp-blog-header.php (as the default index.php
and simple modifications of it for WP-in-a-subdirectory both do),
look for the WordPress installation based on that information.

10 years agoI hear copy-pasta is not very nutritious.
scribu [Tue, 3 Dec 2013 23:46:32 +0000 (01:46 +0200)]
I hear copy-pasta is not very nutritious.

10 years agodb: move parameter descriptions to subcommands
scribu [Tue, 3 Dec 2013 23:43:05 +0000 (01:43 +0200)]
db: move parameter descriptions to subcommands

10 years agoMerge pull request #898 from x-team/db-export-stdout
Cristi Burcă [Tue, 3 Dec 2013 23:35:35 +0000 (15:35 -0800)]
Merge pull request #898 from x-team/db-export-stdout

Allow wp-db-export to write to STDOUT if <file> is -

10 years agobump version to 0.14.0-alpha
scribu [Tue, 3 Dec 2013 23:02:46 +0000 (01:02 +0200)]
bump version to 0.14.0-alpha

10 years agoMerge pull request #906 from rodrigoprimo/invalid-parameters
Cristi Burcă [Tue, 3 Dec 2013 23:01:30 +0000 (15:01 -0800)]
Merge pull request #906 from rodrigoprimo/invalid-parameters

Stop wp-cli execution when there is an unknown parameter

10 years agofix test
Rodrigo Primo [Tue, 3 Dec 2013 11:48:27 +0000 (09:48 -0200)]
fix test

10 years agostop wp-cli execution when there is an unknown parameter
Rodrigo Primo [Mon, 2 Dec 2013 00:53:12 +0000 (22:53 -0200)]
stop wp-cli execution when there is an unknown parameter

10 years agoMerge pull request #903 from wp-cli/fix-behat-flags-error
Cristi Burcă [Sun, 1 Dec 2013 22:02:32 +0000 (14:02 -0800)]
Merge pull request #903 from wp-cli/fix-behat-flags-error

Simplify STDERR text check in flags.feature

10 years agoSimplify STDERR text check
jmslbam [Sun, 1 Dec 2013 21:48:31 +0000 (22:48 +0100)]
Simplify STDERR text check

10 years agoMerge pull request #901 from wp-cli/new-phpunit-phar-url
Cristi Burcă [Sun, 1 Dec 2013 10:04:11 +0000 (02:04 -0800)]
Merge pull request #901 from wp-cli/new-phpunit-phar-url

Use new PHPUnit url to curl from

10 years agoUse new PHPUnit url to curl from
jmslbam [Sun, 1 Dec 2013 00:55:35 +0000 (01:55 +0100)]
Use new PHPUnit url to curl from

10 years agoMake db-import accept - for STDIN
Weston Ruter [Sat, 30 Nov 2013 23:05:16 +0000 (15:05 -0800)]
Make db-import accept - for STDIN

Note there seems to be no difference with db-query for this.

10 years agobump version to 0.13.0 v0.13.0
scribu [Sat, 30 Nov 2013 13:14:44 +0000 (15:14 +0200)]
bump version to 0.13.0

10 years agochange default global config path to ~/.wp-cli/config.yml
scribu [Sat, 30 Nov 2013 12:38:28 +0000 (14:38 +0200)]
change default global config path to ~/.wp-cli/config.yml

context: #897

10 years agoupdate contributor list for 0.13 release
scribu [Sat, 30 Nov 2013 11:35:34 +0000 (13:35 +0200)]
update contributor list for 0.13 release

10 years agoMerge pull request #880 from rodrigoprimo/generate-post-content
Cristi Burcă [Sat, 30 Nov 2013 10:21:41 +0000 (02:21 -0800)]
Merge pull request #880 from rodrigoprimo/generate-post-content

implement 'wp post generate --post_content'

10 years agoSuppress success message when exporting to STDOUT
Weston Ruter [Sat, 30 Nov 2013 02:20:17 +0000 (18:20 -0800)]
Suppress success message when exporting to STDOUT

10 years agoUpdate wp-db-export phpdoc options
Weston Ruter [Sat, 30 Nov 2013 01:37:02 +0000 (17:37 -0800)]
Update wp-db-export phpdoc options

10 years agoAllow wp-db-export to write to STDOUT if <file> is -
Weston Ruter [Sat, 30 Nov 2013 01:08:26 +0000 (17:08 -0800)]
Allow wp-db-export to write to STDOUT if <file> is -

10 years ago--post_content as a flag that reads from STDIN
Rodrigo Primo [Sat, 30 Nov 2013 01:03:02 +0000 (23:03 -0200)]
--post_content as a flag that reads from STDIN

10 years agobump version to 0.13-RC
scribu [Fri, 29 Nov 2013 23:23:23 +0000 (01:23 +0200)]
bump version to 0.13-RC

10 years agoMerge pull request #882 from wp-cli/fix-wp-rewrite-structure
Cristi Burcă [Fri, 29 Nov 2013 23:21:46 +0000 (15:21 -0800)]
Merge pull request #882 from wp-cli/fix-wp-rewrite-structure

`wp rewrite structure` fails to properly set tag / category rewrite rules (2)

10 years agoclean up rewrite.feature
scribu [Fri, 29 Nov 2013 23:00:12 +0000 (01:00 +0200)]
clean up rewrite.feature

10 years agorename launch_wpcli() to launch_self() and make it work from inside a Phar file
scribu [Fri, 29 Nov 2013 22:57:24 +0000 (00:57 +0200)]
rename launch_wpcli() to launch_self() and make it work from inside a Phar file

10 years agoexclude Finder tests from Phar
scribu [Fri, 29 Nov 2013 22:30:07 +0000 (00:30 +0200)]
exclude Finder tests from Phar

10 years agoadd example of using sort with 'wp cap list'; closes #715
scribu [Fri, 29 Nov 2013 22:10:03 +0000 (00:10 +0200)]
add example of using sort with 'wp cap list'; closes #715

10 years agoMerge pull request #806 from wp-cli/fix-806
Cristi Burcă [Fri, 29 Nov 2013 22:00:09 +0000 (14:00 -0800)]
Merge pull request #806 from wp-cli/fix-806

Passwords incorrectly are getting HTML-escaped

10 years agodisable HTML escaping when rendering Mustache templates
scribu [Fri, 29 Nov 2013 21:00:26 +0000 (23:00 +0200)]
disable HTML escaping when rendering Mustache templates

10 years agomake validate_args() always return an array
scribu [Fri, 29 Nov 2013 21:40:00 +0000 (23:40 +0200)]
make validate_args() always return an array

see #883

10 years agoreplace do_action() with do_hook() again; see #883
scribu [Fri, 29 Nov 2013 21:31:04 +0000 (23:31 +0200)]
replace do_action() with do_hook() again; see #883

10 years agoinclude extra args when checking required associative parameters; see #883
scribu [Fri, 29 Nov 2013 21:26:38 +0000 (23:26 +0200)]
include extra args when checking required associative parameters; see #883

10 years agoMerge pull request #845 from wp-cli/hooks
Cristi Burcă [Fri, 29 Nov 2013 20:44:46 +0000 (12:44 -0800)]
Merge pull request #845 from wp-cli/hooks

WP_CLI::add_action() and WP_CLI::do_action() are confusing

10 years agoclarify inline docs for --format parameter; fixes #884
scribu [Fri, 29 Nov 2013 20:41:47 +0000 (22:41 +0200)]
clarify inline docs for --format parameter; fixes #884

10 years agoMerge pull request #850 from wp-cli/fix-850
Cristi Burcă [Thu, 28 Nov 2013 19:56:20 +0000 (11:56 -0800)]
Merge pull request #850 from wp-cli/fix-850

Misleading confirmation message when activating network-only plugins

10 years agocheck if plugin is network-only
scribu [Thu, 28 Nov 2013 19:42:44 +0000 (21:42 +0200)]
check if plugin is network-only

10 years agoadd test case for activating network-only plugins
scribu [Thu, 28 Nov 2013 19:31:41 +0000 (21:31 +0200)]
add test case for activating network-only plugins

10 years agobump version to 0.13-beta
scribu [Thu, 28 Nov 2013 19:19:09 +0000 (21:19 +0200)]
bump version to 0.13-beta

10 years agoMerge pull request #896 from leewillis77/user-role-fix
Cristi Burcă [Thu, 28 Nov 2013 16:54:05 +0000 (08:54 -0800)]
Merge pull request #896 from leewillis77/user-role-fix

Dont' ignore --role when creating users Edit

10 years agoFix spacing
Lee Willis [Thu, 28 Nov 2013 10:14:58 +0000 (10:14 +0000)]
Fix spacing

10 years agoAdd tests
Lee Willis [Wed, 27 Nov 2013 20:59:22 +0000 (20:59 +0000)]
Add tests

10 years agoMake validate_role() return a bool. Throw error at caller if required
Lee Willis [Wed, 27 Nov 2013 20:59:12 +0000 (20:59 +0000)]
Make validate_role() return a bool. Throw error at caller if required

10 years agoMerge pull request #886 from tiagohillebrandt/master
Cristi Burcă [Wed, 27 Nov 2013 17:09:42 +0000 (09:09 -0800)]
Merge pull request #886 from tiagohillebrandt/master

Implements the 'wp plugin deactivate --all' function

10 years agoDeactivate only active plugins.
Tiago Hillebrandt [Wed, 27 Nov 2013 15:53:12 +0000 (09:53 -0600)]
Deactivate only active plugins.

10 years agoUpdate functional test with email case
Daniel Bachhuber [Tue, 26 Nov 2013 21:26:41 +0000 (13:26 -0800)]
Update functional test with email case

10 years agoSupport for `user_email` as a third type of argument that can be passed to `<user>`
Daniel Bachhuber [Tue, 26 Nov 2013 21:24:37 +0000 (13:24 -0800)]
Support for `user_email` as a third type of argument that can be passed to `<user>`