Call to flickrRSS ends the page.

18 views
Skip to first unread message

Rubin110

unread,
Mar 13, 2010, 7:46:18 PM3/13/10
to flickrRSS
Hi there. I'm running Wordpress Trunk (rev 13695) off of Dreamhost. I
have <?php get_flickrRSS(); ?> in my header. Once any page with the
header loads, it ends right at the end of the first <ul> tag generated
by flickrRSS. Any help with this would be appreciated. Thanks.

Rubin110

unread,
Mar 13, 2010, 7:48:30 PM3/13/10
to flickrRSS
Should also note I don't see anything interesting in error.log under
apache.

Rubin110

unread,
Mar 13, 2010, 8:22:23 PM3/13/10
to flickrRSS
Ok, looks like this issue was introduced in rev 132340. Here's the
diff. Again any help would be appreciated.

$ svn diff -r 13239:13240 rubin.starset.net/
Index: rubin.starset.net/wp-includes/post.php
===================================================================
--- rubin.starset.net/wp-includes/post.php (revision 13239)
+++ rubin.starset.net/wp-includes/post.php (revision 13240)
@@ -3930,7 +3930,7 @@
* @param bool $clean_terms optional. Whether to clean terms cache
*/
function clean_attachment_cache($id, $clean_terms = false) {
- global $_wp_suspend_cache_invalidation, $wpdb;
+ global $_wp_suspend_cache_invalidation;

if ( !empty($_wp_suspend_cache_invalidation) )
return;
Index: rubin.starset.net/wp-includes/functions.php
===================================================================
--- rubin.starset.net/wp-includes/functions.php (revision 13239)
+++ rubin.starset.net/wp-includes/functions.php (revision 13240)
@@ -1442,15 +1442,12 @@
/**
* Walks the array while sanitizing the contents.
*
- * @uses $wpdb Used to sanitize values
* @since 0.71
*
* @param array $array Array to used to walk while sanitizing
contents.
* @return array Sanitized $array.
*/
function add_magic_quotes( $array ) {
- global $wpdb;
-
foreach ( (array) $array as $k => $v ) {
if ( is_array( $v ) ) {
$array[$k] = add_magic_quotes( $v );
Index: rubin.starset.net/wp-includes/link-template.php
===================================================================
--- rubin.starset.net/wp-includes/link-template.php (revision
13239)
+++ rubin.starset.net/wp-includes/link-template.php (revision
13240)
@@ -1076,7 +1076,7 @@
* @return object
*/
function get_boundary_post($in_same_cat = false, $excluded_categories
= '', $start = true) {
- global $post, $wpdb;
+ global $post;

if ( empty($post) || !is_single() || is_attachment() )
return null;
Index: rubin.starset.net/wp-includes/formatting.php
===================================================================
--- rubin.starset.net/wp-includes/formatting.php (revision
13239)
+++ rubin.starset.net/wp-includes/formatting.php (revision
13240)
@@ -1208,11 +1208,8 @@
* @return string Returns a string escaped with slashes.
*/
function addslashes_gpc($gpc) {
- global $wpdb;
-
- if (get_magic_quotes_gpc()) {
+ if ( get_magic_quotes_gpc() )
$gpc = stripslashes($gpc);
- }

return esc_sql($gpc);
}
Index: rubin.starset.net/wp-includes/rss.php
===================================================================
--- rubin.starset.net/wp-includes/rss.php (revision 13239)
+++ rubin.starset.net/wp-includes/rss.php (revision 13240)
@@ -715,7 +715,6 @@
Output: true on sucess

\*=======================================================================*/
function set ($url, $rss) {
- global $wpdb;
$cache_option = 'rss_' . $this->file_name( $url );

set_transient($cache_option, $rss, $this->MAX_AGE);
Index: rubin.starset.net/wp-includes/ms-functions.php
===================================================================
--- rubin.starset.net/wp-includes/ms-functions.php (revision
13239)
+++ rubin.starset.net/wp-includes/ms-functions.php (revision
13240)
@@ -1051,8 +1051,6 @@
}

function get_user_id_from_string( $string ) {
- global $wpdb;
-
$user_id = 0;
if ( is_email( $string ) ) {
$user = get_user_by('email', $string);

eightface

unread,
Mar 20, 2010, 7:48:16 AM3/20/10
to flickrRSS
Sorry, been quite busy this week. Are you still having issues, or has
it been fixed in a recent trunk build? I can try installing the trunk
build on my sandbox site and see if I get the same issues.

Rubin110

unread,
Apr 7, 2010, 12:46:04 PM4/7/10
to flickrRSS
On Mar 20, 4:48 am, eightface <kel...@gmail.com> wrote:
> Sorry, been quite busy this week. Are you still having issues, or has
> it been fixed in a recent trunk build? I can try installing the trunk
> build on my sandbox site and see if I get the same issues.

The issue is no longer reproducible with rev 14032 of Wordpress trunk.
Thanks!

Reply all
Reply to author
Forward
0 new messages