Commit Graph

189 Commits

Author SHA1 Message Date
ryan
013d15ebd4 Help for Appearance screens. Props duck_, jane. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 18:27:13 +00:00
nacin
7389ea41ea Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
nacin
882678a29e Add action to top of widgets.php. props ptahdunbar, fixes #12190
git-svn-id: http://svn.automattic.com/wordpress/trunk@13525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 08:16:04 +00:00
nacin
00706d68ce Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: http://svn.automattic.com/wordpress/trunk@13256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:09: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
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
markjaquith
14f6764df9 Change 'Remove' link on widgets to 'Delete' because it doesn't just remove it, it deletes the settings for that widget instance. props Denis-de-Bernardy. fixes #10379
git-svn-id: http://svn.automattic.com/wordpress/trunk@12360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:51:36 +00:00
azaozz
f2dc806c22 Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
git-svn-id: http://svn.automattic.com/wordpress/trunk@12213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:12:16 +00:00
azaozz
491b68752b Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 09:53:37 +00:00
azaozz
954a1c3bac Fix warning in wp-admin/widgets.php when using Accessibility Mode on brand new install, fixes #10610
git-svn-id: http://svn.automattic.com/wordpress/trunk@11824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 01:56:21 +00:00
azaozz
a71b8736cd Add "Accessibility Mode" for widgets screen (can be turned on from Screen Options). Add set_user_setting() to the UI state saving functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-01 23:31:34 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
azaozz
13c7249671 Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 15:46:09 +00:00
azaozz
0632395ad6 Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 12:08:51 +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
azaozz
12924135ce Add wpspin_light and wpspin_dark spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 18:57:43 +00:00
azaozz
7d778bdaca Widgets UI improvements: arrows, some more help
git-svn-id: http://svn.automattic.com/wordpress/trunk@11166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 01:19:10 +00:00
azaozz
cd770d55a6 Do not import sidebars by index after switching themes, props Denis-de-Bernardy, see #9695
git-svn-id: http://svn.automattic.com/wordpress/trunk@11161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 07:53:54 +00:00
azaozz
83952bee95 Widgets UI styling, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 05:27:13 +00:00
azaozz
d409315d8c Add wpspin.gif and replace all spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 19:43:22 +00:00
azaozz
f7a6290580 Add some help for the widgets screen, make css class .description usable everywhere, fixes #5859
git-svn-id: http://svn.automattic.com/wordpress/trunk@11133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 02:33:22 +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
azaozz
4258da8a23 Remove remnants from widgets search, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 01:06:15 +00:00
azaozz
0200501698 Add and edit widget when js is disabled, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 10:58:50 +00:00
azaozz
47d717faaf Match old/new sidebars by index when switching themes, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 01:17:57 +00:00
azaozz
076dc80a08 Resizing and animation for widgets, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 01:17:59 +00:00
azaozz
123d7ee968 Widgets page, first run, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-11 14:37:24 +00:00
ryan
733e7592c6 Separate widget form and update callbacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 00:59:42 +00:00
ryan
87d69b6268 Fix notice. Props ionfish. fixes #9018
git-svn-id: http://svn.automattic.com/wordpress/trunk@10631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 06:12:53 +00:00
ryan
750459382b Use _n(). Props mrmist. fixes #9190
git-svn-id: http://svn.automattic.com/wordpress/trunk@10605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:22:34 +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
markjaquith
19177023c9 Move from generic "Save" to better "Update X", more consistent use of button-primary for major actions. fixes #8374. props azaozz, FFEMTcJ
git-svn-id: http://svn.automattic.com/wordpress/trunk@10137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:07:36 +00:00
markjaquith
b9b1b76b0b Add the screen_icon() for Widgetless themes too
git-svn-id: http://svn.automattic.com/wordpress/trunk@10033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 07:47:11 +00:00
markjaquith
93b7e3bde7 Better display and wording for themes with no widget-enabled sidebars
git-svn-id: http://svn.automattic.com/wordpress/trunk@10032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 07:44:16 +00:00
azaozz
7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
azaozz
17083f0ce8 Fix button styling inconsistency on settings pages, props sivel, fixes #7975
git-svn-id: http://svn.automattic.com/wordpress/trunk@9369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 20:41:05 +00:00
markjaquith
4d2d655490 Covering our XSS bases
git-svn-id: http://svn.automattic.com/wordpress/trunk@9233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:06:22 +00:00
markjaquith
61f911c42e Bring back the H2s. Rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:02:03 +00:00
azaozz
0ef5225b4c Fix widgets page when multiple class="wrap" are used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 01:18:33 +00:00
ryan
7be44ed338 Widgets page updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@9004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 20:26:26 +00:00
azaozz
f7f0523642 Fix the position of the search field on all admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 18:54:05 +00:00
westi
3a55217a16 Untrailingslash link. Fixes #7700 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 07:15:03 +00:00
westi
a6c8285e2d Make widget search a search box.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 07:11:17 +00:00
ryan
e5e0bd4710 Label colonectomy
git-svn-id: http://svn.automattic.com/wordpress/trunk@8839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-06 06:56:56 +00:00
westi
f68126a5ad We now have Widgitization documentation on the codex so link to it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 19:00:28 +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
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +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
7623315990 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 02:05:18 +00:00
ryan
fe4cab3d1f Fix text widget cropping in IE6. Props mdawaffe. fixes #6792 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 23:48:28 +00:00
ryan
957a61318b array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:09:51 +00:00
ryan
d9f9cd0375 Fix multi-widget addition with JS disabled. Props mdawaffe. see #6239
git-svn-id: http://svn.automattic.com/wordpress/trunk@7362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 23:25:05 +00:00
ryan
8e7f26b498 Remove unfinished widget contextual help. Pros mdawaffe. fixes #6203
git-svn-id: http://svn.automattic.com/wordpress/trunk@7345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 18:07:06 +00:00
ryan
89bc5d972f Avoid integer overflow with widget IDs. Props mdawaffe. fixes #6210
git-svn-id: http://svn.automattic.com/wordpress/trunk@7281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 06:48:23 +00:00
ryan
121991894a Make titles for multiple instances of a widget distinct. Props mdawaffe. fixes #6108
git-svn-id: http://svn.automattic.com/wordpress/trunk@7219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 23:23:32 +00:00
ryan
8768a5eed8 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@7208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 08:38:17 +00:00
ryan
45a072ddee Relocate Save Changes button. Props mdawaffe. fixes #6118
git-svn-id: http://svn.automattic.com/wordpress/trunk@7192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 05:19:12 +00:00
ryan
90ef210610 Validation fixes from nbachiyski. fixes #5962
git-svn-id: http://svn.automattic.com/wordpress/trunk@6980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:30:43 +00:00
ryan
2c874f5189 Admin styling updates from mt. fixes #5940
git-svn-id: http://svn.automattic.com/wordpress/trunk@6950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:27:23 +00:00
ryan
b97f4b5e10 Standardize button and select treatments. Props mt. fixes #5925
git-svn-id: http://svn.automattic.com/wordpress/trunk@6918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 20:33:59 +00:00
ryan
f8be8cb880 Widget interface updates from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 21:57:54 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
b897b88430 No need to re-register widgets. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:51:10 +00:00
ryan
9f643af85d Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:38:48 +00:00
ryan
4f56c35980 Widget admin redesign from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 23:34:33 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
014915caea Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: http://svn.automattic.com/wordpress/trunk@5965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:23:38 +00:00
ryan
7c0ecf6202 jquery for widgets admin. Props filosofo. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@5934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 22:34:15 +00:00
ryan
96aba6a4c7 RTL CSS fixes from sewar. fixes #4655
git-svn-id: http://svn.automattic.com/wordpress/trunk@5884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:49:32 +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
rob1n
cac67278d2 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:37:51 +00:00
rob1n
e623c78708 Run the i through the parseInt to avoid IE 7 errors. fixes #4268
git-svn-id: http://svn.automattic.com/wordpress/trunk@5520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 22:52:29 +00:00
rob1n
4e6e08e11d Doh. fixes #4292
git-svn-id: http://svn.automattic.com/wordpress/trunk@5496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 23:44:37 +00:00
ryan
7a3c62d0dd Fix widget admin layout for IE7. Props Denis-de-Bernardy. fixes #4264 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 17:24:25 +00:00
matt
537f72cffb This button gets buried, especially when you have a lot of widgets, and it needs to be at the top too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-14 03:39:05 +00:00
ryan
272fbe5c8a Left, right, dragChange, hop. s/left/right/. Props Lawrence Pit. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 21:18:21 +00:00
ryan
b311e786fe Do a cap check at the top of widgets since it won't always inherit the menu cap check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 17:52:22 +00:00
rob1n
b06cdd876f Move widgets' JS into the <head> of widgets.php. Should fix text/rss widget controls. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-29 20:16:26 +00:00
rob1n
1f39b8dce7 Widgets RTL CSS, and a few little widget bugfixes. Props Sewar. fixes #4185
git-svn-id: http://svn.automattic.com/wordpress/trunk@5324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 00:51:19 +00:00
rob1n
309491de6d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: http://svn.automattic.com/wordpress/trunk@5316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:13:18 +00:00
rob1n
bc90e51a2f Variable name fix. Props filosofo. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 03:02:28 +00:00
rob1n
03e6c2ed9a Widgets for 2.3. fixes #4186
git-svn-id: http://svn.automattic.com/wordpress/trunk@5297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 01:05:17 +00:00