Package: wordpress
Version: 2.3.2-1
Severity: wishlist
Tags: patch

There is no UI to set the rss_language option, which controls the declared 
language of syndication feeds. Here's a patch.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-amd64
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)

Versions of packages wordpress depends on:
ii  apache2                    2.2.3-4+etch3 Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd 2.2.3-4+etch3 Traditional model for Apache HTTPD
ii  libapache2-mod-php5        5.2.0-8+etch9 server-side, HTML-embedded scripti
ii  libphp-phpmailer           1.73-6        full featured email transfer class
ii  lighttpd [httpd]           1.4.18-1      A fast webserver with minimal memo
ii  mysql-client-5.0 [virtual- 5.0.32-7etch4 mysql database client binaries
ii  php5-cgi                   5.2.0-8+etch9 server-side, HTML-embedded scripti
ii  php5-gd                    5.2.0-8+etch9 GD module for php5
ii  php5-mysql                 5.2.0-8+etch9 MySQL module for php5

wordpress recommends no packages.

-- no debconf information
--- options-reading.php.orig	2008-01-19 18:24:06.245664932 +0100
+++ options-reading.php	2008-01-19 18:43:34.058340936 +0100
@@ -73,6 +73,10 @@
 <p><?php _e('Note: If you use the <code>&lt;!--more--&gt;</code> feature, it will cut off posts in RSS feeds.'); ?></p>
 </td>
 </tr>
+<tr valign="top">
+<th width="33%" scope="row"><?php _e('ISO 639-1 Alpha-2 code of syndication feed language:') ?></th>
+<td><input name="rss_language" type="text" id="rss_language" value="<?php form_option('rss_language'); ?>" size="2" /></td>
+</tr>
 </table>
 </fieldset>
 <table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
@@ -88,7 +92,7 @@
 </p>
 <p class="submit">
 <input type="hidden" name="action" value="update" />
-<input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,blog_charset,gzipcompression,show_on_front,page_on_front,page_for_posts" />
+<input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,rss_language,blog_charset,gzipcompression,show_on_front,page_on_front,page_for_posts" />
 <input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
 </p>
 </form>

Reply via email to