[wp-trac] Re: [WordPress Trac] #9304: Allow plugins to modify class value in page lists

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 10 19:39:02 GMT 2009


#9304: Allow plugins to modify class value in page lists
--------------------------+-------------------------------------------------
 Reporter:  wnorris       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  UI            |     Version:  2.8      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by wnorris):

 * cc: wnorris (added)


Comment:

 attaching alternate solution, which is more consistent with how this is
 done in other parts of WordPress... instead of changing $css_class to be
 an array, leave it as a string, then explode it just for the purposes of
 passing into the filter.  Take yer pick.

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


More information about the wp-trac mailing list