WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#18342 closed defect (bug) (invalid)

$user->id (lowercase) instead of $user->ID (uppercase)

Reported by: bokan Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: General Keywords:
Focuses: Cc:

Description

Some part of the code contains $user->id (lowercase) instead of $user->ID (uppercase).

There are 4 files concerned, a simple sitewide search show them. For example wp-login line 589.

I don't understand how this could be.

Change History (2)

comment:1 azaozz3 years ago

As far as I remember it was done for back-compat, probably still needed for some plugins.

comment:2 ocean903 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Fixed in trunk, see #15458.

Last edited 3 years ago by ocean90 (previous) (diff)
Note: See TracTickets for help on using tickets.