Commit Graph

157 Commits

Author SHA1 Message Date
Ryan Boren
9e7890c3f6 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@18386 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 21:59:45 +00:00
Ryan Boren
091ec81919 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Peter Westwood
41d548231e 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: https://develop.svn.wordpress.org/trunk@18323 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 14:58:50 +00:00
Andrew Nacin
f504e221e1 Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Ryan Boren
95d1619373 Remove PHP4 timezone support. Props hakre. fixes #16970
git-svn-id: https://develop.svn.wordpress.org/trunk@17637 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 17:30:02 +00:00
scribu
f0728ade8f Fix IE JS error in options-general.php. Props ocean90. Fixes #15680
git-svn-id: https://develop.svn.wordpress.org/trunk@16736 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 21:29:59 +00:00
Andrew Nacin
f392876ac7 Disable static page dropdowns when 'latest posts' is selected on Settings > Reading. props koopersmith, fixes #15205.
git-svn-id: https://develop.svn.wordpress.org/trunk@15946 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 19:20:52 +00:00
Andrew Nacin
a2061db4b5 Use correct class.
git-svn-id: https://develop.svn.wordpress.org/trunk@15889 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:20:40 +00:00
Andrew Nacin
fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
scribu
baa3e083c7 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15810 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:58:06 +00:00
Andrew Nacin
617945e60c Update via ajax the sample output of custom date/times on options-general. fixes #12636.
git-svn-id: https://develop.svn.wordpress.org/trunk@15757 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 03:29:57 +00:00
Andrew Nacin
53d3846f6a target=blank for help. props jorbin, see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15132 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 21:00:39 +00:00
Ryan Boren
0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Andrew Nacin
8c693e492e Help fixes, props jane. fixes #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15103 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 05:54:14 +00:00
Andrew Nacin
f1e5699091 Settings help. props duck_, see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15000 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 19:05:59 +00:00
Nikolay Bachiyski
432ac03fb2 Menu translatable strings cleanup.
* Take out <strong> of the translatable part of For more information:
 * Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes


git-svn-id: https://develop.svn.wordpress.org/trunk@14989 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:52:15 +00:00
Ryan Boren
00d3a91437 Show local time when a UTC offset is selected. Props ktdreyer. fixes #13408
git-svn-id: https://develop.svn.wordpress.org/trunk@14746 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 16:25:55 +00:00
Nikolay Bachiyski
6eba1c3232 Use get_available_languages() in options-general.php instead of manually looping on the language dir. Props sivel. Fixes #13023
git-svn-id: https://develop.svn.wordpress.org/trunk@14416 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:06:49 +00:00
Ryan Boren
57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin
10057340f7 We're not lame if they don't have the PHP 5 DateTime library. Change the message when there is no timezone support. props neoxx, fixes #12580.
git-svn-id: https://develop.svn.wordpress.org/trunk@13990 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 08:15:20 +00:00
Andrew Nacin
12ac793e78 Change "Blog" to "Site" in the Settings panels.
git-svn-id: https://develop.svn.wordpress.org/trunk@13750 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:46:25 +00:00
Andrew Nacin
a56fef6907 Only show multisite admin email notice if the email was changed. Add a "Cancel" link so the nag doesn't stay forever if the admin ends up not changing the email. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13705 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:18:00 +00:00
Ryan Boren
9d7ec14d5b Fix DST/Standard transition display.
git-svn-id: https://develop.svn.wordpress.org/trunk@13702 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 01:57:36 +00:00
Andrew Nacin
82bc5eb308 Simplify hackish logic. props miqrogroove. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13663 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:30:02 +00:00
Andrew Nacin
8d0a3589c9 Use disabled() form helper. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Dion Hulse
ea2b254de0 Code standards cleanup for wp-admin/options-general.php
git-svn-id: https://develop.svn.wordpress.org/trunk@13606 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 09:49:11 +00:00
Dion Hulse
6200c24c13 Fix HTML Validation. Props wahgnube. Fixes #12530.
git-svn-id: https://develop.svn.wordpress.org/trunk@13605 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 09:47:38 +00:00
Andrew Nacin
4c74091898 Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13446 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:19:10 +00:00
Andrew Nacin
9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Ryan Boren
f260b32d25 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Ryan Boren
e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Ryan Boren
8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren
b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ron Rennick
d0f31a991c merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12712 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:11:52 +00:00
Ryan Boren
65658aacbf Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12507 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:16:36 +00:00
Ryan Boren
98b8d02a40 Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11761 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:12:17 +00:00
Ryan Boren
4c4602f689 Optimize timezone dropdown creation. Props sambauers. fixes #10125 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11597 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-18 17:40:40 +00:00
Mark Jaquith
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Ryan Boren
c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Mark Jaquith
a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00
Ryan Boren
9a1ebaa73b Fix hiding off offscreen legends in Firefox. Props Denis-de-Bernardy. fixes #9783
git-svn-id: https://develop.svn.wordpress.org/trunk@11283 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 22:11:13 +00:00
Mark Jaquith
c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz
3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren
4a047f4240 Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 21:28:58 +00:00
Andrew Ozz
84c56e062e Add some help for the widgets screen, make css class .description usable everywhere, fixes #5859
git-svn-id: https://develop.svn.wordpress.org/trunk@11133 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 02:33:22 +00:00
Ryan Boren
3b7130bbae attr escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11110 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 06:37:51 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Andrew Ozz
f60d4148d1 Remove code class from some input fields, add to URL input fields, props johnbillion, fixes #8383
git-svn-id: https://develop.svn.wordpress.org/trunk@10971 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:04:00 +00:00
Ryan Boren
7f9bf59265 Fix sign problem when converting from gmt_offset to new Etc/GMT timezone. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10962 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:17:13 +00:00