From 6fc9f0c2129af634052d21d5c90bdbb2576f8ba4 Mon Sep 17 00:00:00 2001
From: Mike Little
Date: Mon, 3 Nov 2003 22:11:42 +0000
Subject: [PATCH] Removed references to b2edit.php
git-svn-id: https://develop.svn.wordpress.org/trunk@514 602fd350-edb4-49c9-b593-d223f7449a82
---
b2-include/b2functions.php | 2 +-
b2-include/b2vars.php | 2 +-
blog.header.php | 6 +++---
wp-admin/b2bookmarklet.php | 2 +-
wp-admin/b2sidebar.php | 2 +-
wp-admin/edit-comments.php | 6 +++---
wp-admin/wp-edit.form.php | 2 +-
wp-admin/wp-edit.showcomments.php | 8 ++++----
wp-admin/wp-edit.showposts.php | 18 +++++++++---------
wp-admin/wp-post.php | 6 +++---
10 files changed, 27 insertions(+), 27 deletions(-)
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.form.php b/wp-admin/wp-edit.form.php
index 779d89cef7..7fb808fad6 100644
--- a/wp-admin/wp-edit.form.php
+++ b/wp-admin/wp-edit.form.php
@@ -221,7 +221,7 @@ if ($user_level > 4) {
touch_time(($action == 'edit'));
}
if ('edit' == $action) echo "
-Delete this post
";
+Delete this post
";
?>
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