Make WordPress Core


Ignore:
Timestamp:
02/20/2004 01:42:39 AM (21 years ago)
Author:
michelvaldrighi
Message:

more double-to-single quotes replacements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-comment.php

    r887 r895  
    5555    $wpcommentspopupfile = $file;
    5656    $wpcommentsjavascript = 1;
    57     $javascript = "<script type='text/javascript'>\nfunction wpopen (macagna) {\n    window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n</script>\n";
     57    $javascript = "<script type=\"text/javascript\">\nfunction wpopen (macagna) {\n    window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n</script>\n";
    5858    echo $javascript;
    5959}
     
    7575        if (!empty($post->post_password)) { // if there's a password
    7676            if ($HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $post->post_password) {  // and it doesn't match the cookie
    77                 echo("Enter your password to view comments");
     77                echo('Enter your password to view comments');
    7878                return;
    7979            }
     
    172172    $display = ($linktext != '') ? $linktext : stripslashes($url);
    173173        echo $before;
    174         echo "<a href='$url' rel='external'>$display</a>";
     174        echo '<a href="'.$url.'" rel="external">'.$display.'</a>';
    175175        echo $after;
    176176    }
     
    238238    }
    239239
    240     echo "<a href='$url'>$link_text</a>";
     240    echo '<a href="'.$url.'">'.$link_text.'</a>';
    241241}
    242242
Note: See TracChangeset for help on using the changeset viewer.