Package: wordpress Version: 1.5.0-1 Severity: minor Tags: patch It seems that the smilies URL is replaced with "siteurl" instead of "home". In my wordpress configuration, I have "siteurl" pointing to https so that logins are protected. However, everything else seems to use the "home" url (which is just http). This patch changes that.
--- /tmp/vars.php 2005-05-02 08:14:57.000000000 -0700 +++ wordpress/wp-includes/vars.php 2005-05-02 08:15:04.000000000 -0700 @@ -102,11 +102,11 @@ foreach($wpsmiliestrans as $smiley => $img) { $wp_smiliessearch[] = $smiley; $smiley_masked = htmlspecialchars( trim($smiley) , ENT_QUOTES); - $wp_smiliesreplace[] = " <img src='" . get_settings('siteurl') . "/wp-images/smilies/$img' alt='$smiley_masked' class='wp-smiley' /> "; + $wp_smiliesreplace[] = " <img src='" . get_settings('home') . "/wp-images/smilies/$img' alt='$smiley_masked' class='wp-smiley' /> "; } // Path for cookies define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) ); define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('siteurl') . '/' ) ); -?> \ No newline at end of file +?> -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.4.26-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages wordpress depends on: ii apache [httpd] 1.3.33-4 versatile, high-performance HTTP s ii mysql-server 4.0.24-5 mysql database server binaries ii php4 4:4.3.10-12 server-side, HTML-embedded scripti ii php4-mysql 4:4.3.10-12 MySQL module for php4 -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]