[wp-trac] [WordPress Trac] #18083: Enable Post formats in Quick Edit

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 19 17:49:51 UTC 2011


#18083: Enable Post formats in Quick Edit
------------------------------------+-----------------------
 Reporter:  mfields                 |       Owner:  duck_
     Type:  enhancement             |      Status:  reopened
 Priority:  normal                  |   Milestone:  3.3
Component:  Quick/Bulk Edit         |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------
Changes (by duck_):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The issue of what to do about posts with a format that is not supported by
 the current theme returns. See #15393.

 Fixing this has to be done in Javascript, like it's done for authors who
 no longer have edit caps [12046], for example:

 {{{
 if ( !$(':input[name="post_format"] option[value="' + $('.post_format',
 rowData).text() + '"]', editRow).val() ) {
     // post format not supported by current theme, so we need to add it
 back to the list of formats
     $(':input[name="post_format"]', editRow).append('<option value="' +
 $('.post_format', rowData).text() + '">' + $('.post_format',
 rowData).text() + '</option>');
 }
 }}}

 Unfortunately the display string isn't available so this would show
 "chat", for example, in the select box instead of "Chat".

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


More information about the wp-trac mailing list