[wp-trac] [WordPress Trac] #24013: Hide "Add Media" for some post formats

WordPress Trac noreply at wordpress.org
Mon Apr 15 12:02:41 UTC 2013


#24013: Hide "Add Media" for some post formats
-------------------------------------+--------------------
 Reporter:  markjaquith              |       Owner:
     Type:  task (blessed)           |      Status:  new
 Priority:  high                     |   Milestone:  3.6
Component:  Post Formats             |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |
-------------------------------------+--------------------

Comment (by aniketpant):

 Replying to [comment:10 kovshenin]:
 > [attachment:24013.diff] hides the Add Media button for asides and status
 posts via wp-admin.css.
 To make a new addition to the list of elements which don't require "Add
 Media" buttons, you will need to write CSS. Whereas in a JS
 implementation, you can just add a new element to the already existing
 list.

 I wouldn't call it a very neat execution.

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


More information about the wp-trac mailing list