[wp-trac] [WordPress Trac] #16795: Add `wp-image` to images in posts

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 8 19:39:35 UTC 2011


#16795: Add `wp-image` to images in posts
-------------------------+------------------------------
 Reporter:  cyberskull   |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  trivial      |  Resolution:  wontfix
 Keywords:               |
-------------------------+------------------------------
Changes (by hakre):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Hi Cyberskull,

 I can understand that you might want to have that to more easy create your
 theme or modify your homepage. However the feature you request is rather
 trivial to do, I've added a plugin that you can use (tested with PHP
 5.3.5) that does the job.

 Additionally there is a patch that modifies media.php with what you asked
 for.

 If in future you have a problem with your site and you do not know how to
 do something, please first talk with other worpdress users, e.g. in the
 [http://wordpress.org/support/ support forums] or sites like
 [http://wordpress.stackexchange.com/ wordpress answers]. It's not that I
 want to prevent you from opening a ticket but it's not always clear
 upfront if a certain issue demands a ticket or can be solved individually
 with a plugin and in case there is more demand over time could become part
 of wordpress.

 I'm sure that you would have found a solution for your problem on the
 bespoken sites pretty quickly.

 So please do not feel offended if I close now the ticket. If you think
 it's really a bummer, you can consider re-opening it. But for now I would
 rate this as plugin-material.

 Additionally: This is not a fix, but as long as CSS 3 is an option for
 you, you can make use of [http://www.w3.org/TR/css3-selectors/#attribute-
 substrings attribute susbtring selectors] probably.

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


More information about the wp-trac mailing list