Ticket #2528 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

cannot access admin pages (issue with capabilities.php)

Reported by: Kafkaesqui Assigned to: anonymous
Priority: high Milestone:
Component: Administration Version: 2.0.1
Severity: blocker Keywords: admin user role capabilities table_prefix
Cc:

Description

Since changeset 3603 I'm unable to access the admin pages with any account. Tracked the issue down to the swap of $table_prefix with $wpbd->table_prefix in capabilities.php.

Problem is the $wpdb object does not contain a table_prefix, it does however have a {{{prefix}. This affects the other changes which occured in changeset 3603.

Attachments

wpdb-prefix.diff (6.9 kB) - added by Kafkaesqui on 03/03/06 19:57:35.
Change $wpdb->table_prefix calls to $wpdb->prefix

Change History

03/03/06 19:34:07 changed by Kafkaesqui

Formatting issue, second para should be:

   Problem is the $wpdb object does not contain a 'table_prefix', it 
   does however have a 'prefix'. This affects the other changes which
   occured in changeset 3603.

03/03/06 19:57:35 changed by Kafkaesqui

  • attachment wpdb-prefix.diff added.

Change $wpdb->table_prefix calls to $wpdb->prefix

03/03/06 20:36:44 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3604]) prefix not table_prefix. Props Kafkaesqui. fixes #2528