Make WordPress Core


Ignore:
Timestamp:
11/11/2019 02:41:15 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of WP_Error.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r46684 r46696  
    9696 * @param string          $blogname   The new site name.
    9797 * @param string          $blog_title The new site title.
    98  * @param WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.
     98 * @param string|WP_Error $errors     A WP_Error object containing existing errors. Defaults to empty string.
    9999 */
    100100function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) {
     
    247247 * @param string          $user_name  The entered username.
    248248 * @param string          $user_email The entered email address.
    249  * @param WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.
     249 * @param string|WP_Error $errors     A WP_Error object containing existing errors. Defaults to empty string.
    250250 */
    251251function show_user_form( $user_name = '', $user_email = '', $errors = '' ) {
     
    305305 * @param string          $blogname   The new site name
    306306 * @param string          $blog_title The new site title.
    307  * @param WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.
     307 * @param string|WP_Error $errors     A WP_Error object containing existing errors. Defaults to empty string.
    308308 */
    309309function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) {
     
    554554 * @param string          $user_name  The username.
    555555 * @param string          $user_email The user's email.
    556  * @param WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.
     556 * @param string|WP_Error $errors     A WP_Error object containing existing errors. Defaults to empty string.
    557557 */
    558558function signup_user( $user_name = '', $user_email = '', $errors = '' ) {
     
    692692 * @param string          $blogname   The site name.
    693693 * @param string          $blog_title The site title.
    694  * @param WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.
     694 * @param string|WP_Error $errors     A WP_Error object containing existing errors. Defaults to empty string.
    695695 */
    696696function signup_blog( $user_name = '', $user_email = '', $blogname = '', $blog_title = '', $errors = '' ) {
Note: See TracChangeset for help on using the changeset viewer.