Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#1202 closed defect (bug) (fixed)

Level 0 users see Register/Login instead of Admin/Logout

Reported by: mc_incubus's profile MC_incubus Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: minor Version: 1.5
Component: General Keywords:
Focuses: Cc:

Description

wp_loginout() and wp_register() use this to determine "logged in" status:

if (0 == $user_level) :

Thus, level 0 users aren't seen as being logged in.

Attachments (1)

bug1202.patch (1.3 KB) - added by MC_incubus 19 years ago.

Download all attachments as: .zip

Change History (5)

#1 @MC_incubus
20 years ago

  • Patch set to No

#2 @MC_incubus
20 years ago

  • Patch changed from No to Yes

#3 @sehh
20 years ago

Uploaded patch for bug 1202.

This is based on the latest wp-includes/template-functions-general.php

Just put it in the wp-includes/ directory and apply with: patch <bug1202.patch

It would also be nice if "Site Admin" was changed to something like "Profile"
for low level users, since site administration isn't exactly what a low level user would be able to do in there. Thought that would require a few other changes as well, so we'll leave it for another time.

#4 @ryan
20 years ago

  • fixed_in_version set to 1.5.1
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 20
  • Status changed from new to closed

@MC_incubus
19 years ago

Note: See TracTickets for help on using tickets.