OSDN Git Service

wvm/wvm.git
10 years agoMinor typo fix.
Wesley Spikes [Sat, 25 Jan 2014 00:52:40 +0000 (16:52 -0800)]
Minor typo fix.

10 years agoDon't show --allow-root in help.
Wesley Spikes [Thu, 23 Jan 2014 08:18:51 +0000 (00:18 -0800)]
Don't show --allow-root in help.

It'll still be there, it just won't show up in the man pages anymore,
since the "NOT RECCOMENDED" is pretty ugly. :)

10 years agoAdjust spec for --allow-root
Wesley Spikes [Thu, 23 Jan 2014 05:57:19 +0000 (21:57 -0800)]
Adjust spec for --allow-root

I know file=false is the default, but were that to change at any point,
having this be true could potentially compromise the system's security
if wp-cli was run as root.

10 years agoRename --allow_root to --allow-root
Wesley Spikes [Wed, 22 Jan 2014 18:38:35 +0000 (10:38 -0800)]
Rename --allow_root to --allow-root

10 years agoDon't allow wp-cli as root without --allow_root
Wesley Spikes [Tue, 21 Jan 2014 05:55:38 +0000 (21:55 -0800)]
Don't allow wp-cli as root without --allow_root

10 years agomore renaming from _list() to list_()
scribu [Mon, 20 Jan 2014 23:05:57 +0000 (01:05 +0200)]
more renaming from _list() to list_()

10 years agorename _list() to list_() to avoid confusing it with a non-public method
scribu [Mon, 20 Jan 2014 23:00:44 +0000 (01:00 +0200)]
rename _list() to list_() to avoid confusing it with a non-public method

10 years agoMerge pull request #971 from wp-cli/multiple-post-type
Cristi Burcă [Mon, 20 Jan 2014 18:40:40 +0000 (10:40 -0800)]
Merge pull request #971 from wp-cli/multiple-post-type

`post_type` should also support multiple arguments

10 years agoAccording to core, `post_type` == `any` has to be a string
Daniel Bachhuber [Mon, 20 Jan 2014 17:55:41 +0000 (09:55 -0800)]
According to core, `post_type` == `any` has to be a string

10 years agoMerge pull request #970 from wp-cli/support-user-login-970
Cristi Burcă [Mon, 20 Jan 2014 17:15:18 +0000 (09:15 -0800)]
Merge pull request #970 from wp-cli/support-user-login-970

Support `user_login` as first arg for `wp user-meta`

10 years agoUpdate `wp post list` examples
Daniel Bachhuber [Mon, 20 Jan 2014 17:10:05 +0000 (09:10 -0800)]
Update `wp post list` examples

10 years agoCopy and paste some command docs
Daniel Bachhuber [Mon, 20 Jan 2014 17:03:51 +0000 (09:03 -0800)]
Copy and paste some command docs

10 years agoAdd another example to the description
Daniel Bachhuber [Mon, 20 Jan 2014 17:00:53 +0000 (09:00 -0800)]
Add another example to the description

10 years ago`post_type` is a special key that should also support multiple arguments
Daniel Bachhuber [Mon, 20 Jan 2014 16:49:43 +0000 (08:49 -0800)]
`post_type` is a special key that should also support multiple arguments

10 years agoUpdate tests to reflect 7433cdb
Daniel Bachhuber [Mon, 20 Jan 2014 16:17:34 +0000 (08:17 -0800)]
Update tests to reflect 7433cdb

10 years agoUpdate `wp user-meta` to support `user_login` as a first positional argument
Daniel Bachhuber [Mon, 20 Jan 2014 16:17:02 +0000 (08:17 -0800)]
Update `wp user-meta` to support `user_login` as a first positional argument

10 years agowp plugin get: remove unreliable 'update' field
scribu [Sun, 19 Jan 2014 17:22:47 +0000 (19:22 +0200)]
wp plugin get: remove unreliable 'update' field

we'd have to call wp_update_plugins() on each run, like we do for `wp
plugin status`

also, `wp theme get` doesn't have it

10 years agoRevert "slight improvement to behat step regex"
scribu [Sun, 19 Jan 2014 14:07:17 +0000 (16:07 +0200)]
Revert "slight improvement to behat step regex"

The new regex didn't catch all cases.

This reverts commit ae175ac8d88c61b9e8132f07ca2b200b2437a413.

10 years agorefactor long line in get_update_info()
scribu [Sun, 19 Jan 2014 13:25:23 +0000 (15:25 +0200)]
refactor long line in get_update_info()

10 years agouse get_check() in 'wp plugin path'
scribu [Sat, 18 Jan 2014 16:22:11 +0000 (18:22 +0200)]
use get_check() in 'wp plugin path'

10 years agoreadme: s/Installation/Installing/
scribu [Sat, 18 Jan 2014 15:57:31 +0000 (17:57 +0200)]
readme: s/Installation/Installing/

just seems more friendly

10 years agoMerge pull request #965 from nb/update-latest-stable-in-travis-ci
Cristi Burcă [Sat, 18 Jan 2014 09:11:50 +0000 (01:11 -0800)]
Merge pull request #965 from nb/update-latest-stable-in-travis-ci

Update WordPress stable in Travis CI template

10 years agoUpdate WordPress stable in Travis CI template
Nikolay Bachiyski [Sat, 18 Jan 2014 04:13:11 +0000 (18:13 -1000)]
Update WordPress stable in Travis CI template

The 3.6 times are gone.

10 years agoslight improvement to behat step regex
scribu [Tue, 14 Jan 2014 20:12:54 +0000 (22:12 +0200)]
slight improvement to behat step regex

10 years agoMerge pull request #961 from wp-cli/import-users-with-id-column
Cristi Burcă [Wed, 15 Jan 2014 08:11:27 +0000 (00:11 -0800)]
Merge pull request #961 from wp-cli/import-users-with-id-column

wp user import-csv users.csv with ID column

10 years agoMerge pull request #962 from wp-cli/term-arg-order
Cristi Burcă [Tue, 14 Jan 2014 21:10:28 +0000 (13:10 -0800)]
Merge pull request #962 from wp-cli/term-arg-order

Make the taxonomy the first parameter for all term subcommands

10 years agoUnset possible ID column to prevent unwanted behaviour
jmslbam [Tue, 14 Jan 2014 20:53:29 +0000 (21:53 +0100)]
Unset possible ID column to prevent unwanted behaviour

If the ID column isn't unset, then `wp_insert_user` will return this ID while not having created a new user. Therefor passing the `is_wp_error` check and showing the success message without actually having created a new user.

10 years agomake all the term subcommands accept the taxonomy as the first parameter
scribu [Tue, 14 Jan 2014 19:04:05 +0000 (21:04 +0200)]
make all the term subcommands accept the taxonomy as the first parameter

10 years agoimprove hierarchy generation; see #821
scribu [Tue, 14 Jan 2014 19:42:39 +0000 (21:42 +0200)]
improve hierarchy generation; see #821

10 years agomake 'wp term delete' accept multiple args
scribu [Tue, 14 Jan 2014 18:59:16 +0000 (20:59 +0200)]
make 'wp term delete' accept multiple args

10 years agoMerge pull request #821 from Japh/master
Cristi Burcă [Tue, 14 Jan 2014 18:43:48 +0000 (10:43 -0800)]
Merge pull request #821 from Japh/master

Implements wp term generate, Fixes #389.

10 years agoMerge pull request #957 from francescolaffi/pr-cache-core
Cristi Burcă [Tue, 14 Jan 2014 18:36:41 +0000 (10:36 -0800)]
Merge pull request #957 from francescolaffi/pr-cache-core

Core packages caching

10 years agocore download caching tests
Francesco Laffi [Mon, 13 Jan 2014 13:24:23 +0000 (14:24 +0100)]
core download caching tests

10 years agocore caching on download
Francesco Laffi [Sun, 5 Jan 2014 18:55:58 +0000 (19:55 +0100)]
core caching on download

10 years agoconvert recursive_unserialize_replace() function to a class
scribu [Sat, 11 Jan 2014 10:05:53 +0000 (12:05 +0200)]
convert recursive_unserialize_replace() function to a class

benefits:

- avoids exposing intermediate recursion variables, such as
  $recursion_level
- clearer which elements are constant and which change

see #951

10 years agoremove reference from $data parameter; see #951
scribu [Sat, 11 Jan 2014 09:45:32 +0000 (11:45 +0200)]
remove reference from $data parameter; see #951

also, improve parameter descriptions

10 years agomanually wrap long line in search-replace description
scribu [Sat, 11 Jan 2014 08:03:00 +0000 (10:03 +0200)]
manually wrap long line in search-replace description

10 years agoword-wrap command descriptions
scribu [Sat, 11 Jan 2014 07:52:44 +0000 (09:52 +0200)]
word-wrap command descriptions

10 years agoremove unnecessary requires; see #951
scribu [Sat, 11 Jan 2014 07:47:19 +0000 (09:47 +0200)]
remove unnecessary requires; see #951

10 years agoMerge pull request #951 from CodeAwhile:recursive-search-replace
scribu [Sat, 11 Jan 2014 07:45:53 +0000 (09:45 +0200)]
Merge pull request #951 from CodeAwhile:recursive-search-replace

10 years agoMove recursive search-replace function to Utils and add unit tests
Will Anderson [Sat, 11 Jan 2014 07:01:50 +0000 (23:01 -0800)]
Move recursive search-replace function to Utils and add unit tests

10 years agoMerge pull request #955 from wp-cli/fix-955
Cristi Burcă [Sat, 11 Jan 2014 04:13:18 +0000 (20:13 -0800)]
Merge pull request #955 from wp-cli/fix-955

`wp core download` picks up outer installs

10 years agoDon't look for WP files upward when running `wp core download`.
scribu [Sat, 11 Jan 2014 03:50:16 +0000 (05:50 +0200)]
Don't look for WP files upward when running `wp core download`.

If you run `wp core download` in an empty directory, getting an "Error:
WordPress files seem to already be present here." message is quite
confusing.

see #955

10 years agoremove duplicated check
scribu [Sat, 11 Jan 2014 03:32:51 +0000 (05:32 +0200)]
remove duplicated check

10 years agoUpdate array handling for safer recursive replacements
Will Anderson [Wed, 8 Jan 2014 10:16:18 +0000 (02:16 -0800)]
Update array handling for safer recursive replacements

10 years agoUpdate documentation header for recursive_unserialize_replace
Will Anderson [Wed, 8 Jan 2014 08:35:31 +0000 (00:35 -0800)]
Update documentation header for recursive_unserialize_replace

10 years agoMerge pull request #817 from x-team:mysqldump-extra-args
scribu [Tue, 7 Jan 2014 23:44:39 +0000 (01:44 +0200)]
Merge pull request #817 from x-team:mysqldump-extra-args

10 years agosite create: fix description for --title= parameter
scribu [Mon, 6 Jan 2014 10:46:35 +0000 (12:46 +0200)]
site create: fix description for --title= parameter

10 years agoMerge pull request #909 from wp-cli/fix-909
Cristi Burcă [Sun, 5 Jan 2014 06:35:36 +0000 (22:35 -0800)]
Merge pull request #909 from wp-cli/fix-909

`wp core is-installed` breaks on multisite

10 years agofix `wp core is-installed` expectations for singlesite
scribu [Sun, 5 Jan 2014 06:19:32 +0000 (08:19 +0200)]
fix `wp core is-installed` expectations for singlesite

10 years agomake `wp core is-installed` exit with 1 when run against a multisite
scribu [Tue, 17 Dec 2013 23:23:39 +0000 (01:23 +0200)]
make `wp core is-installed` exit with 1 when run against a multisite
install with no database

10 years agoMerge branch 'feature/import-authors-csv-doc' from cftp
scribu [Sun, 5 Jan 2014 05:54:59 +0000 (07:54 +0200)]
Merge branch 'feature/import-authors-csv-doc' from cftp

10 years agoMerge pull request #944 from johnbillion/whether
Cristi Burcă [Sun, 5 Jan 2014 04:56:49 +0000 (20:56 -0800)]
Merge pull request #944 from johnbillion/whether

Correct spelling of whether

10 years agoCorrect spelling of whether
John Blackbourn [Sat, 4 Jan 2014 23:59:18 +0000 (23:59 +0000)]
Correct spelling of whether

10 years agoAdd a --recurse-objects flag
Will Anderson [Sat, 4 Jan 2014 08:57:36 +0000 (00:57 -0800)]
Add a --recurse-objects flag

Including --recurse-objects enables recursive find/replace into objects.

This change also detects cycles in objects and arrays. If a cycle is
detected, or the XDebug max nesting level is reached, the function stops
recursing

10 years agoMerge pull request #943 from gradyetc/master
Cristi Burcă [Fri, 3 Jan 2014 21:49:20 +0000 (13:49 -0800)]
Merge pull request #943 from gradyetc/master

Store post ids during `wp post generate`.

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 agoAdd better docs around authors mapping CSV.
Simon Wheatley [Fri, 20 Dec 2013 10:53:49 +0000 (10:53 +0000)]
Add better docs around authors mapping CSV.

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