Make WordPress Core

Opened 20 years ago

Closed 15 years ago

#3752 closed defect (bug) (duplicate)

Long Page Titles in Page Parent

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

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 20 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 20 years ago.

Download all attachments as: .zip

Change History (24)

#1 @rob1n
20 years ago

  • Milestone 2.0.eventually → 2.2
  • Owner changed from anonymous to rob1n
  • Status new → assigned
  • Type defect → 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"?

#2 @rob1n
20 years ago

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

@rob1n
20 years ago

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

#3 @rob1n
20 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."

#4 @ryan
20 years ago

substr could mangle multi-byte character sets.

@rob1n
20 years ago

#5 @rob1n
20 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...

#6 @foolswisdom
20 years ago

  • Milestone 2.2 → 2.3

#7 @rob1n
19 years ago

  • Status assigned → new

#8 @foolswisdom
19 years ago

  • Milestone 2.3 → 2.5 (future)

#9 @rob1n
19 years ago

  • Owner rob1n removed

#10 @mrmist
18 years ago

  • Keywords needs-patch added; has-patch removed
  • Version → 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.

#11 @FFEMTcJ
18 years ago

  • Milestone 2.9 → 2.8

#12 @ryan
17 years ago

  • Component Administration → UI

#13 @janeforshort
17 years ago

  • Milestone 2.8 → Future Release

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

#14 @Denis-de-Bernardy
17 years ago

  • Keywords dev-feedback removed

#15 @johnbillion
16 years ago

  • Keywords has-patch added; needs-patch removed

#16 @mrmist
16 years ago

Still an issue at 3.0.

#17 @johnbillion
16 years ago

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

#18 @mrmist
16 years ago

  • Version 3.0 → 2.7

Version should reflect when it was found, I believe.

#19 @solarissmoke
16 years ago

  • Keywords needs-refresh removed
  • Resolution → duplicate
  • Status new → closed

#17043 has a patch ready for commit

#20 @scribu
16 years ago

  • Milestone Future Release

#21 @jtsternberg
15 years ago

  • Cc justin@… added
  • Keywords has-patch added
  • Resolution duplicate
  • Status closed → reopened
  • Version 2.7 → 3.2.1

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

#22 @nacin
15 years ago

  • Keywords has-patch removed
  • Resolution → duplicate
  • Status reopened → closed
  • Version 3.2.1 → 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.