Make WordPress Core

Changeset 808


Ignore:
Timestamp:
01/29/2004 06:49:19 AM (22 years ago)
Author:
saxmatt
Message:

Remove remnants of $c.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r701 r808  
    283283
    284284                // comments
    285                 if (($withcomments) or ($c)) {
     285                if (($withcomments) or ($single)) {
    286286
    287287                    $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date");
  • trunk/wp-admin/post.php

    r781 r808  
    1919}
    2020
    21 $wpvarstoreset = array('action', 'safe_mode', 'withcomments', 'c', 'posts', 'poststart', 'postend', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder');
     21$wpvarstoreset = array('action', 'safe_mode', 'withcomments', 'posts', 'poststart', 'postend', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder');
    2222
    2323for ($i=0; $i<count($wpvarstoreset); $i += 1) {
     
    644644
    645645        if ($user_level > 0) {
    646             if ((!$withcomments) && (!$c)) {
     646            if ((!$withcomments) && (!$single)) {
    647647
    648648                $action = 'post';
  • trunk/wp-blog-header.php

    r798 r808  
    1111require($curpath.'/wp-config.php');
    1212
    13 $wpvarstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'name', 'category_name');
     13$wpvarstoreset = array('m','p','posts','w', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'name', 'category_name');
    1414
    1515    for ($i=0; $i<count($wpvarstoreset); $i += 1) {
     
    370370        if ($p || $name) {
    371371            $more = 1;
    372             $c = 1;
    373372            $single = 1;
    374373        }
  • trunk/wp-comments.php

    r805 r808  
    22    if ('wp-comments.php' == basename($HTTP_SERVER_VARS['SCRIPT_FILENAME']))
    33        die ('Please do not load this page directly. Thanks!');
    4     if (($withcomments) or ($c)) {
     4    if (($withcomments) or ($single)) {
    55
    66        if (!empty($post->post_password)) { // if there's a password
  • trunk/wp-includes/template-functions-post.php

    r801 r808  
    109109
    110110function get_the_content($more_link_text='(more...)', $stripteaser=0, $more_file='') {
    111     global $id, $post, $more, $c, $withcomments, $page, $pages, $multipage, $numpages;
     111    global $id, $post, $more, $single, $withcomments, $page, $pages, $multipage, $numpages;
    112112    global $HTTP_SERVER_VARS, $HTTP_COOKIE_VARS, $preview, $cookiehash;
    113113    global $querystring_start, $querystring_equal, $querystring_separator;
Note: See TracChangeset for help on using the changeset viewer.