Package: wordpress
Version: 1.5.2-1
Severity: important

I run a blog at http://h4x0r5.com/~ryan/blog/

The URL h4x0r5.com is incorrectly mangled by the wptexturize function in
many (but oddly, not all) places it occurs in the generated page.

Specifically, wp-includes/default-filters.php adds the "wptexturize"
filter to the "bloginfo" class.  'bloginfo' is used for a variety of
internal settings, and should not be mangled this way.

The following patch corrects this:

--- wp-includes/default-filters.php.orig        2005-04-05 13:25:57.000000000 
-0400
+++ wp-includes/default-filters.php     2005-09-04 20:36:39.669428624 -0400
@@ -10,7 +10,7 @@
 add_filter('the_title', 'wptexturize');
 add_filter('the_content', 'wptexturize');
 add_filter('the_excerpt', 'wptexturize');
-add_filter('bloginfo', 'wptexturize');
+//add_filter('bloginfo', 'wptexturize');
 
 // Comments, trackbacks, pingbacks
 add_filter('pre_comment_author_name', 'strip_tags');
@@ -85,4 +85,4 @@
 // Actions
 add_action('publish_post', 'generic_ping');
 
-?>
\ No newline at end of file
+?>

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wordpress depends on:
ii  apache [httpd]                1.3.31-2   Versatile, high-performance HTTP s
ii  apache-ssl [httpd]            1.3.31-2   Versatile, high-performance HTTP s
ii  mysql-server [virtual-mysql-s 4.0.24-10  mysql database server binaries
ii  php4                          4:4.3.8-12 server-side, HTML-embedded scripti
ii  php4-mysql                    4:4.3.8-12 MySQL module for php4

wordpress recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to