Skip to main content

WordPress: Notes

WordPress Logo

One of the most popular CMS (Content Management Syste).

Keep updating

>>> On August 8, 2023, WordPress 6.3 "Lionel" was released to the public.

WP-CLI

wp cli version
wp cli update


Check current WP-CLI version and update

bitnami@ip-172-26-10-156:~$ sudo wp cli version
WP-CLI 2.6.0
bitnami@ip-172-26-10-156:~$ sudo wp cli update
You have version 2.6.0. Would you like to update to 2.8.1? [y/n] y
Downloading from https://github.com/wp-cli/wp-cli/releases/download/v2.8.1/wp-cli-2.8.1.phar...
md5 hash verified: a0cf91756fd46903c83c436ec1d462eb
New version works. Proceeding to replace.
Success: Updated WP-CLI to 2.8.1.
bitnami@ip-172-26-10-156:~$ sudo wp cli version
WP-CLI 2.8.1
bitnami@ip-172-26-10-156:~$

Popular posts from this blog

Windows 10 1903 Critical Error: Your Start menu isn't working

Windows 10 1903 Critical Error: Your Start menu isn't working. We'll try to fix it the next time you sign in.

[PowerShell]: Powershell script uploading backup databases to ftp server

Author:  Enrique Puig Nouselles http://gallery.technet.microsoft.com/scriptcenter/80647f66-139c-40a4-bb7a-04a2d73d423c Nhu cầu - Học sử dụng Powershell và áp dụng vào thực tế - Server chạy MS SQL được backup mỗi ngày và lưu các file backup ở folder mặc định "C:/Program Files/Microsoft SQL Server/MSSQL11.MSSQLSERVER/MSSQL/Backup" - Upload các file database backup về một ftp server khác để lưu "offsite" # Begin script # Thanks to: Enrique Puig Nouselles http://gallery.technet.microsoft.com/scriptcenter/80647f66-139c-40a4-bb7a-04a2d73d423c # Khai báo folder chứa các file backup database, dưới đây là folder backup mặc định của MS SQL 2012 $Dir="C:/Program Files/Microsoft SQL Server/MSSQL11.MSSQLSERVER/MSSQL/Backup"   # ftp server $ftp = "ftp://IPAddres/subfolder/subsubfolder" $user = "usernamehere" $pass = "passwordhere" # DO NOT use $(Get-Date), use $d variable instead, otherwise SQL Agent gets error "The...