Make WordPress Core


Ignore:
Timestamp:
03/18/2009 02:43:45 AM (17 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r10809 r10810  
    11<?php
    22
    3 /** 
    4  * Default Widgets 
     3/**
     4 * Default Widgets
    55 *
    66 * @package WordPress
     
    4343        }
    4444    }
    45    
     45
    4646    function update( $new_instance, $old_instance ) {
    4747        $instance = $old_instance;
     
    5757        return $instance;
    5858    }
    59    
     59
    6060    function form( $instance ) {
    6161        //Defaults
     
    103103        $show_rating = isset($instance['rating']) ? $instance['rating'] : false;
    104104        $show_images = isset($instance['images']) ? $instance['images'] : true;
    105    
     105
    106106        $before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget);
    107107        wp_list_bookmarks(apply_filters('widget_links_args', array(
     
    113113        )));
    114114    }
    115    
     115
    116116    function update( $new_instance, $old_instance ) {
    117117        $new_instance = (array) $new_instance;
     
    121121                $instance[$field] = 1;
    122122        }
    123    
     123
    124124        return $instance;
    125125    }
    126    
     126
    127127    function form( $instance ) {
    128128
     
    163163        get_search_form();
    164164
    165         echo $after_widget; 
     165        echo $after_widget;
    166166    }
    167167}
     
    233233 *
    234234 * Displays log in/out, RSS feed links, etc.
    235  * 
     235 *
    236236 * @since 2.8.0
    237237 */
     
    415415        }
    416416
    417         echo $after_widget;     
    418     }
    419    
     417        echo $after_widget;
     418    }
     419
    420420    function update( $new_instance, $old_instance ) {
    421421        $instance = $old_instance;
     
    427427        return $instance;
    428428    }
    429    
     429
    430430    function form( $instance ) {
    431431        //Defaults
Note: See TracChangeset for help on using the changeset viewer.