Changes between Version 10 and Version 11 of WordPress


Ignore:
Timestamp:
05/02/13 10:13:23 (4 years ago)
Author:
chris
Comment:

wp section added

Legend:

Unmodified
Added
Removed
Modified
  • WordPress

    v10 v11  
    2323== wp == 
    2424 
    25 The server has the http://wp-cli.org/ script installed, this makes it very easy to maintain the site s and do things like installing, activating, deactivating and uninstalling plugins. 
     25The server has the http://wp-cli.org/ script installed, this makes it very easy to maintain the sites and do things like installing, activating, deactivating and uninstalling plugins and adding and removing user accounts. 
     26 
     27For example: 
     28 
     29{{{sudo -i 
     30su-user su-user recon 
     31cd ~/sites/default/ 
     32wp help 
     33Available commands: 
     34    wp backup  
     35    wp cache add|decr|delete|flush|get|incr|replace|set|type 
     36    wp cap add|list|remove 
     37    wp comment approve|count|create|delete|last|spam|status|trash|unapprove|unspam|untrash 
     38    wp core config|download|install|install-network|is-installed|update|update-db|version 
     39    wp db connect|create|drop|export|import|optimize|query|repair|reset 
     40    wp eval  
     41    wp eval-file  
     42    wp export  
     43    wp help  
     44    wp home  
     45    wp option add|delete|get|update 
     46    wp plugin activate|deactivate|delete|install|path|status|toggle|uninstall|update|update-all 
     47    wp post create|delete|edit|generate|list|update 
     48    wp post-meta add|delete|get|update 
     49    wp rewrite dump|flush|structure 
     50    wp scaffold _s|plugin|post-type|taxonomy 
     51    wp search-replace  
     52    wp shell  
     53    wp term create|delete|list|update 
     54    wp theme activate|delete|install|path|status|update|update-all 
     55    wp transient delete|get|set|type 
     56    wp user add-role|create|delete|generate|import-csv|list|remove-role|set-role|update 
     57    wp user-meta add|delete|get|update 
     58 
     59See 'wp help <command>' for more information on a specific command. 
     60 
     61Global parameters: 
     62    --config=<path>     Path to the wp-cli config file 
     63    --path=<path>       Path to the WordPress files 
     64    --url=<url>         Pretend request came from given URL 
     65    --user=<id|login>   Set the WordPress user 
     66    --require=<path>    Load given PHP file before running the command 
     67    --color/--no-color  Whether to colozire the output 
     68    --debug             Show all PHP errors 
     69    --quiet             Suppress informational messages 
     70}}}