[wp-trac] [WordPress Trac] #36510: Twenty eleven page templates with widgets incorrectly styled
WordPress Trac
noreply at wordpress.org
Sat Apr 16 15:05:21 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 scottkr24):
This worked perfectly for me, thanks.
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 */
>
> }}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36510#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list