Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Core_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,9 @@ private static function get_clean_basedomain() {
* [--extra]
* : Show extended version information.
*
* Note: to retrieve the database revision for an individual subsite in a Multisite installation,
* use `wp option get db_version --url=<subsite>`. See also `wp core check-update-db`.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with the rest of the file and to adhere to WordPress PHPDoc standards, the extra space after the asterisk should be removed. Also, capitalizing 'To' at the beginning of the sentence improves readability.

	 * Note: To retrieve the database revision for an individual subsite in a Multisite installation,
	 * use `wp option get db_version --url=<subsite>`. See also `wp core check-update-db`.
References
  1. WordPress PHPDoc standards require a single space after the asterisk on each line of a DocBlock. (link)

Comment thread
swissspidy marked this conversation as resolved.
Outdated
*
* ## EXAMPLES
*
* # Display the WordPress version
Expand Down
Loading