Make WordPress Core

Ticket #9344: widgets.patch

File widgets.patch, 670 bytes (added by hetjens, 15 years ago)
  • widgets.php

     
    12721272
    12731273        $title = apply_filters('widget_title', $options[$number]['title']);
    12741274        $text = apply_filters( 'widget_text', $options[$number]['text'] );
     1275
     1276        echo $before_widget;
     1277  if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }
    12751278?>
    1276                 <?php echo $before_widget; ?>
    1277                         <?php if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
    12781279                        <div class="textwidget"><?php echo $text; ?></div>
    1279                 <?php echo $after_widget; ?>
    12801280<?php
     1281  echo $after_widget;
    12811282}
    12821283
    12831284/**