Changeset 808
- Timestamp:
- 01/29/2004 06:49:19 AM (22 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
wp-admin/edit.php (modified) (1 diff)
-
wp-admin/post.php (modified) (2 diffs)
-
wp-blog-header.php (modified) (2 diffs)
-
wp-comments.php (modified) (1 diff)
-
wp-includes/template-functions-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r701 r808 283 283 284 284 // comments 285 if (($withcomments) or ($ c)) {285 if (($withcomments) or ($single)) { 286 286 287 287 $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); -
trunk/wp-admin/post.php
r781 r808 19 19 } 20 20 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'); 22 22 23 23 for ($i=0; $i<count($wpvarstoreset); $i += 1) { … … 644 644 645 645 if ($user_level > 0) { 646 if ((!$withcomments) && (!$ c)) {646 if ((!$withcomments) && (!$single)) { 647 647 648 648 $action = 'post'; -
trunk/wp-blog-header.php
r798 r808 11 11 require($curpath.'/wp-config.php'); 12 12 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'); 14 14 15 15 for ($i=0; $i<count($wpvarstoreset); $i += 1) { … … 370 370 if ($p || $name) { 371 371 $more = 1; 372 $c = 1;373 372 $single = 1; 374 373 } -
trunk/wp-comments.php
r805 r808 2 2 if ('wp-comments.php' == basename($HTTP_SERVER_VARS['SCRIPT_FILENAME'])) 3 3 die ('Please do not load this page directly. Thanks!'); 4 if (($withcomments) or ($ c)) {4 if (($withcomments) or ($single)) { 5 5 6 6 if (!empty($post->post_password)) { // if there's a password -
trunk/wp-includes/template-functions-post.php
r801 r808 109 109 110 110 function 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; 112 112 global $HTTP_SERVER_VARS, $HTTP_COOKIE_VARS, $preview, $cookiehash; 113 113 global $querystring_start, $querystring_equal, $querystring_separator;
Note: See TracChangeset
for help on using the changeset viewer.