WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 3 years ago

#3752 closed defect (bug) (duplicate)

Long Page Titles in Page Parent

Reported by: andymatic Owned by:
Milestone: Priority: low
Severity: normal Version: 2.7
Component: UI Keywords:
Focuses: Cc:

Description

When using long titles for Pages and with many Pages in the system, the Page Parent drop-down (Manage/Write > Pages) goes off the edge of the browser window and the scroll-bar to scroll up and down to select the parent is also not visible to the user. Not sure if this can be fixed via CSS for the menu or having WP truncate the Title or having the Title broken up into multiple lines.

Attachments (2)

3752.diff (980 bytes) - added by rob1n 7 years ago.
Cut it off at 80 characters (modifiable by a filter) and add a ... to the end (in HTML entities).
3752.2.diff (1.0 KB) - added by rob1n 7 years ago.

Download all attachments as: .zip

Change History (24)

comment:1 rob1n7 years ago

  • Milestone changed from 2.0.eventually to 2.2
  • Owner changed from anonymous to rob1n
  • Status changed from new to assigned
  • Type changed from defect to enhancement

I don't know what can be done about this, though truncating the titles seems like a good option.

andymatic: How long is "long titles"?

comment:2 rob1n7 years ago

  • Keywords reporter-feedback 2nd-opinion dev-feedback added

rob1n7 years ago

Cut it off at 80 characters (modifiable by a filter) and add a ... to the end (in HTML entities).

comment:3 rob1n7 years ago

  • Keywords has-patch added; reporter-feedback 2nd-opinion removed

It's a bit hacky (to me, at least), and I have no idea if 80 characters is "long."

comment:4 ryan7 years ago

substr could mangle multi-byte character sets.

rob1n7 years ago

comment:5 rob1n7 years ago

I added in a check for mb_substr() and used it if it's there, but I don't know what we could do apart from that...

comment:6 foolswisdom7 years ago

  • Milestone changed from 2.2 to 2.3

comment:7 rob1n7 years ago

  • Status changed from assigned to new

comment:8 foolswisdom7 years ago

  • Milestone changed from 2.3 to 2.5 (future)

comment:9 rob1n6 years ago

  • Owner rob1n deleted

comment:10 mrmist5 years ago

  • Keywords needs-patch added; has-patch removed
  • Version set to 2.7

It has to be a really, really, really long name before this actually becomes a breaking issue (depending on screen resolution). With just a long name it's a UI annoyance, as you can get around it with careful screen positioning in IE (Opera seems to manage the boxes more sensibly).

Could do with a patch refresh.

comment:11 FFEMTcJ5 years ago

  • Milestone changed from 2.9 to 2.8

comment:12 ryan5 years ago

  • Component changed from Administration to UI

comment:13 janeforshort5 years ago

  • Milestone changed from 2.8 to Future Release

Punting due to impending release. Will reconsider in upcoming release cycle.

comment:14 Denis-de-Bernardy5 years ago

  • Keywords dev-feedback removed

comment:15 johnbillion4 years ago

  • Keywords has-patch added; needs-patch removed

comment:16 mrmist4 years ago

Still an issue at 3.0.

comment:17 johnbillion4 years ago

  • Keywords needs-refresh added; has-patch removed
  • Severity changed from minor to normal
  • Type changed from enhancement to defect (bug)
  • Version changed from 2.7 to 3.0

comment:18 mrmist4 years ago

  • Version changed from 3.0 to 2.7

Version should reflect when it was found, I believe.

comment:19 solarissmoke3 years ago

  • Keywords needs-refresh removed
  • Resolution set to duplicate
  • Status changed from new to closed

#17043 has a patch ready for commit

comment:20 scribu3 years ago

  • Milestone Future Release deleted

comment:21 jtsternberg3 years ago

  • Cc justin@… added
  • Keywords has-patch added
  • Resolution duplicate deleted
  • Status changed from closed to reopened
  • Version changed from 2.7 to 3.2.1

Why hasn't this been addressed? It only needs a simple css patch. see http://core.trac.wordpress.org/ticket/18168

comment:22 nacin3 years ago

  • Keywords has-patch removed
  • Resolution set to duplicate
  • Status changed from reopened to closed
  • Version changed from 3.2.1 to 2.7

No need to resurrect old tickets.

Also, the version field is for the earliest reported version that this bug affects.

Note: See TracTickets for help on using tickets.