[wp-trac] [WordPress Trac] #36510: Twenty eleven page templates with widgets incorrectly styled

WordPress Trac noreply at wordpress.org
Thu Apr 14 03:28:27 UTC 2016


#36510: Twenty eleven page templates with widgets incorrectly styled
---------------------------+--------------------
 Reporter:  Clorith        |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.5.1
Component:  Bundled Theme  |     Version:  4.5
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  ui
---------------------------+--------------------

Comment (by SergeyBiryukov):

 A workaround:
 {{{
 function wp36510_remove_singular_class( $classes ) {
         $index = array_search( 'singular', $classes );
         if ( false !== $index ) {
                 unset( $classes[ $index ] );
         }

         return $classes;
 }
 add_filter( 'body_class', 'wp36510_remove_singular_class' );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36510#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list