Commit Graph

84 Commits

Author SHA1 Message Date
Ryan Boren 54ff897f1a Remove redundant url filter. fixes #4663
git-svn-id: https://develop.svn.wordpress.org/trunk@6042 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 22:44:58 +00:00
Mark Jaquith 88a4c73ec2 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: https://develop.svn.wordpress.org/trunk@6039 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 19:20:53 +00:00
Ryan Boren d25a0027ab Remove unused var. Props johnjosephbachir. fixes #4764
git-svn-id: https://develop.svn.wordpress.org/trunk@6023 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 20:06:27 +00:00
Ryan Boren f8084919be Don't trim option arrays on save. Props m0n5t3r, Nazgul. fixes #4571
git-svn-id: https://develop.svn.wordpress.org/trunk@5886 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 19:55:19 +00:00
Mark Jaquith 35621d27ab Sanitize option names in option.php, use current escaping functions. for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5832 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-01 19:24:51 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren c018ceb6bd Make sure sanitize_option() is always called when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@5541 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 02:22:30 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren 7e226f1a94 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4480 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 07:31:29 +00:00
Matt Mullenweg 6af3bdbb32 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: https://develop.svn.wordpress.org/trunk@4478 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 06:09:48 +00:00
Mark Jaquith f0a421f185 cleanup [4382] a bit
git-svn-id: https://develop.svn.wordpress.org/trunk@4383 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 00:23:25 +00:00
Mark Jaquith 41ace9de74 Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: https://develop.svn.wordpress.org/trunk@4382 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 23:54:36 +00:00
Mark Jaquith 397a673dcd CSS and consistency fixes for options.php
git-svn-id: https://develop.svn.wordpress.org/trunk@4336 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 12:58:05 +00:00
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