WordPress.org

Make WordPress Core

Ticket #49087: 49087.2.diff

File 49087.2.diff, 1.0 KB (added by garrett-eclipse, 5 months ago)

Updated patch to be clear 'true'/'false' are string literal and not boolean.

  • src/wp-includes/user.php

     
    15131513 *     @type string      $user_activation_key  Password reset key. Default empty.
    15141514 *     @type bool        $spam                 Multisite only. Whether the user is marked as spam.
    15151515 *                                             Default false.
    1516  *     @type string|bool $show_admin_bar_front Whether to display the Admin Bar for the user on the
    1517  *                                             site's front end. Default true.
     1516 *     @type string      $show_admin_bar_front Whether to display the Admin Bar for the user on the
     1517 *                                             site's front end. Accepts 'true' or 'false' as string literal not boolean.
     1518 *                                             Default 'true'.
    15181519 *     @type string      $role                 User's role.
    15191520 *     @type string      $locale               User's locale. Default empty.
    15201521 * }