Commit Graph

169 Commits

Author SHA1 Message Date
Mark Jaquith
191607d7bd Prevent non-option form elements from sneaking in to the options table. fixes #2595
git-svn-id: https://develop.svn.wordpress.org/trunk@4332 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 12:18:28 +00:00
Mark Jaquith
96f6de2526 preserve multi-line options in options.php. Props Viper007Bond. fixes #2456
git-svn-id: https://develop.svn.wordpress.org/trunk@4330 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 11:28:38 +00:00
Mark Jaquith
7796ff4311 options stripslashes-fu by mdawaffe. #3095
git-svn-id: https://develop.svn.wordpress.org/trunk@4329 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 11:02:31 +00:00
Ryan Boren
bb74bd1d1b Move home and siteurl update events to action hooks.
git-svn-id: https://develop.svn.wordpress.org/trunk@4175 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-08 21:42:05 +00:00
Ryan Boren
7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren
4a9ad00205 Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 22:33:16 +00:00
Ryan Boren
4591c517ce wp_die() improvements from Sewar. fixes #2902
git-svn-id: https://develop.svn.wordpress.org/trunk@4006 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 05:29:10 +00:00
Ryan Boren
0474f077f0 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: https://develop.svn.wordpress.org/trunk@3946 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-03 19:03:37 +00:00
Ryan Boren
dbbb1802b6 wp_get_referer() and friends from robmiller and markjaquith. fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3908 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 05:38:37 +00:00
Ryan Boren
fcfda4db13 Nonce from above. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3759 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:36:06 +00:00
Ryan Boren
e76c8695e1 Escape single quotes in options.php. fixes #2656
git-svn-id: https://develop.svn.wordpress.org/trunk@3710 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-17 23:33:08 +00:00
Ryan Boren
cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
ad6ed9c744 Add upload folder options. Props David House. fixes #2206
git-svn-id: https://develop.svn.wordpress.org/trunk@3413 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:24:57 +00:00
Ryan Boren
5be951ca28 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: https://develop.svn.wordpress.org/trunk@3373 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 07:05:05 +00:00
Ryan Boren
95c090d08d Remove unnecessary quotes. Props technosailor. fixes #1990
git-svn-id: https://develop.svn.wordpress.org/trunk@3241 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 07:27:39 +00:00
Ryan Boren
e215f6a066 Filter blog name and description through kses. Props donncha. fixes #1931
git-svn-id: https://develop.svn.wordpress.org/trunk@3187 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 18:28:32 +00:00
Ryan Boren
f10f98f0a7 Cleanup options save.
git-svn-id: https://develop.svn.wordpress.org/trunk@3054 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-12 09:36:20 +00:00
Ryan Boren
2077dcaf16 Options fixes from donncha. fixes #1859
git-svn-id: https://develop.svn.wordpress.org/trunk@3023 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 18:15:55 +00:00
Matt Mullenweg
5998b3db15 Minor tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@2763 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-08 03:28:37 +00:00
Ryan Boren
9527e184fe More cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2714 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 02:16:45 +00:00
Matt Mullenweg
5a7601b50c Allow filtering of options
git-svn-id: https://develop.svn.wordpress.org/trunk@2624 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 08:51:40 +00:00
Ryan Boren
c2ca4a6f4e Mark 'All options' for translation. http://mosquito.wordpress.org/view.php?id=1281 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2573 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-23 17:36:33 +00:00
Ryan Boren
1c623ee737 Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: https://develop.svn.wordpress.org/trunk@2526 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-10 20:07:46 +00:00
Ryan Boren
bb00ba2e95 If home changes, write rewrite rules to new location. http://mosquito.wordpress.org/view.php?id=1143
git-svn-id: https://develop.svn.wordpress.org/trunk@2494 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 16:36:08 +00:00
Ryan Boren
135a0fc62d Don't double encode options. http://mosquito.wordpress.org/view.php?id=1151 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2470 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 06:34:23 +00:00
Ryan Boren
df3fb34a70 Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Matt Mullenweg
5e087090d8 No bad HTML when there's quotes in options.
git-svn-id: https://develop.svn.wordpress.org/trunk@2322 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:39:17 +00:00
Matt Mullenweg
c4a202338e Set closed for nonbools when blank - http://mosquito.wordpress.org/view.php?id=550
git-svn-id: https://develop.svn.wordpress.org/trunk@2308 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 00:04:58 +00:00
Matt Mullenweg
4d7f88149a Be nicer to alpha geeks - http://mosquito.wordpress.org/view.php?id=300
git-svn-id: https://develop.svn.wordpress.org/trunk@2307 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 23:58:45 +00:00
Matt Mullenweg
e78ceee3fc Another place we need to double encode
git-svn-id: https://develop.svn.wordpress.org/trunk@2143 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 10:09:01 +00:00
Ryan Boren
39baae5246 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: https://develop.svn.wordpress.org/trunk@2107 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 04:56:24 +00:00
Matt Mullenweg
e37acd9362 Trim updated options.
git-svn-id: https://develop.svn.wordpress.org/trunk@2067 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:39:18 +00:00
Matt Mullenweg
953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg
8f20ed5791 Userlevel 6 on options page
git-svn-id: https://develop.svn.wordpress.org/trunk@1915 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-07 20:12:34 +00:00
Ryan Boren
fb09e46ffe Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1823 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 21:28:37 +00:00
Ryan Boren
ed78ed9a2d 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: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Matt Mullenweg
112d84ee01 Better redirect cleaning.
git-svn-id: https://develop.svn.wordpress.org/trunk@1751 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 16:22:31 +00:00
Matt Mullenweg
4cf19662eb Changes to how we do redirects.
git-svn-id: https://develop.svn.wordpress.org/trunk@1748 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 08:35:22 +00:00
Donncha O Caoimh
7e597f05a4 The two flags "default_ping_status" and "default_comment_status" weren't being
recorded properly.


git-svn-id: https://develop.svn.wordpress.org/trunk@1681 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 13:05:06 +00:00
Matt Mullenweg
6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Matt Mullenweg
9c1d725609 Remove optiongroup_options table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1597 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:15:46 +00:00
Matt Mullenweg
1536ef3d40 Remove optiongroups table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1596 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:09:21 +00:00
Ryan Boren
62186b5a46 Fix variable name typo. Patch from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@1587 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 21:50:06 +00:00
Ryan Boren
475e0b9e07 stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
Ryan Boren
0dfe8ffc7f 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: https://develop.svn.wordpress.org/trunk@1420 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-13 16:14:58 +00:00
Matt Mullenweg
91d8e3dfe5 J. Scott's fix pretty majorly broke options. Rolback.
git-svn-id: https://develop.svn.wordpress.org/trunk@1403 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 09:48:13 +00:00
Matt Mullenweg
b272e415af Some fixes from Joeseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@1379 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-01 10:01:15 +00:00
Matt Mullenweg
717855f007 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: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
Matt Mullenweg
31cf5b8871 Some fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1273 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 08:38:34 +00:00
Matt Mullenweg
2608fbf8a9 Gremlins in the options machine.
git-svn-id: https://develop.svn.wordpress.org/trunk@1206 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 20:31:41 +00:00
Matt Mullenweg
2802ac4409 Style the submit button on options group and add updated message to permalink page.
git-svn-id: https://develop.svn.wordpress.org/trunk@1198 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 04:56:29 +00:00
Ryan Boren
e88d927052 Mark strings for translation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1171 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-25 20:04:40 +00:00
Matt Mullenweg
17fe19e626 Cleaned up unused options.
git-svn-id: https://develop.svn.wordpress.org/trunk@1148 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:21:19 +00:00
Matt Mullenweg
94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
Matt Mullenweg
637f6f3b8a 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: https://develop.svn.wordpress.org/trunk@1100 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-19 08:09:27 +00:00
Matt Mullenweg
a87b51c94c More options improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1072 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-14 21:23:52 +00:00
Matt Mullenweg
25ebd64d7d 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: https://develop.svn.wordpress.org/trunk@1058 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-11 08:15:10 +00:00
Dougal Campbell
fffefba32c Fixed bug that caused empty string options to receive a '0' value on update. This was breaking fileupload_allowedusers, for example.
git-svn-id: https://develop.svn.wordpress.org/trunk@978 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-16 17:36:56 +00:00
Matt Mullenweg
f9c84d6edf More options improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@969 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-11 08:51:50 +00:00
Matt Mullenweg
e64b754d4a Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 19:55:45 +00:00
Matt Mullenweg
84b26cfde9 Option fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@939 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 14:37:15 +00:00
Ryan Boren
b4a9535a13 Set $standalone to 1 for the update case to avoid headers already sent error.
git-svn-id: https://develop.svn.wordpress.org/trunk@874 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-16 00:44:07 +00:00
Matt Mullenweg
1213208d71 Abstraction of a admin functions, new custom options page for general options, improved style.
git-svn-id: https://develop.svn.wordpress.org/trunk@869 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-13 09:59:47 +00:00
Mike Little
cb7370859c Oops! I forgot thew dl tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@641 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-23 00:47:01 +00:00
Matt Mullenweg
ccc413011a Renaming Reloaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 09:36:13 +00:00
Mike Little
6467aad228 Default page if no group selected.
git-svn-id: https://develop.svn.wordpress.org/trunk@620 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-17 01:07:40 +00:00
Mike Little
d3d91bcc3c Now we can see which option group we are editing
git-svn-id: https://develop.svn.wordpress.org/trunk@619 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-17 00:36:29 +00:00
Matt Mullenweg
9c6a0a9403 The great renaming.
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00