Make WordPress Core


Ignore:
Timestamp:
11/30/2003 12:55:19 AM (23 years ago)
Author:
mikelittle
Message:

Fixed several instances in WordPress where PHP Notices are not being handled correctly.
Fixes supplied by Aaron Jensen (aaron@…).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2-include/b2template.functions.php

    r558 r559  
    920920        }
    921921        if ($cut) {
     922        $excerpt = '';
    922923                $blah = explode(' ', $output);
    923924                if (count($blah) > $cut) {
    … …  
    971972                        $use_dotdotdot = 0;
    972973                }
     974        $excerpt = '';
    973975                for ($i=0; $i<$k; $i++) {
    974976                        $excerpt .= $blah[$i].' ';
    … …  
    12281230        $file = "$siteurl/$blogfilename";
    12291231    }
     1232    if ('http:' != substr($file,0,5)) {
     1233        $file = "$siteurl/$file";
     1234    }
    12301235    $link = $file.$querystring_start.'cat'.$querystring_equal.$cat_ID;
    12311236    if ($echo)
Note: See TracChangeset for help on using the changeset viewer.