Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#21427 closed defect (bug) (fixed)

Clarify user_nicename description

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: ryan's profile ryan
Milestone: 3.5 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description

wp_insert_user() PHPDocs describe user_nicename as "a nicer looking name for the user":
http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/user.php#L1224

We could clarify that it's supposed to be URL-friendly. This was brought up by rmccue (IRC logs).

Attachments (1)

21427.patch (775 bytes) - added by SergeyBiryukov 13 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
13 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [21374]:

Better phpdoc for user_nicename. Props SergeyBiryukov. fixes #21427

Note: See TracTickets for help on using tickets.