Version 0.13 released

It’s been less than two months since the last major releaseMajor Release A set of releases or versions having the same major version number may be collectively referred to as “X.Y” -- for example version 5.2.x to refer to versions 5.2, 5.2.1, and all other versions in the 5.2. (five dot two dot) branch of that software. Major Releases often are the introduction of new major features and functionality. of WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/, and already we have a lot of goodies to show you.

Global config files

If you create a ~/.wp-cli/config.yml file, WP-CLI will read config values from that file, regardless of where you’re running it from.

You can change the path to the global config file by setting the WP_CLI_CONFIG_PATH environment variable. That means that you can also disable the global config, like so:

WP_CLI_CONFIG_PATH=/dev/null wp core install ...

The old --config global parameter is now deprecated.

Setting command parameter values in config files

What’s more, you can now define per-command config values. For example, if my config file looks like this:

core install:
    admin_user: billy
    admin_email: billy@example.com

… when I run wp core install, I don’t have to pass the --admin_user and --admin_email parameters again; they are read from the config file.

Improved pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party test templates

We have simplified the process of setting up and running plugin tests locally.

It fetches the test library from the new develop.svn.wordpress.org repository.

Also, the Travis build no longer depends on the GithubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ mirror of WordPress.

Improved downloads

Firstly, all HTTPSHTTPS HTTPS is an acronym for Hyper Text Transfer Protocol Secure. HTTPS is the secure version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted. This is especially helpful for protecting sensitive data like banking information. requests now use the more up-to-date SSLSSL Secure Socket Layer - Encryption from the server to the browser and back. Prevents prying eyes from seeing what you are sending between your browser and the server. CA bundle from the Requests library, which should fix most certificate warnings.

Secondly, the timeout for wp core download has been increased to 10 minutes.

Thirdly, to extract the tarball, wp core download now uses the PharData class, instead of the tar binary. This should make it work in more environments, such as MinGW.

Finally, plugin and theme downloads are now cached. So, the first time you run wp plugin install bbpress, it will save the zip locally. The second time you run it, it won’t download the zip again.

Other improvements

Additions:

  • added --all flag to wp plugin deactivate
  • added wp comment-meta command
  • added filtering to wp plugin list and wp theme list
  • added --match and --source parameters to wp rewrite list
  • added --post_content flag to wp post generate
  • added --skip-tests flag to wp scaffold plugin
  • added --skip=image_resize to wp import

Bug fixes:

  • wp core config no longer escapes HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites. characters in passwords
  • wp user create no longer ignores the --role parameter
  • wp rewrite structure correctly flushes rewrite rules
  • wp theme delete now refuses to delete the active theme
  • wp scaffold post-type now generates correct capitalization
  • wp plugin activate now works correctly for network-only plugins
  • wp shell now works correctly even if a plugin starts output buffering
  • wp core install --prompt now correctly handles the --url parameter

Misc:

  • removed wp core init-tests command (context)
  • renamed WP_CLI::add_action() to WP_CLI::add_hook() (context)

You can browse the full list of resolved issues on Github.

Contributors to this release: BoiteAWeb, ctayloroomphinc, danielbachhuber, dd32, francescolaffi, jonathanbardo, Kevinlearynet, leewillis77, nickdaugherty, QWp6t, rodrigoprimo, ryanduff, scribu, simonwheatley, tiagohillebrandt, tlovett1, wojsmol.