{"id":3669,"date":"2020-08-19T16:03:37","date_gmt":"2020-08-19T22:03:37","guid":{"rendered":"http:\/\/bililite.com\/blog\/?p=3669"},"modified":"2020-08-19T16:03:37","modified_gmt":"2020-08-19T22:03:37","slug":"updating-wordpress-with-the-command-line","status":"publish","type":"post","link":"https:\/\/bililite.com\/blog\/2020\/08\/19\/updating-wordpress-with-the-command-line\/","title":{"rendered":"Updating WordPress with the command line"},"content":{"rendered":"<p>Nearlyfreespeech.net has been great, but their security settings make it hard to update WordPress automatically. I just discovered that WP now has a command line interface that works fine over SSH.<\/p>\n<pre><code>  wp core update\n  wp core update-dp\n<\/code><\/pre>\n<p>And done!. You can do <code>wp db export<\/code> to back up the database first.<br \/>\nAnd updating plugins (for those that can auto-update) is just <code>wp plugin update-all<\/code>.<\/p>\n<p>My biggest complaint with WP 5.5 is the new post editor. It's a new, simpler editor but all my <a href=\"\/blog\/2012\/08\/20\/custom-buttons-in-the-wordpress-html-editor\/\">custom buttons<\/a> are gone. I suppose I'll have to figure out how to restore the old editor.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nearlyfreespeech.net has been great, but their security settings make it hard to update WordPress automatically. I just discovered that WP now has a command line interface that works fine over SSH. wp core update wp core update-dp And done!. You can do wp db export to back up the database first. And updating plugins (for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,17],"tags":[],"_links":{"self":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/3669"}],"collection":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/comments?post=3669"}],"version-history":[{"count":3,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/3669\/revisions"}],"predecessor-version":[{"id":3672,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/3669\/revisions\/3672"}],"wp:attachment":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/media?parent=3669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/categories?post=3669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/tags?post=3669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}