OSDN Git Service
scribu [Sat, 1 Feb 2014 23:16:29 +0000 (01:16 +0200)]
bump version to 0.14.0-beta
scribu [Sat, 1 Feb 2014 22:45:07 +0000 (00:45 +0200)]
switch to wp-cli/php-cli-tools:dev-master
it contains https://github.com/wp-cli/php-cli-tools/commit/
6079f27981a5dd91be6ff9f19643a7278dcdfbbb
which fixes #947
scribu [Sat, 1 Feb 2014 21:52:19 +0000 (23:52 +0200)]
make local plugin lookup case-sensitive
the old lookup method returned false positives on case-insensitive
filesystems
(plugin basenames are treated as case-sensitive by WordPress)
fixes #958
scribu [Sat, 1 Feb 2014 20:58:21 +0000 (22:58 +0200)]
Merge remote-tracking branch 'boonebgorges/master'
closes #985
scribu [Sat, 1 Feb 2014 20:58:11 +0000 (22:58 +0200)]
add Behat test for #985
scribu [Sat, 1 Feb 2014 20:52:35 +0000 (22:52 +0200)]
fix notice in find_item_by_key()
Cristi Burcă [Fri, 31 Jan 2014 13:18:21 +0000 (05:18 -0800)]
Merge pull request #987 from wp-cli/remove-wp-cli-blog
Stop looking for deprecated wp-cli-blog file
scribu [Fri, 31 Jan 2014 12:57:51 +0000 (14:57 +0200)]
stop looking for deprecated wp-cli-blog file
rationale:
- it makes an extra access(2) syscall on each run
- it's been deprecated for many versions
Boone B Gorges [Fri, 31 Jan 2014 03:16:13 +0000 (22:16 -0500)]
Define $role variable in User_Command::generate()
This fixes role-setting when generating users.
Cristi Burcă [Fri, 31 Jan 2014 01:50:00 +0000 (17:50 -0800)]
Merge pull request #535 from wp-cli/value-from-stdin
Allow reading values from STDIN
scribu [Fri, 31 Jan 2014 01:32:54 +0000 (03:32 +0200)]
allow reading values from STDIN for `wp option` and 'wp *-meta` subcommands
Cristi Burcă [Fri, 31 Jan 2014 01:03:16 +0000 (17:03 -0800)]
Merge pull request #979 from wp-cli/fix-979
WP in subdir only works from the root dir
scribu [Fri, 31 Jan 2014 00:36:20 +0000 (02:36 +0200)]
continue searching after finding an index.php that doesn't contain the path to wp-blog-header.php
scribu [Fri, 31 Jan 2014 00:09:45 +0000 (02:09 +0200)]
allow WP-CLI to be invoked from subdirectories other than the subdir the WP files are in
scribu [Thu, 30 Jan 2014 23:57:29 +0000 (01:57 +0200)]
group all logic that deals with finding the WP files into a single method
scribu [Sun, 26 Jan 2014 11:48:34 +0000 (13:48 +0200)]
bump version to 0.14.0-alpha2
Cristi Burcă [Sun, 26 Jan 2014 11:47:20 +0000 (03:47 -0800)]
Merge pull request #973 from SpikesDivZero/no-root
Don't allow wp-cli as root without --allow_root
scribu [Sun, 26 Jan 2014 01:07:17 +0000 (03:07 +0200)]
fix --max_depth= again and add behat test
closes #820
see #943
Wesley Spikes [Sat, 25 Jan 2014 23:20:00 +0000 (15:20 -0800)]
Recommend sudo instead of su.
Cristi Burcă [Sat, 25 Jan 2014 15:23:05 +0000 (07:23 -0800)]
Merge pull request #980 from wp-cli/fix-929
Fix #929
scribu [Sat, 25 Jan 2014 15:10:33 +0000 (17:10 +0200)]
behat: allow correct grammar
scribu [Sat, 25 Jan 2014 15:05:47 +0000 (17:05 +0200)]
make autodetection of WP files in a subdirectory work in more cases
fixes #929
scribu [Sat, 25 Jan 2014 14:41:09 +0000 (16:41 +0200)]
extract replace_path_consts() utility
Wesley Spikes [Sat, 25 Jan 2014 00:52:40 +0000 (16:52 -0800)]
Minor typo fix.
Cristi Burcă [Fri, 24 Jan 2014 16:35:03 +0000 (08:35 -0800)]
Merge pull request #975 from bartaakos/master
Added locale option for wp core update
Barta Akos [Fri, 24 Jan 2014 15:39:47 +0000 (16:39 +0100)]
get_download_url
Barta Akos [Fri, 24 Jan 2014 09:06:50 +0000 (10:06 +0100)]
added locale information to core update log
Barta Akos [Fri, 24 Jan 2014 08:56:08 +0000 (09:56 +0100)]
added locale to core update
Cristi Burcă [Thu, 23 Jan 2014 20:08:56 +0000 (12:08 -0800)]
Merge pull request #972 from wp-cli/skip-plugins-v2
Introduce --skip-plugins flag
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. :)
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.
Wesley Spikes [Wed, 22 Jan 2014 18:38:35 +0000 (10:38 -0800)]
Rename --allow_root to --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
scribu [Tue, 21 Jan 2014 00:02:40 +0000 (02:02 +0200)]
first pass at --skip-plugins flag
scribu [Mon, 20 Jan 2014 23:05:57 +0000 (01:05 +0200)]
more renaming from _list() to list_()
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
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
Daniel Bachhuber [Mon, 20 Jan 2014 17:55:41 +0000 (09:55 -0800)]
According to core, `post_type` == `any` has to be a string
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`
Daniel Bachhuber [Mon, 20 Jan 2014 17:10:05 +0000 (09:10 -0800)]
Update `wp post list` examples
Daniel Bachhuber [Mon, 20 Jan 2014 17:03:51 +0000 (09:03 -0800)]
Copy and paste some command docs
Daniel Bachhuber [Mon, 20 Jan 2014 17:00:53 +0000 (09:00 -0800)]
Add another example to the description
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
Daniel Bachhuber [Mon, 20 Jan 2014 16:17:34 +0000 (08:17 -0800)]
Update tests to reflect
7433cdb
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
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
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.
scribu [Sun, 19 Jan 2014 13:25:23 +0000 (15:25 +0200)]
refactor long line in get_update_info()
scribu [Sat, 18 Jan 2014 16:22:11 +0000 (18:22 +0200)]
use get_check() in 'wp plugin path'
scribu [Sat, 18 Jan 2014 15:57:31 +0000 (17:57 +0200)]
readme: s/Installation/Installing/
just seems more friendly
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
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.
scribu [Tue, 14 Jan 2014 20:12:54 +0000 (22:12 +0200)]
slight improvement to behat step regex
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
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
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.
scribu [Tue, 14 Jan 2014 19:04:05 +0000 (21:04 +0200)]
make all the term subcommands accept the taxonomy as the first parameter
scribu [Tue, 14 Jan 2014 19:42:39 +0000 (21:42 +0200)]
improve hierarchy generation; see #821
scribu [Tue, 14 Jan 2014 18:59:16 +0000 (20:59 +0200)]
make 'wp term delete' accept multiple args
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.
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
Francesco Laffi [Mon, 13 Jan 2014 13:24:23 +0000 (14:24 +0100)]
core download caching tests
Francesco Laffi [Sun, 5 Jan 2014 18:55:58 +0000 (19:55 +0100)]
core caching on download
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
scribu [Sat, 11 Jan 2014 09:45:32 +0000 (11:45 +0200)]
remove reference from $data parameter; see #951
also, improve parameter descriptions
scribu [Sat, 11 Jan 2014 08:03:00 +0000 (10:03 +0200)]
manually wrap long line in search-replace description
scribu [Sat, 11 Jan 2014 07:52:44 +0000 (09:52 +0200)]
word-wrap command descriptions
scribu [Sat, 11 Jan 2014 07:47:19 +0000 (09:47 +0200)]
remove unnecessary requires; see #951
scribu [Sat, 11 Jan 2014 07:45:53 +0000 (09:45 +0200)]
Merge pull request #951 from CodeAwhile:recursive-search-replace
Will Anderson [Sat, 11 Jan 2014 07:01:50 +0000 (23:01 -0800)]
Move recursive search-replace function to Utils and add unit tests
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
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
scribu [Sat, 11 Jan 2014 03:32:51 +0000 (05:32 +0200)]
remove duplicated check
Will Anderson [Wed, 8 Jan 2014 10:16:18 +0000 (02:16 -0800)]
Update array handling for safer recursive replacements
Will Anderson [Wed, 8 Jan 2014 08:35:31 +0000 (00:35 -0800)]
Update documentation header for recursive_unserialize_replace
scribu [Tue, 7 Jan 2014 23:44:39 +0000 (01:44 +0200)]
Merge pull request #817 from x-team:mysqldump-extra-args
scribu [Mon, 6 Jan 2014 10:46:35 +0000 (12:46 +0200)]
site create: fix description for --title= parameter
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
scribu [Sun, 5 Jan 2014 06:19:32 +0000 (08:19 +0200)]
fix `wp core is-installed` expectations for singlesite
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
scribu [Sun, 5 Jan 2014 05:54:59 +0000 (07:54 +0200)]
Merge branch 'feature/import-authors-csv-doc' from cftp
Cristi Burcă [Sun, 5 Jan 2014 04:56:49 +0000 (20:56 -0800)]
Merge pull request #944 from johnbillion/whether
Correct spelling of whether
John Blackbourn [Sat, 4 Jan 2014 23:59:18 +0000 (23:59 +0000)]
Correct spelling of whether
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
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`.
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.
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
Matt Boynes [Sat, 28 Dec 2013 07:21:00 +0000 (02:21 -0500)]
Merging the network and site enabled columns for `wp theme list`
scribu [Sat, 28 Dec 2013 06:42:27 +0000 (08:42 +0200)]
clarify description for theme 'enable' and 'disable' subcommands
see #938
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.
Matt Boynes [Sat, 28 Dec 2013 06:28:54 +0000 (01:28 -0500)]
Adding site and network enabled columns to wp theme list
Matt Boynes [Sat, 28 Dec 2013 05:47:20 +0000 (00:47 -0500)]
Testing that themes are actually being en/disabled
Matt Boynes [Fri, 27 Dec 2013 20:42:24 +0000 (15:42 -0500)]
Adding feature tests for `theme enable` and `theme disable`
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
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.
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
scribu [Thu, 26 Dec 2013 20:54:48 +0000 (22:54 +0200)]
fix default for WP_VERSION; see #679
Daniel Bachhuber [Thu, 26 Dec 2013 20:45:58 +0000 (12:45 -0800)]
Use the fetcher instead
Daniel Bachhuber [Thu, 26 Dec 2013 20:33:59 +0000 (12:33 -0800)]
Apparently this helper function exists
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.