Make WordPress Core

Ticket #26961: 26961_alt.diff

File 26961_alt.diff, 714 bytes (added by mor10, 11 years ago)

Alternate positioning

  • .php

    old new  
    9494                if ( $ephemera->have_posts() ) :
    9595                        $tmp_content_width = $GLOBALS['content_width'];
    9696                        $GLOBALS['content_width'] = 306;
     97                        $tmp_more = $GLOBALS['more'];
     98                        $GLOBALS['more'] = 0;
    9799
    98100                        echo $args['before_widget'];
    99101                        ?>
     
    195197                        wp_reset_postdata();
    196198
    197199                        $GLOBALS['content_width'] = $tmp_content_width;
     200                        $GLOBALS['more'] = $tmp_more;
    198201
    199202                endif; // End check for ephemeral posts.
    200203        }