diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index d0c05fd891..ab41273a2d 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -364,7 +364,7 @@ function get_lastpostdate() { global $tableposts, $cache_lastpostdate, $use_cache, $time_difference, $pagenow, $wpdb, $querycount; if ((!isset($cache_lastpostdate)) OR (!$use_cache)) { $now = date("Y-m-d H:i:s",(time() + ($time_difference * 3600))); - if ($pagenow != 'b2edit.php') { + if ($pagenow != 'wp-post.php') { $showcatzero = 'post_category > 0 AND'; } else { $showcatzero = ''; diff --git a/b2-include/b2vars.php b/b2-include/b2vars.php index d69332953f..5997a14bdf 100644 --- a/b2-include/b2vars.php +++ b/b2-include/b2vars.php @@ -144,7 +144,7 @@ $pagenow = explode('/', $PHP_SELF); $pagenow = trim($pagenow[(sizeof($pagenow)-1)]); $pagenow = explode('?', $pagenow); $pagenow = $pagenow[0]; -if (($querystring_start == '/') && ($pagenow != 'b2edit.php')) { +if (($querystring_start == '/') && ($pagenow != 'wp-post.php')) { $pagenow = $siteurl.'/'.$blogfilename; } diff --git a/blog.header.php b/blog.header.php index 93b9958866..d6dbca090f 100644 --- a/blog.header.php +++ b/blog.header.php @@ -59,7 +59,7 @@ $where = ''; $limits = ''; $distinct = ''; -if ($pagenow != 'b2edit.php') { timer_start(); } +if ($pagenow != 'wp-post.php') { timer_start(); } if ($showposts) { $showposts = (int)$showposts; @@ -245,7 +245,7 @@ if ( !empty($postend) && ($postend > $poststart) && (!$m) && empty($monthnum) && } } else { if (($what_to_show == 'paged') && (!$p) && (!$more)) { - if ($pagenow != 'b2edit.php') { + if ($pagenow != 'wp-post.php') { $pgstrt = ''; if ($paged) { $pgstrt = (intval($paged) -1) * $posts_per_page . ', '; @@ -274,7 +274,7 @@ if ($p == 'all') { $now = date('Y-m-d H:i:s',(time() + ($time_difference * 3600))); -if ($pagenow != 'b2edit.php') { +if ($pagenow != 'wp-post.php') { if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) { $where .= ' AND post_date <= \''.$now.'\''; } diff --git a/wp-admin/b2bookmarklet.php b/wp-admin/b2bookmarklet.php index 35fbb6b23c..38957fe43e 100644 --- a/wp-admin/b2bookmarklet.php +++ b/wp-admin/b2bookmarklet.php @@ -75,7 +75,7 @@ textarea {
- diff --git a/wp-admin/wp-edit.showcomments.php b/wp-admin/wp-edit.showcomments.php index 01337b0501..6b976b10c8 100644 --- a/wp-admin/wp-edit.showcomments.php +++ b/wp-admin/wp-edit.showcomments.php @@ -39,7 +39,7 @@ ob_start();Go to: Post/Edit | Posts | Comments
+Go to: Post/Edit | Posts | Comments
- | - | - |