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

WordPress Trac noreply at wordpress.org
Mon Apr 15 16:09:28 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:12 markoheijnen]:
 > Solution from kovshenin seems fine to me. New post formats can't be
 created by a developer and only by core. Also in your solution you maybe
 don't need to write CSS but you do need to write JS.
 I doubt that I can come up with a valid reason for supporting JS in this
 case but if it were me, I would keep all my default styles as it is. If
 there is any change which takes place due to a action, I would make it
 happen via JS and not by making it part of the default styling.

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


More information about the wp-trac mailing list