Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#53909 closed defect (bug) (duplicate)

User Level deprecated but still used?

Reported by: des79's profile des79 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.8
Component: Role/Capability Keywords:
Focuses: Cc:


Hi there,

I use custom_user_table on different wp installation that share the same user.
I read that wp_user_level has deprecated in WordPress 3.0 but that's not quite true

In my second wp installation I could not find the author select to change the author of a post so I debug code and I've found that in if param who is defined, meta_query use user_level to select all users with user_level != 0

In all my secondary wp installations I need to set {prefix}user_level for every single user so my question is: why user_level is set to deprecates if not so?

Am I wrong?

Thank you

Change History (2)

#1 @swissspidy
3 years ago

  • Component changed from General to Role/Capability
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there,

Thanks for opening this ticket and welcome to WordPress Trac!

user_level is indeed deprecated but unfortunately still used in that place. We're tracking this in #16841.

#2 @des79
3 years ago

Thank you @swissspidy, Sorry, I tried to search the forum before posting but this thread was not out to me.

I move there

Note: See TracTickets for help on using tickets.