WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 6 months ago

#7730 closed enhancement (duplicate)

The User Edit screen could have more classes on the HTML

Reported by: simonwheatley Owned by:
Priority: normal Milestone:
Component: UI Version: 2.6.1
Severity: normal Keywords: has-patch gsoc
Cc: wojtek.szkutnik@…

Description

Given a more liberal sprinkling of classes through the WP admin interface, plugins could highlight different areas, hide unwanted form fields easily, etc. Currently you have to use something like jQuery in order to find and address fields that you want to hide.

The attached patch adds lots of semantically appropriate classes to the user edit screen, so plugin authors of the future can use CSS rather than resorting to Javascript. The patch is created against 2.6.2.

Attachments (2)

user-edit-classes.diff (5.1 KB) - added by simonwheatley 5 years ago.
Patch to add classes to the user edit screen
7730.diff (5.7 KB) - added by wojtek.szkutnik 3 years ago.

Download all attachments as: .zip

Change History (7)

simonwheatley5 years ago

Patch to add classes to the user edit screen

comment:1 janeforshort5 years ago

  • Milestone changed from 2.7 to 2.9

comment:2 Denis-de-Bernardy4 years ago

  • Component changed from General to UI
  • Owner anonymous deleted

comment:3 Denis-de-Bernardy4 years ago

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from 2.9 to Future Release

wojtek.szkutnik3 years ago

comment:4 wojtek.szkutnik3 years ago

  • Cc wojtek.szkutnik@… added
  • Keywords has-patch gsoc added; needs-patch removed

comment:5 helen6 months ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Marking as a duplicate of #12295, which has been milestoned and has some more discussion.

Note: See TracTickets for help on using tickets.