[wp-trac] [WordPress Trac] #11446: Show ellipsis after truncated filename in Media dialog

WordPress Trac noreply at wordpress.org
Thu May 9 00:00:40 UTC 2013


#11446: Show ellipsis after truncated filename in Media dialog
------------------------------------------------+------------------
 Reporter:  caesarsgrunt                        |       Owner:
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  3.6
Component:  General                             |     Version:  2.9
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch dev-feedback needs-codex  |
------------------------------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:13 bpetty]:
 > I've refreshed [attachment:11446.2.diff] as [attachment:11446.3.patch]
 with a minor change of using a named option array with `wp_html_excerpt()`
 for specifying extra optional settings. See
 [http://codex.wordpress.org/WordPress_Coding_Standards#Self-
 Explanatory_Flag_Values_for_Function_Arguments coding standards] for
 reason behind named option.

 A cleaner approach might be to make it a `$more` string , for consistency
 with `wp_trim_words()`: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
 includes/formatting.php#L2159

 This would be more flexible and also would allow us to avoid a named
 entity in XML context (an issue raised in [comment:ticket:8714:27]).

 See [attachment:11446.5.patch].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11446#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list