Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#1202 closed defect (bug) (fixed)

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

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

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 21 years ago.

Download all attachments as: .zip

Change History (5)

#1 @MC_incubus
21 years ago

  • PatchNo

#2 @MC_incubus
21 years ago

  • Patch NoYes

#3 @sehh
21 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
21 years ago

  • fixed_in_version1.5.1
  • Owner changed from anonymous to rboren
  • Resolution 1020
  • Status newclosed

@MC_incubus
21 years ago

Note: See TracTickets for help on using tickets.