mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Docs: Various docblock improvements.
See #54729 git-svn-id: https://develop.svn.wordpress.org/trunk@53299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -103,7 +103,7 @@ class WP_Error {
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string|int $code Optional. Retrieve messages matching code, if exists.
|
||||
* @return array Error strings on success, or empty array if there are none.
|
||||
* @return string[] Error strings on success, or empty array if there are none.
|
||||
*/
|
||||
public function get_error_messages( $code = '' ) {
|
||||
// Return all messages if no code specified.
|
||||
|
||||
Reference in New Issue
Block a user