Commit Graph

117 Commits

Author SHA1 Message Date
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