Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#22973 closed enhancement (duplicate)

Add meaningful class names to tables on the user profile edit page

Reported by: keenbeen's profile keenbeen Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Users have been, since time immemmorial, using various hacks to hide unnecessary profile fields from the profile edit page. This usually involves unreliable methods such as hiding a table row with jQuery, by counting its index.

Different blocks on the profile edit page are already grouped into tables. Simply adding meaningfull class names to the tables would give reliable and direct access to them via CSS and Javascript, and save a lot of pain to those who need to selectively hide certain fields.

Attachments (1)

user-edit.diff (1.7 KB) - added by keenbeen 12 years ago.
Patch to wp-admin/user-edit.php

Download all attachments as: .zip

Change History (3)

@keenbeen
12 years ago

Patch to wp-admin/user-edit.php

#1 @keenbeen
12 years ago

  • Summary changed from Add meaningful classnames to tables on the user profile edit page to Add meaningful class names to tables on the user profile edit page

#2 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version changed from trunk to 3.5

Duplicate of #12295.

Note: See TracTickets for help on using tickets.