From rboren at users.sourceforge.net Tue Feb 1 01:04:19 2005
From: rboren at users.sourceforge.net (Ryan Boren)
Date: Tue Feb 1 01:04:49 2005
Subject: [wp-cvs] wordpress/wp-includes classes.php,1.47,1.48
Message-ID:
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26070
Modified Files:
classes.php
Log Message:
Add set method.
Index: classes.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/classes.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** classes.php 26 Jan 2005 22:46:39 -0000 1.47
--- classes.php 1 Feb 2005 01:04:08 -0000 1.48
***************
*** 196,199 ****
--- 196,203 ----
}
+ function set($query_var, $value) {
+ $this->query_vars[$query_var] = $value;
+ }
+
function get_posts() {
global $wpdb, $pagenow, $request, $user_ID;
From saxmatt at users.sourceforge.net Tue Feb 1 01:13:13 2005
From: saxmatt at users.sourceforge.net (Matthew Mullenweg)
Date: Tue Feb 1 01:13:34 2005
Subject: [wp-cvs] wordpress/wp-includes functions-formatting.php,1.63,1.64
Message-ID:
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28411/wp-includes
Modified Files:
functions-formatting.php
Log Message:
Copyright and registered corrections cause more trouble than they help
Index: functions-formatting.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** functions-formatting.php 24 Jan 2005 06:01:04 -0000 1.63
--- functions-formatting.php 1 Feb 2005 01:13:11 -0000 1.64
***************
*** 33,38 ****
$curl = preg_replace("/'([\s.]|\Z)/", '’$1', $curl);
$curl = preg_replace("/ \(tm\)/i", ' ™', $curl);
- $curl = preg_replace("/ \(c\)/i", ' ©', $curl);
- $curl = preg_replace("/ \(r\)/i", ' ®', $curl);
$curl = str_replace("''", '”', $curl);
--- 33,36 ----
From rboren at users.sourceforge.net Tue Feb 1 01:49:54 2005
From: rboren at users.sourceforge.net (Ryan Boren)
Date: Tue Feb 1 01:49:59 2005
Subject: [wp-cvs] wordpress/wp-admin post.php,1.123,1.124
Message-ID:
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6174/wp-admin
Modified Files:
post.php
Log Message:
Remove support for 'all' queries and for poststart and postend.
Index: post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
retrieving revision 1.123
retrieving revision 1.124
diff -C2 -d -r1.123 -r1.124
*** post.php 31 Jan 2005 10:32:28 -0000 1.123
--- post.php 1 Feb 2005 01:49:51 -0000 1.124
***************
*** 2,6 ****
require_once('admin.php');
! $wpvarstoreset = array('action', 'safe_mode', 'withcomments', 'posts', 'poststart', 'postend', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder' );
for ($i=0; $i
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6174/wp-includes
Modified Files:
classes.php
Log Message:
Remove support for 'all' queries and for poststart and postend.
Index: classes.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/classes.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** classes.php 1 Feb 2005 01:04:08 -0000 1.48
--- classes.php 1 Feb 2005 01:49:51 -0000 1.49
***************
*** 67,71 ****
if ('' != $qv['name']) {
$this->is_single = true;
! } elseif ( $qv['p'] && $qv['p'] != 'all' ) {
$this->is_single = true;
} elseif (('' != $qv['hour']) && ('' != $qv['minute']) &&('' != $qv['second']) && ('' != $qv['year']) && ('' != $qv['monthnum']) && ('' != $qv['day'])) {
--- 67,71 ----
if ('' != $qv['name']) {
$this->is_single = true;
! } elseif ( $qv['p'] ) {
$this->is_single = true;
} elseif (('' != $qv['hour']) && ('' != $qv['minute']) &&('' != $qv['second']) && ('' != $qv['year']) && ('' != $qv['monthnum']) && ('' != $qv['day'])) {
***************
*** 134,138 ****
}
! if (empty($qv['cat']) || ($qv['cat'] == 'all') || ($qv['cat'] == '0')) {
$this->is_category = false;
} else {
--- 134,138 ----
}
! if (empty($qv['cat']) || ($qv['cat'] == '0')) {
$this->is_category = false;
} else {
***************
*** 148,152 ****
}
! if ((empty($qv['author'])) || ($qv['author'] == 'all') || ($qv['author'] == '0')) {
$this->is_author = false;
} else {
--- 148,152 ----
}
! if ((empty($qv['author'])) || ($qv['author'] == '0')) {
$this->is_author = false;
} else {
***************
*** 299,308 ****
// If a post number is specified, load that post
! if (($q['p'] != '') && ($q['p'] != 'all') && intval($q['p']) != 0) {
$q['p'] = (int) $q['p'];
$where = ' AND ID = ' . $q['p'];
}
! if (($q['page_id'] != '') && ($q['page_id'] != 'all')) {
$q['page_id'] = intval($q['page_id']);
$q['p'] = $q['page_id'];
--- 299,308 ----
// If a post number is specified, load that post
! if (($q['p'] != '') && intval($q['p']) != 0) {
$q['p'] = (int) $q['p'];
$where = ' AND ID = ' . $q['p'];
}
! if (($q['page_id'] != '') && (intval($q['page_id']) != 0)) {
$q['page_id'] = intval($q['page_id']);
$q['p'] = $q['page_id'];
***************
*** 339,343 ****
// Category stuff
! if ((empty($q['cat'])) || ($q['cat'] == 'all') || ($q['cat'] == '0') ||
// Bypass cat checks if fetching specific posts
(
--- 339,343 ----
// Category stuff
! if ((empty($q['cat'])) || ($q['cat'] == '0') ||
// Bypass cat checks if fetching specific posts
(
***************
*** 398,402 ****
// Author/user stuff
! if ((empty($q['author'])) || ($q['author'] == 'all') || ($q['author'] == '0')) {
$whichauthor='';
} else {
--- 398,402 ----
// Author/user stuff
! if ((empty($q['author'])) || ($q['author'] == '0')) {
$whichauthor='';
} else {
***************
*** 465,479 ****
}
- if ($q['p'] == 'all') {
- $where = '';
- }
-
$now = gmdate('Y-m-d H:i:59');
if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
! if ((empty($q['poststart'])) || (empty($q['postend'])) || !($q['postend'] > $q['poststart'])) {
! $where .= " AND post_date_gmt <= '$now'";
! }
!
$distinct = 'DISTINCT';
}
--- 465,472 ----
}
$now = gmdate('Y-m-d H:i:59');
if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
! $where .= " AND post_date_gmt <= '$now'";
$distinct = 'DISTINCT';
}
***************
*** 497,518 ****
// Paging
! if ( !empty($q['postend']) && ($q['postend'] > $q['poststart']) ) {
! if ($q['what_to_show'] == 'posts') {
! $q['poststart'] = intval($q['poststart']);
! $q['postend'] = intval($q['postend']);
! $limposts = $q['postend'] - $q['poststart'];
! $limits = ' LIMIT '.$q['poststart'].','.$limposts;
! } elseif ($q['what_to_show'] == 'days') {
! $q['poststart'] = intval($q['poststart']);
! $q['postend'] = intval($q['postend']);
! $limposts = $q['postend'] - $q['poststart'];
! $lastpostdate = get_lastpostdate();
! $lastpostdate = mysql2date('Y-m-d 00:00:00',$lastpostdate);
! $lastpostdate = mysql2date('U',$lastpostdate);
! $startdate = date('Y-m-d H:i:s', ($lastpostdate - (($q['poststart'] -1) * 86400)));
! $otherdate = date('Y-m-d H:i:s', ($lastpostdate - (($q['postend'] -1) * 86400)));
! $where .= " AND post_date > '$otherdate' AND post_date < '$startdate'";
! }
! } else if (empty($q['nopaging']) && ! is_single()) {
$page = $q['paged'];
if (empty($page)) {
--- 490,494 ----
// Paging
! if (empty($q['nopaging']) && ! is_single()) {
$page = $q['paged'];
if (empty($page)) {
From rboren at users.sourceforge.net Tue Feb 1 01:49:53 2005
From: rboren at users.sourceforge.net (Ryan Boren)
Date: Tue Feb 1 01:50:04 2005
Subject: [wp-cvs] wordpress wp-blog-header.php,1.113,1.114
Message-ID:
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6174
Modified Files:
wp-blog-header.php
Log Message:
Remove support for 'all' queries and for poststart and postend.
Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.113
retrieving revision 1.114
diff -C2 -d -r1.113 -r1.114
*** wp-blog-header.php 19 Jan 2005 16:15:45 -0000 1.113
--- wp-blog-header.php 1 Feb 2005 01:49:51 -0000 1.114
***************
*** 83,87 ****
}
! $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', 'hour', 'minute', 'second', 'name', 'category_name', 'feed', 'author_name', 'static', 'pagename', 'page_id', 'error');
$wpvarstoreset = apply_filters('query_vars', $wpvarstoreset);
--- 83,87 ----
}
! $wpvarstoreset = array('m','p','posts','w', 'cat','withcomments','s','search','exact', 'sentence','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'feed', 'author_name', 'static', 'pagename', 'page_id', 'error');
$wpvarstoreset = apply_filters('query_vars', $wpvarstoreset);
From saxmatt at users.sourceforge.net Tue Feb 1 01:51:08 2005
From: saxmatt at users.sourceforge.net (Matthew Mullenweg)
Date: Tue Feb 1 01:51:16 2005
Subject: [wp-cvs] wordpress/wp-admin import-mt.php,1.18,1.19
Message-ID:
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6658/wp-admin
Modified Files:
import-mt.php
Log Message:
Old variable would mysteriously crash some configs.
Index: import-mt.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/import-mt.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** import-mt.php 6 Jan 2005 23:10:16 -0000 1.18
--- import-mt.php 1 Feb 2005 01:51:05 -0000 1.19
***************
*** 1,4 ****
--- 7,11 ----
require('../wp-config.php');
require ('upgrade-functions.php');
! $step = $_GET['step'];
if (!$step) $step = 0;
?>
***************
*** 56,60 ****
You have to do this manually for security reasons.
If you've done that and you’re all ready, let's go! Remember that the import process may take a minute or so if you have a large number of entries and comments. Think of all the rebuilding time you'll be saving once it's done. :)
! The importer is smart enough not to import duplicates, so you can run this multiple times without worry if—for whatever reason—it doesn't finish.
You have to do this manually for security reasons.
If you've done that and you’re all ready, let's go! Remember that the import process may take a minute or so if you have a large number of entries and comments. Think of all the rebuilding time you'll be saving once it's done. :)
! The importer is smart enough not to import duplicates, so you can run this multiple times without worry if—for whatever reason—it doesn't finish. If you get an out of memory error try splitting up the import file into pieces.
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9817
Modified Files:
template-functions-links.php
Log Message:
Feed link fix for bug 775. Hat tip: Kafkaesqui
Index: template-functions-links.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-links.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** template-functions-links.php 26 Jan 2005 22:46:40 -0000 1.51
--- template-functions-links.php 1 Feb 2005 02:01:38 -0000 1.52
***************
*** 162,167 ****
$permalink = str_replace('%feed%', $feed, $permalink);
! $output = get_settings('home') . "/$permalink/";
! $output = preg_replace('#/+#', '/', $output);
} else {
if ( false !== strpos($feed, 'comments_') )
--- 162,167 ----
$permalink = str_replace('%feed%', $feed, $permalink);
! $permalink = preg_replace('#/+#', '/', "/$permalink/");
! $output = get_settings('home') . $permalink;
} else {
if ( false !== strpos($feed, 'comments_') )
From saxmatt at users.sourceforge.net Tue Feb 1 02:03:23 2005
From: saxmatt at users.sourceforge.net (Matthew Mullenweg)
Date: Tue Feb 1 02:03:26 2005
Subject: [wp-cvs] wordpress wp-links-opml.php,1.10,1.11
Message-ID:
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10352
Modified Files:
wp-links-opml.php
Log Message:
Updating OPML feed.
Index: wp-links-opml.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-links-opml.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** wp-links-opml.php 7 Jan 2005 01:17:42 -0000 1.10
--- wp-links-opml.php 1 Feb 2005 02:03:21 -0000 1.11
***************
*** 19,23 ****
}
}
! ?>\n"; ?>
--- 19,23 ----
}
}
! ?>\n"; ?>
***************
*** 27,31 ****
! links.link_url, link_rss, $wpdb->links.link_name, $wpdb->links.link_category, $wpdb->linkcategories.cat_name
FROM $wpdb->links
LEFT JOIN $wpdb->linkcategories on $wpdb->links.link_category = $wpdb->linkcategories.cat_id
--- 27,31 ----
! links.link_url, link_rss, $wpdb->links.link_name, $wpdb->links.link_category, $wpdb->linkcategories.cat_name, link_updated
FROM $wpdb->links
LEFT JOIN $wpdb->linkcategories on $wpdb->links.link_category = $wpdb->linkcategories.cat_id
***************
*** 49,53 ****
} // end if new category
?>
!
!
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31723
Modified Files:
wp-blog-header.php
Log Message:
get_*_template() functions and filters.
Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** wp-blog-header.php 1 Feb 2005 01:49:51 -0000 1.114
--- wp-blog-header.php 1 Feb 2005 03:44:31 -0000 1.115
***************
*** 226,264 ****
include(ABSPATH . '/wp-trackback.php');
exit;
! } else if ( is_404() && file_exists("$wp_template_dir/404.php") ) {
! include("$wp_template_dir/404.php");
exit;
! } else if ( is_home() && file_exists("$wp_template_dir/index.php") ) {
! include("$wp_template_dir/index.php");
exit;
! } else if ( is_single() && file_exists("$wp_template_dir/single.php") ) {
! include("$wp_template_dir/single.php");
exit;
! } else if ( is_page() && file_exists(get_page_template()) ) {
include(get_page_template());
exit;
! } else if ( is_category() && file_exists("$wp_template_dir/category-" . get_query_var('cat') . '.php') ) {
! include("$wp_template_dir/category-" . get_query_var('cat') . '.php');
exit;
! } else if ( is_category() && file_exists("$wp_template_dir/category.php") ) {
! include("$wp_template_dir/category.php");
! exit;
! } else if ( is_author() && file_exists("$wp_template_dir/author.php") ) {
! include("$wp_template_dir/author.php");
exit;
! } else if ( is_date() && file_exists("$wp_template_dir/date.php") ) {
! include("$wp_template_dir/date.php");
exit;
! } else if ( is_archive() && file_exists("$wp_template_dir/archive.php") ) {
! include("$wp_template_dir/archive.php");
exit;
! } else if ( is_search() && file_exists("$wp_template_dir/search.php") ) {
! include("$wp_template_dir/search.php");
exit;
! } else if ( is_paged() && file_exists("$wp_template_dir/paged.php") ) {
! include("$wp_template_dir/paged.php");
exit;
! } else if ( file_exists("$wp_template_dir/index.php") ) {
! include("$wp_template_dir/index.php");
exit;
}
--- 226,261 ----
include(ABSPATH . '/wp-trackback.php');
exit;
! } else if ( is_404() && get_404_template() ) {
! include(get_404_template());
exit;
! } else if ( is_home() && get_home_template() ) {
! include(get_home_template());
exit;
! } else if ( is_single() && get_single_template() ) {
! include(get_single_template());
exit;
! } else if ( is_page() && get_page_template() ) {
include(get_page_template());
exit;
! } else if ( is_category() && get_category_template()) {
! include(get_category_template());
exit;
! } else if ( is_author() && get_author_template() ) {
! include(get_author_template());
exit;
! } else if ( is_date() && get_date_template() ) {
! include(get_date_template());
exit;
! } else if ( is_archive() && get_archive_template() ) {
! include(get_archive_template());
exit;
! } else if ( is_search() && get_search_template() ) {
! include(get_search_template());
exit;
! } else if ( is_paged() && get_paged_template() ) {
! include(get_paged_template());
exit;
! } else if ( file_exists(TEMPLATEPATH . "/index.php") ) {
! include(TEMPLATEPATH . "/index.php");
exit;
}
From rboren at users.sourceforge.net Tue Feb 1 03:44:34 2005
From: rboren at users.sourceforge.net (Ryan Boren)
Date: Tue Feb 1 03:44:49 2005
Subject: [wp-cvs] wordpress/wp-includes functions.php,1.243,1.244
Message-ID:
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31723/wp-includes
Modified Files:
functions.php
Log Message:
get_*_template() functions and filters.
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.243
retrieving revision 1.244
diff -C2 -d -r1.243 -r1.244
*** functions.php 31 Jan 2005 18:46:17 -0000 1.243
--- functions.php 1 Feb 2005 03:44:32 -0000 1.244
***************
*** 1453,1474 ****
}
function get_page_template() {
global $wp_query;
$id = $wp_query->post->ID;
- $template_dir = get_template_directory();
- $default = "$template_dir/page.php";
-
$template = get_post_meta($id, '_wp_page_template', true);
! if (empty($template) || ($template == 'default')) {
! return $default;
! }
! if (file_exists("$template_dir/$template")) {
! return "$template_dir/$template";
! }
! return $default;
}
--- 1453,1527 ----
}
+ function get_query_template($type) {
+ $template = '';
+ if ( file_exists(TEMPLATEPATH . "/{$type}.php") )
+ $template = TEMPLATEPATH . "/{$type}.php";
+
+ return apply_filters("{$type}_template", $template);
+ }
+
+ function get_404_template() {
+ return get_query_template('404');
+ }
+
+ function get_archive_template() {
+ return get_query_template('archive');
+ }
+
+ function get_author_template() {
+ return get_query_template('author');
+ }
+
+ function get_category_template() {
+ $template = '';
+ if ( file_exists(TEMPLATEPATH . "/category-" . get_query_var('cat') . '.php') )
+ $template = TEMPLATEPATH . "/category-" . get_query_var('cat') . '.php';
+ else if ( file_exists(TEMPLATEPATH . "/category.php") )
+ $template = TEMPLATEPATH . "/category.php";
+
+ return apply_filters('category_template', $template);
+ }
+
+ function get_date_template() {
+ return get_query_template('date');
+ }
+
+ function get_home_template() {
+ $template = '';
+ if ( file_exists(TEMPLATEPATH . "/index.php") )
+ $template = TEMPLATEPATH . "/index.php";
+
+ return apply_filters('home_template', $template);
+ }
+
function get_page_template() {
global $wp_query;
$id = $wp_query->post->ID;
$template = get_post_meta($id, '_wp_page_template', true);
! if ( 'default' == $template )
! $template = '';
! if ( ! empty($template) && file_exists(TEMPLATEPATH . "/$template") )
! $template = TEMPLATEPATH . "/$template";
! else if ( file_exists(TEMPLATEPATH . "/page.php") )
! $template = TEMPLATEPATH . "/page.php";
! else
! $template = '';
! return apply_filters('page_template', $template);
! }
!
! function get_paged_template() {
! return get_query_template('paged');
! }
!
! function get_search_template() {
! return get_query_template('search');
! }
!
! function get_single_template() {
! return get_query_template('single');
}
From rboren at users.sourceforge.net Tue Feb 1 06:20:55 2005
From: rboren at users.sourceforge.net (Ryan Boren)
Date: Tue Feb 1 06:21:04 2005
Subject: [wp-cvs]
wordpress wp-blog-header.php, 1.115, 1.116 wp-settings.php,
1.70, 1.71
Message-ID:
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31963
Modified Files:
wp-blog-header.php wp-settings.php
Log Message:
Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
Index: wp-settings.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-settings.php,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** wp-settings.php 31 Jan 2005 10:28:53 -0000 1.70
--- wp-settings.php 1 Feb 2005 06:20:53 -0000 1.71
***************
*** 121,129 ****
function shutdown_action_hook() {
! do_action('shutdown', '');
}
register_shutdown_function('shutdown_action_hook');
// Everything is loaded.
! do_action('init', '');
?>
\ No newline at end of file
--- 121,129 ----
function shutdown_action_hook() {
! do_action('shutdown');
}
register_shutdown_function('shutdown_action_hook');
// Everything is loaded.
! do_action('init');
?>
\ No newline at end of file
Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.115
retrieving revision 1.116
diff -C2 -d -r1.115 -r1.116
*** wp-blog-header.php 1 Feb 2005 03:44:31 -0000 1.115
--- wp-blog-header.php 1 Feb 2005 06:20:53 -0000 1.116
***************
*** 219,223 ****
} elseif ( !isset($wp_template_redirect) ) {
$wp_template_redirect = true;
! do_action('template_redirect', '');
if ( is_feed() ) {
include(ABSPATH . '/wp-feed.php');
--- 219,223 ----
} elseif ( !isset($wp_template_redirect) ) {
$wp_template_redirect = true;
! do_action('template_redirect');
if ( is_feed() ) {
include(ABSPATH . '/wp-feed.php');
From rboren at users.sourceforge.net Tue Feb 1 06:20:56 2005
From: rboren at users.sourceforge.net (Ryan Boren)
Date: Tue Feb 1 06:21:06 2005
Subject: [wp-cvs] wordpress/wp-content/themes/default footer.php,1.3,1.4
Message-ID:
Update of /cvsroot/cafelog/wordpress/wp-content/themes/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31963/wp-content/themes/default
Modified Files:
footer.php
Log Message:
Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
Index: footer.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/footer.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** footer.php 14 Jan 2005 06:18:47 -0000 1.3
--- footer.php 1 Feb 2005 06:20:53 -0000 1.4
***************
*** 15,19 ****
!
--- 15,19 ----
!