Ticket #13440 (closed task (blessed): fixed)
rss_language option should be blog language
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 3.4 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | r_a_m_i@… |
Description
the rss_language option in the database should automaticaly be updated to en (std.) or the language in wp-config.php
i know its not a important deal but there a situations where it might be good to have rss_language the language slug which the blog uses.
Attachments
Change History
- Keywords rss_language removed
- Type changed from feature request to task (blessed)
- Milestone changed from Future Release to 3.4
Accepting this for inclusion.
I am thinking we just kill off rss_language and have it use get_bloginfo( 'language' ) which in turns relies on get_locale(). This is exactly the value that language_attributes() uses.
Using the same thing language_attributes( ) uses seems sanest. Patch looks good.
Note: See
TracTickets for help on using
tickets.


rss_language is set to en by default upon install.
If you want to change it then all the API is there to do it and you could use the pre_option_ filters in get_option in a plugin to return the value configured in wp-config.php if you want.
I don't think we need to do anything in core for 3.0 for this as it has been like this for a long time.