Make WordPress Core

Ticket #5517: options-reading.php.r6475.diff

File options-reading.php.r6475.diff, 1.7 KB (added by RanYanivHartstein, 16 years ago)

Patch to add interface for changing rss_language

  • options-reading.php

     
    8181<td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" /><br />
    8282<?php _e('The character encoding you write your blog in (UTF-8 is <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">recommended</a>)') ?></td>
    8383</tr>
     84<tr valign="top">
     85<th width="33%" scope="row"><?php _e('Feed language:') ?></th>
     86<td><input name="rss_language" type="text" id="rss_language" value="<?php form_option('rss_language'); ?>" size="20" class="code" /><br />
     87<?php _e('Primary language for your posts, in two letter language codes. (<a href="http://www.w3.org/WAI/ER/IG/ert/iso639.htm">Code list</a>)') ?></td>
     88</tr>
    8489</table>
     90</table>
    8591<p>
    8692<label><input type="checkbox" name="gzipcompression" value="1" <?php checked('1', get_option('gzipcompression')); ?> />
    8793<?php _e('WordPress should compress articles (gzip) if browsers ask for them') ?></label>
    8894</p>
    8995<p class="submit">
    9096<input type="hidden" name="action" value="update" />
    91 <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" />
     97<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,rss_language" />
    9298<input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
    9399</p>
    94100</form>