You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6058af0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/Core_Command.php
+78-1Lines changed: 78 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -903,6 +903,9 @@ private static function get_clean_basedomain() {
903
903
* [--extra]
904
904
* : Show extended version information.
905
905
*
906
+
* [--actual]
907
+
* : Show the actual database version from the database. This requires WordPress to be loaded and only works with --extra flag. Useful for checking the database version of a specific site in a multisite installation using --url.
908
+
*
906
909
* ## EXAMPLES
907
910
*
908
911
* # Display the WordPress version
@@ -916,12 +919,50 @@ private static function get_clean_basedomain() {
916
919
* TinyMCE version: 4.310 (4310-20160418)
917
920
* Package language: en_US
918
921
*
922
+
* # Display actual database version for a multisite subsite
923
+
* $ wp core version --extra --actual --url=example.com/subsite
0 commit comments