Commit Graph

193 Commits

Author SHA1 Message Date
Sergey Biryukov
2c809dc24e Live-update site title in toolbar when changing the corresponding field in General Settings.
props celloexpressions, avryl.
fixes #28682.
Built from https://develop.svn.wordpress.org/trunk@29963


git-svn-id: http://core.svn.wordpress.org/trunk@29710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-19 09:13:20 +00:00
Andrew Nacin
9db108dbe0 Allow language specified by the WPLANG constant (but not installed) to be chosen.
fixes #29456.

Built from https://develop.svn.wordpress.org/trunk@29691


git-svn-id: http://core.svn.wordpress.org/trunk@29466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 08:03:16 +00:00
Dominik Schilling
d544610681 Language packs: No WPLANG anymore.
* The WPLANG constant is no longer needed. Remove define('WPLANG', ''); from wp-config-sample.php. Populate WPLANG option based on the WPLANG constant. When get_option('WPLANG') is an empty string it will override WPLANG.
* Introduce translations_api() which is available to communicate with the translation API. Move translation install related functions to a new file.
* Replace mu_dropdown_languages() with wp_dropdown_languages(). wp_dropdown_languages() is now populated by the translation API.
* Remove wp_install_load_language() and allow load_default_textdomain() to switch a core translation.

fixes #13069, #15677, #19760, #28730, #29281. 
Built from https://develop.svn.wordpress.org/trunk@29630


git-svn-id: http://core.svn.wordpress.org/trunk@29404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 19:59:16 +00:00
Dominik Schilling
d54e72183a Add a label to site language setting.
see #15677.
Built from https://develop.svn.wordpress.org/trunk@29514


git-svn-id: http://core.svn.wordpress.org/trunk@29291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 09:45:16 +00:00
John Blackbourn
be12ea968a Implement email and url input types where appropriate. Props Kau-Boy. Fixes #22183.
Built from https://develop.svn.wordpress.org/trunk@29030


git-svn-id: http://core.svn.wordpress.org/trunk@28818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 17:52:14 +00:00
Andrew Nacin
4e2f1bd155 Introduce wp_dropdown_languages() and use it on general settings.
Early rough cut. Obviously not fully implemented.

see #15677.

Built from https://develop.svn.wordpress.org/trunk@29007


git-svn-id: http://core.svn.wordpress.org/trunk@28795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-05 06:19:16 +00:00
Sergey Biryukov
901122689f Replace Y/m/d date format in general settings with a more popular one, Y-m-d.
props gauravmittal1995.
fixes #28447.
Built from https://develop.svn.wordpress.org/trunk@28848


git-svn-id: http://core.svn.wordpress.org/trunk@28652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-26 14:29:17 +00:00
Sergey Biryukov
124f1bc2f5 Add ISO date standard YYYY-MM-DD format to general settings.
props mattheweppelsheimer.
fixes #28447.
Built from https://develop.svn.wordpress.org/trunk@28820


git-svn-id: http://core.svn.wordpress.org/trunk@28625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-24 09:50:14 +00:00
Sergey Biryukov
e94ee8f08c Move 'Documentation on date and time formatting' link under the 'Time Format' block.
props gauravmittal1995.
fixes #28348.
Built from https://develop.svn.wordpress.org/trunk@28591


git-svn-id: http://core.svn.wordpress.org/trunk@28416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-27 14:50:14 +00:00
Andrew Nacin
dce0b9adea Use SSL when linking to WordPress.org. see #27115.
Built from https://develop.svn.wordpress.org/trunk@27469


git-svn-id: http://core.svn.wordpress.org/trunk@27314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 04:14:15 +00:00
Andrew Ozz
eb1d21d782 Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712.
Built from https://develop.svn.wordpress.org/trunk@27029


git-svn-id: http://core.svn.wordpress.org/trunk@26905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-24 19:06:15 +00:00
Andrew Nacin
66425e1489 Use jQuery.prop('checked') instead of jQuery.attr.
props Frank Klein.
fixes #26378.

Built from https://develop.svn.wordpress.org/trunk@26571


git-svn-id: http://core.svn.wordpress.org/trunk@26462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:21:11 +00:00
Andrew Ozz
8d6059b383 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
Built from https://develop.svn.wordpress.org/trunk@26518


git-svn-id: http://core.svn.wordpress.org/trunk@26411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:53:11 +00:00
Andrew Nacin
70fd806759 Revert r25824:25875 from the core.svn.wordpress.org repository.
These commits were accidentally re-synced commits from develop.svn.wordpress.org due to a race condition. Thankfully, the history of this repository matters fairly little. It also happened only for trunk.


git-svn-id: http://core.svn.wordpress.org/trunk@25876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 02:29:52 +00:00
Drew Jaynes
412f9dffd4 Inline documentation for hooks in wp-admin/options-general.php.
Props siobhyb for the initial patch.
Fixes #25454.

Built from https://develop.svn.wordpress.org/trunk@25830


git-svn-id: http://core.svn.wordpress.org/trunk@25830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:57 +00:00
Andrew Nacin
8ae8e01b67 Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
see #27704.

Built from https://develop.svn.wordpress.org/trunk@25825


git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Ryan Boren
b87d4b77e5 Pinking shears
Built from https://develop.svn.wordpress.org/trunk@25880


git-svn-id: http://core.svn.wordpress.org/trunk@25792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 14:38:10 +00:00
Drew Jaynes
73f3f80a1d Inline documentation for hooks in wp-admin/options-general.php.
Props siobhyb for the initial patch.
Fixes #25454.

Built from https://develop.svn.wordpress.org/trunk@25830


git-svn-id: http://core.svn.wordpress.org/trunk@25742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 06:18:10 +00:00
Andrew Nacin
fd57b239d2 Don't rely on include_path to include files.
Always use dirname() or, once available, ABSPATH.

props ketwaroo, hakre.
fixes #17092.

Built from https://develop.svn.wordpress.org/trunk@25616


git-svn-id: http://core.svn.wordpress.org/trunk@25533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 00:18:11 +00:00
Andrew Nacin
f5130199fa Don't show the same time or date format twice on the General Settings page. This can occur if a translated format is the same as an existing default format. fixes #21060.
git-svn-id: http://core.svn.wordpress.org/trunk@22299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-25 20:15:47 +00:00
Andrew Nacin
1acd8b556f New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
Be on the lookout for weirdness.
props lessbloat. see #21456.



git-svn-id: http://core.svn.wordpress.org/trunk@22019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 19:57:44 +00:00
Andrew Nacin
40bd91c86f @since for some internal functions. props SergeyBiryukov, fixes #21886.
git-svn-id: http://core.svn.wordpress.org/trunk@21994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-25 02:24:58 +00:00
Andrew Nacin
b523c3d597 Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.
git-svn-id: http://core.svn.wordpress.org/trunk@21856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-15 19:49:21 +00:00
nacin
e09d2e6f76 Add line breaks before most form field descriptions (the italicized gray text on General Settings and other screens). props johnbillion, helenyhou, fixes #17390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-26 00:58:16 +00:00
nacin
8c841df86d Revert type="email" (HTML5) as some browsers that do validation on these fields do not work for IDN domains yet. Core does not support these well either, but server-side validation can at least be dealt with by a plugin. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 18:09:14 +00:00
azaozz
f3b63e4537 Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: http://svn.automattic.com/wordpress/trunk@20168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 01:23:48 +00:00
nacin
f2da91e134 New .ltr class for forcing elements to be LTR when using an RTL language. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:03:26 +00:00
ryan
340e93324c Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: http://svn.automattic.com/wordpress/trunk@19596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 17:36:38 +00:00
ryan
07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
nacin
15ceab2647 Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 04:31:01 +00:00
nacin
4c566cebc6 Help text tweaks for the Settings screens. props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:52:31 +00:00
koopersmith
3ede56505b In multisite, hide help text for single-site only options. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:23:04 +00:00
koopersmith
ed2c35ad0a Update help text on settings pages. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 16:58:58 +00:00
nacin
bfb98c193e s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:14:10 +00:00
ryan
3ad1f67958 Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 03:12:37 +00:00
ryan
4207722006 Use title case. Props trepmal. fixes #17773
git-svn-id: http://svn.automattic.com/wordpress/trunk@18533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 18:17:30 +00:00
ryan
98ea343717 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 21:59:45 +00:00
ryan
593659b8d0 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
westi
fda24a53ed Ensure we have a valid timezone identifier before trying to use it.
Validate the new timezone identifier during option update.
Fixes #17840.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-20 14:58:50 +00:00
nacin
9cb6e158fc Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00
ryan
8f8b8d16a7 Remove PHP4 timezone support. Props hakre. fixes #16970
git-svn-id: http://svn.automattic.com/wordpress/trunk@17637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:30:02 +00:00
scribu
86e27c44b9 Fix IE JS error in options-general.php. Props ocean90. Fixes #15680
git-svn-id: http://svn.automattic.com/wordpress/trunk@16736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 21:29:59 +00:00
nacin
d682c0b03d Disable static page dropdowns when 'latest posts' is selected on Settings > Reading. props koopersmith, fixes #15205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 19:20:52 +00:00
nacin
c202d85e48 Use correct class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 14:20:40 +00:00
nacin
5e1184aa57 Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:48:22 +00:00
scribu
1cce7d7830 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@15810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 19:58:06 +00:00
nacin
b0c538b9f1 Update via ajax the sample output of custom date/times on options-general. fixes #12636.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 03:29:57 +00:00
nacin
34c1fa6d0b target=blank for help. props jorbin, see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 21:00:39 +00:00
ryan
17129fb62e Cut 'em out, move 'em on, trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
nacin
a51aba7dd9 Help fixes, props jane. fixes #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 05:54:14 +00:00