[wp-trac] [WordPress Trac] #6854: Add plugin hook in schema.php to
allow localizing default options
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 26 23:29:34 GMT 2008
#6854: Add plugin hook in schema.php to allow localizing default options
-------------------------------+--------------------------------------------
Reporter: RanYanivHartstein | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: i18n | Version:
Severity: normal | Keywords: has-patch tested
-------------------------------+--------------------------------------------
The populate_options() function in schema.php sets several default options
that are locale-specific, such as the first day of the week, feed language
and possibly timezone (depending on your locale). Adding a plugin hook to
populate_options() will allow overriding these defaults in the locale
files.
I included a patch to add a plugin hook to populate_options(), I tested it
with 2.5.1
--
Ticket URL: <http://trac.wordpress.org/ticket/6854>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list