Commit Graph

236 Commits

Author SHA1 Message Date
nacin 20eae9d24a Use disabled() form helper. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:12:23 +00:00
wpmuguru c1b0c8e8c9 Display a warning when processing an unregistered setting, see #11730
git-svn-id: http://svn.automattic.com/wordpress/trunk@13646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 17:44:32 +00:00
dd32 c21bb61eaf Cleanup of options.php. Adds concise&early wp_die()'s, reformats some poorly chosen branching. See #12455
git-svn-id: http://svn.automattic.com/wordpress/trunk@13627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:57:49 +00:00
dd32 44308debbe Restore MultiSite checks on Upload settings, Add proper whitelisting. Props Denis-de-Bernardy. Fixes #11687
git-svn-id: http://svn.automattic.com/wordpress/trunk@13545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 10:31:06 +00:00
dd32 90637984b6 Move Upload folder settings to Options -> Media. Props nacin. Fixes #11687
git-svn-id: http://svn.automattic.com/wordpress/trunk@13529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 12:13:15 +00:00
nacin 833f47778f Fix typo in [13471]. Props miqrogroove, see #12417
git-svn-id: http://svn.automattic.com/wordpress/trunk@13472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 22:54:40 +00:00
nacin 473ef7d459 Make it more obvious we're escaping values in options.php. fixes #12417
git-svn-id: http://svn.automattic.com/wordpress/trunk@13471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 22:50:00 +00:00
ryan 08bb3568c6 Option validation error reporting. Props jeremyclarke. see #11474
git-svn-id: http://svn.automattic.com/wordpress/trunk@13177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 17:50:42 +00:00
ryan 9469c9f02a Deprecate mu_options. Integrate directly into options.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 21:33:49 +00:00
ryan 94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
ryan 8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
ryan 6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
wpmuguru 346f859e12 merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:11:52 +00:00
ryan 95835a693a Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:16:36 +00:00
ryan 4aca3ca146 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:16:00 +00:00
ryan eae8a055c6 Include admin-footer in options.php only for the default case. Avoids warning about hook_suffix not being set when POSTing to options.php. see #10131
git-svn-id: http://svn.automattic.com/wordpress/trunk@12337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 01:11:02 +00:00
ryan cca2279a4d Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 14:41:35 +00:00
ryan 410fcc2e42 Embeds. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
markjaquith 6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan 38b53fb9bf Remove My Hacks option. Props filosofo. fixes #9551
git-svn-id: http://svn.automattic.com/wordpress/trunk@10964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:58:20 +00:00
ryan d8c9781995 Timezone support. Props Otto42. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 00:50:00 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
azaozz f0b7562b48 More screen icons and fixes, includes patch by johnconners, fixes #8380
git-svn-id: http://svn.automattic.com/wordpress/trunk@9912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 23:35:23 +00:00
markjaquith db9364955d Remove top "Save" button from options.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@9776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 05:08:58 +00:00
markjaquith 00ced576ac Save "Full URL path to files" option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:59:37 +00:00
ryan 2fdde1e736 Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:22:24 +00:00
ryan 77fbd159c2 Remove unused gzipcompression option
git-svn-id: http://svn.automattic.com/wordpress/trunk@9487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:27:42 +00:00
westi 416ee57673 Move inline styles to the stylesheets. Fixes #7985 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 22:07:39 +00:00
ryan a36f3d0ed6 Move 'Users must be registered and logged in to comment' setting to Discussion page. Props MtDewVirus. fixes #6652
git-svn-id: http://svn.automattic.com/wordpress/trunk@9368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 17:03:20 +00:00
markjaquith edc8069294 Do not put an overline for submit buttons at the top (TODO: figure out our style for options pages)
git-svn-id: http://svn.automattic.com/wordpress/trunk@9320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:45:58 +00:00
ryan 91841f2e3c Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: http://svn.automattic.com/wordpress/trunk@9296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:08:47 +00:00
ryan 7e0e1ac42d Don't require use of options whitelisting. Will give plugins more notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 00:40:36 +00:00
matt 042719a152 Bug fix for date/time presets. Hat tip: Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 01:43:04 +00:00
ryan 91950354e9 Date and time presets from Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 18:32:16 +00:00
ryan 8ccfa6b114 Save default avatar pref. Props Viper007Bond. fixes #7825
git-svn-id: http://svn.automattic.com/wordpress/trunk@9066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 16:41:42 +00:00
ryan 04ce449e3c First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-23 21:11:27 +00:00
ryan d93df1ae1e Remove image options from misc options whitelist. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 22:38:29 +00:00
ryan 7fb115c7dd Move media settings to options-media.php. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 22:37:49 +00:00
ryan ef80502b9a Close comments for old posts. see #7741
git-svn-id: http://svn.automattic.com/wordpress/trunk@8892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 16:26:37 +00:00
westi 08240cf1f9 Allow people to update home again! See #7277.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 18:37:40 +00:00
ryan bcc617c59c Add settings registration and whitelisting. Props donncha. see #7277
git-svn-id: http://svn.automattic.com/wordpress/trunk@8802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 01:11:18 +00:00
ryan d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
westi 3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan ece9c26f6f Change niceblue class name to form-table. Props filosofo and mt. fixes #5973
git-svn-id: http://svn.automattic.com/wordpress/trunk@7000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 04:33:10 +00:00
westi a93e4504f6 Styling updates for the options.php. Fixes #5958 props fitztrev.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 07:44:36 +00:00
ryan 778357c0bc Styling updates for settings pages. Props hansengel. see #5851
git-svn-id: http://svn.automattic.com/wordpress/trunk@6838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 02:46:08 +00:00
ryan 968682dea6 Options are called Settings now. Props hansengel. see #5850
git-svn-id: http://svn.automattic.com/wordpress/trunk@6833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 00:39:38 +00:00
ryan 7bdf6d6c6e Remove redundant url filter. fixes #4663
git-svn-id: http://svn.automattic.com/wordpress/trunk@6042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:44:58 +00:00
markjaquith 98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
ryan 8c8c1cb4f7 Remove unused var. Props johnjosephbachir. fixes #4764
git-svn-id: http://svn.automattic.com/wordpress/trunk@6023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 20:06:27 +00:00
ryan 84f43891f6 Don't trim option arrays on save. Props m0n5t3r, Nazgul. fixes #4571
git-svn-id: http://svn.automattic.com/wordpress/trunk@5886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 19:55:19 +00:00
markjaquith f28dad8261 Sanitize option names in option.php, use current escaping functions. for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-01 19:24:51 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan 92e7d3c3bc Make sure sanitize_option() is always called when updating options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 02:22:30 +00:00
markjaquith 3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
markjaquith d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith 5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan eda9021317 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 07:31:29 +00:00
matt 07126127e6 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: http://svn.automattic.com/wordpress/trunk@4478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 06:09:48 +00:00
markjaquith 21d1fc231c cleanup [4382] a bit
git-svn-id: http://svn.automattic.com/wordpress/trunk@4383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 00:23:25 +00:00
markjaquith 854cf56a7d Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: http://svn.automattic.com/wordpress/trunk@4382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-12 23:54:36 +00:00
markjaquith 2c1907d29f CSS and consistency fixes for options.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@4336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 12:58:05 +00:00
markjaquith 12a455c39d Prevent non-option form elements from sneaking in to the options table. fixes #2595
git-svn-id: http://svn.automattic.com/wordpress/trunk@4332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 12:18:28 +00:00
markjaquith 3c6648e96c preserve multi-line options in options.php. Props Viper007Bond. fixes #2456
git-svn-id: http://svn.automattic.com/wordpress/trunk@4330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 11:28:38 +00:00
markjaquith b869fd07f8 options stripslashes-fu by mdawaffe. #3095
git-svn-id: http://svn.automattic.com/wordpress/trunk@4329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 11:02:31 +00:00
ryan 5898bcca41 Move home and siteurl update events to action hooks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-08 21:42:05 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan 207d876c81 Make those chars feel special.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 22:33:16 +00:00
ryan 4e5380a24a wp_die() improvements from Sewar. fixes #2902
git-svn-id: http://svn.automattic.com/wordpress/trunk@4006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-10 05:29:10 +00:00
ryan 55af15d623 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: http://svn.automattic.com/wordpress/trunk@3946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-03 19:03:37 +00:00
ryan 9876a3606f wp_get_referer() and friends from robmiller and markjaquith. fixes #2800
git-svn-id: http://svn.automattic.com/wordpress/trunk@3908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 05:38:37 +00:00
ryan 3f57a94f4c Nonce from above. #2678
git-svn-id: http://svn.automattic.com/wordpress/trunk@3759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-02 22:36:06 +00:00
ryan 97355f28fd Escape single quotes in options.php. fixes #2656
git-svn-id: http://svn.automattic.com/wordpress/trunk@3710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-17 23:33:08 +00:00
ryan 5322fc2faa current user cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 19:08:55 +00:00
ryan dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan 88e32d34fc Add upload folder options. Props David House. fixes #2206
git-svn-id: http://svn.automattic.com/wordpress/trunk@3413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:24:57 +00:00
ryan 305a286ce1 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: http://svn.automattic.com/wordpress/trunk@3373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 07:05:05 +00:00
ryan e4a74710df Remove unnecessary quotes. Props technosailor. fixes #1990
git-svn-id: http://svn.automattic.com/wordpress/trunk@3241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:27:39 +00:00
ryan 5f83a2a756 Filter blog name and description through kses. Props donncha. fixes #1931
git-svn-id: http://svn.automattic.com/wordpress/trunk@3187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 18:28:32 +00:00
ryan 3f20184aa3 Cleanup options save.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-12 09:36:20 +00:00
ryan 8e154dc493 Options fixes from donncha. fixes #1859
git-svn-id: http://svn.automattic.com/wordpress/trunk@3023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 18:15:55 +00:00
matt 887422e56f Minor tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@2763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-08 03:28:37 +00:00
ryan 508e55acd2 More cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 02:16:45 +00:00
matt 1f4e4017d2 Allow filtering of options
git-svn-id: http://svn.automattic.com/wordpress/trunk@2624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-10 08:51:40 +00:00
ryan 5be251dbe9 Mark 'All options' for translation. http://mosquito.wordpress.org/view.php?id=1281 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-23 17:36:33 +00:00
ryan 381e0879d0 Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: http://svn.automattic.com/wordpress/trunk@2526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-10 20:07:46 +00:00
ryan f1ccc3d222 If home changes, write rewrite rules to new location. http://mosquito.wordpress.org/view.php?id=1143
git-svn-id: http://svn.automattic.com/wordpress/trunk@2494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 16:36:08 +00:00
ryan 3505b7172a Don't double encode options. http://mosquito.wordpress.org/view.php?id=1151 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 06:34:23 +00:00
ryan 8b36e6be3a Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: http://svn.automattic.com/wordpress/trunk@2436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 16:36:09 +00:00
saxmatt 729562e1c2 No bad HTML when there's quotes in options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:39:17 +00:00
saxmatt 89dcce8b1f Set closed for nonbools when blank - http://mosquito.wordpress.org/view.php?id=550
git-svn-id: http://svn.automattic.com/wordpress/trunk@2308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 00:04:58 +00:00
saxmatt 03cf86ffed Be nicer to alpha geeks - http://mosquito.wordpress.org/view.php?id=300
git-svn-id: http://svn.automattic.com/wordpress/trunk@2307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 23:58:45 +00:00
saxmatt 91dd2f77b9 Another place we need to double encode
git-svn-id: http://svn.automattic.com/wordpress/trunk@2143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 10:09:01 +00:00
rboren 122c114cd6 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 04:56:24 +00:00
saxmatt 3440138f04 Trim updated options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:39:18 +00:00
saxmatt c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
saxmatt efa798a2af Userlevel 6 on options page
git-svn-id: http://svn.automattic.com/wordpress/trunk@1915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-07 20:12:34 +00:00
rboren 0bebcf246f Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 21:28:37 +00:00
rboren 04786f267d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
saxmatt c1f391ae7e Better redirect cleaning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 16:22:31 +00:00
saxmatt c59a8a8119 Changes to how we do redirects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:35:22 +00:00
donncha b28a9e34b0 The two flags "default_ping_status" and "default_comment_status" weren't being
recorded properly.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 13:05:06 +00:00
saxmatt c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
saxmatt 009d89ec5b Remove optiongroup_options table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:15:46 +00:00
saxmatt 6b43f65c25 Remove optiongroups table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:09:21 +00:00
rboren c6e7c51122 Fix variable name typo. Patch from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-03 21:50:06 +00:00
rboren 6fd6b1080d stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
rboren 25bdc0791c Mark some strings for translation and improve string consistency. From Albert. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000024
git-svn-id: http://svn.automattic.com/wordpress/trunk@1420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 16:14:58 +00:00
saxmatt 8357db3dcf J. Scott's fix pretty majorly broke options. Rolback.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 09:48:13 +00:00
saxmatt 53dade6946 Some fixes from Joeseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-01 10:01:15 +00:00
saxmatt 25ae03ee65 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
saxmatt 223c4628ce Some fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 08:38:34 +00:00
saxmatt cf06e8e7f6 Gremlins in the options machine.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 20:31:41 +00:00
saxmatt a77e7172dc Style the submit button on options group and add updated message to permalink page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 04:56:29 +00:00
rboren b09cc8bd90 Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 20:04:40 +00:00
saxmatt c226bd74b0 Cleaned up unused options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:21:19 +00:00
saxmatt 10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
saxmatt 5cc3f8d3e1 Massive admin tweak commit. Improved consistency, numerous bug fixes, redesigned link forms, tweaked options more, left the ugly grey bar I didn't mean to add in the first place but tweaked it too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-19 08:09:27 +00:00
saxmatt 3877acb7e3 More options improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-14 21:23:52 +00:00
saxmatt 5a49a4d411 More options work. Bug fixes for advanced_edit not being boolean type, clean up of options code and update feedback (still needs work there), first bit of miscellaneous screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-11 08:15:10 +00:00
emc3 16e6fd76ea Fixed bug that caused empty string options to receive a '0' value on update. This was breaking fileupload_allowedusers, for example.
git-svn-id: http://svn.automattic.com/wordpress/trunk@978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-16 17:36:56 +00:00
saxmatt 75c8c3a72e More options improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-11 08:51:50 +00:00
saxmatt a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt 0174984f7f Option fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 14:37:15 +00:00
rboren b3574c0daf Set $standalone to 1 for the update case to avoid headers already sent error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-16 00:44:07 +00:00
saxmatt 0a38396833 Abstraction of a admin functions, new custom options page for general options, improved style.
git-svn-id: http://svn.automattic.com/wordpress/trunk@869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 09:59:47 +00:00
mikelittle 63f1c3e3cf Oops! I forgot thew dl tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 00:47:01 +00:00
saxmatt 99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
mikelittle e79ab010c2 Default page if no group selected.
git-svn-id: http://svn.automattic.com/wordpress/trunk@620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-17 01:07:40 +00:00
mikelittle cb76dc4f33 Now we can see which option group we are editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-17 00:36:29 +00:00
saxmatt 43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00