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

WordPress Trac noreply at wordpress.org
Mon Apr 18 04:26:31 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:  has-patch 2nd-opinion needs-testing  |     Focuses:  ui
-------------------------------------------------+--------------------

Comment (by paloprisk):

 Replying to [comment:31 krazykatz911]:
 > Place in functions:
 >
 >
 >
 > {{{
 >
 > /**
 > Fix for 4.5 update overlapping
 > */
 > 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' );
 > /** End of Fix for 4.5 Update overlapping */
 >
 > }}}




 krazykatz911 patch works great for me ... thanks !
 The problem I had is shown in the following pic.
 Since I upgraded to WP4.5, there was an overlap of the bbPress pages
 content '''***INTO***''' the left sidebar widget.
 This occured on bbPress pages '''***ONLY***''' and now, thanks to the
 patch, it's back to normal !
 ''(hope '''*NEW*''' bbPress pages will still be styled the correct way ...
 we'll see)''

 [[Image(https://dl.dropboxusercontent.com/u/29826503/groupez.net/overlap2.jpg)]]

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


More information about the wp-trac mailing list