Commit Graph

8429 Commits

Author SHA1 Message Date
Ryan Boren
f82a14802e Use correct keys
git-svn-id: https://develop.svn.wordpress.org/trunk@17996 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:21:34 +00:00
Ryan Boren
57b6c9aeda Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: https://develop.svn.wordpress.org/trunk@17994 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:19:42 +00:00
Ryan Boren
2c719f4420 Use esc_url() once again.
git-svn-id: https://develop.svn.wordpress.org/trunk@17993 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:19:12 +00:00
Ryan Boren
79b7818f15 Add a nonce.
git-svn-id: https://develop.svn.wordpress.org/trunk@17992 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:18:58 +00:00
Andrew Nacin
6076211cc6 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: https://develop.svn.wordpress.org/trunk@17989 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 22:30:05 +00:00
Andrew Nacin
b25c4e7cb3 Add option_page_capability_$option_page filter. see #14365.
git-svn-id: https://develop.svn.wordpress.org/trunk@17986 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:32:22 +00:00
Andrew Nacin
8e17573655 Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536.
git-svn-id: https://develop.svn.wordpress.org/trunk@17984 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:24:32 +00:00
Andrew Ozz
730f9550ec Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: https://develop.svn.wordpress.org/trunk@17983 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-21 17:11:13 +00:00
Andrew Nacin
ae2bf93559 s/add_css/_wp_credits_add_css/. props dimadin, see #17532.
git-svn-id: https://develop.svn.wordpress.org/trunk@17980 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-21 14:01:03 +00:00
Andrew Ozz
7228202817 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: https://develop.svn.wordpress.org/trunk@17979 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-20 22:47:36 +00:00
Andrew Nacin
2b6feaa8ae Remove non-functional vestigal code.
git-svn-id: https://develop.svn.wordpress.org/trunk@17977 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-20 06:02:03 +00:00
Andrew Nacin
4ae79da741 Add 'Add New' buttons to edit links, edit media, and edit user screens. props sbressler, fixes #17499.
git-svn-id: https://develop.svn.wordpress.org/trunk@17975 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 19:52:11 +00:00
Andrew Nacin
9e71942528 Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510.
git-svn-id: https://develop.svn.wordpress.org/trunk@17973 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 17:43:19 +00:00
Andrew Ozz
0f691b3af3 Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
git-svn-id: https://develop.svn.wordpress.org/trunk@17971 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 16:12:13 +00:00
Andrew Ozz
812789ad6a FIx the position of Enter title here, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17970 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 15:34:37 +00:00
Peter Westwood
80f038c8e3 Move the codex link into a seperate translation so you don't have to translate it if you have not got a version in your language and you only have to translate it once. Fixes #17480
git-svn-id: https://develop.svn.wordpress.org/trunk@17967 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 08:11:10 +00:00
Andrew Ozz
0d5e03dd9f Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17966 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 07:34:54 +00:00
Andrew Ozz
15c2f28085 More IE7 fixes, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17964 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 05:35:08 +00:00
Andrew Ozz
7262bec3c2 IE7 fixes, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17963 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 02:23:02 +00:00
Mark Jaquith
414d10d316 Add New links when editing content. fixes #17499
git-svn-id: https://develop.svn.wordpress.org/trunk@17962 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 01:34:34 +00:00
Andrew Nacin
fa367e06a9 Allow Codex URLs to be translated. Don't offer wp.org/about/ URLs for translation. props zeo, xibe. fixes #17480.
git-svn-id: https://develop.svn.wordpress.org/trunk@17960 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 19:39:24 +00:00
Andrew Nacin
c220a69d42 Add admin body classes for the WP branch, WP version, and current admin color. props andy, fixes #17496.
git-svn-id: https://develop.svn.wordpress.org/trunk@17957 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 18:11:48 +00:00
Mark Jaquith
52dfe62ebf Better CSS background color fallback for TinyMCE icons (for browsers without gradient support). props greuben. fixes #17469
git-svn-id: https://develop.svn.wordpress.org/trunk@17956 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:40:49 +00:00
Mark Jaquith
b24303228b Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: https://develop.svn.wordpress.org/trunk@17952 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:06:04 +00:00
Mark Jaquith
cc877850ac Add a per-post-type nav menu items filter for plugin control. props aaroncampbell. see #16075
git-svn-id: https://develop.svn.wordpress.org/trunk@17951 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 16:44:21 +00:00
Andrew Ozz
8ae9b16300 Revert [17943] as it breaks plugins, props johnjamesjacoby, fixes #17484
git-svn-id: https://develop.svn.wordpress.org/trunk@17950 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 06:20:30 +00:00
Andrew Ozz
1420210806 Fix width shortcuts in DFW, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17949 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 00:59:12 +00:00
Andrew Nacin
8429516045 Fix inverse logic in [17946].
git-svn-id: https://develop.svn.wordpress.org/trunk@17948 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 17:36:58 +00:00
Andrew Ozz
9b7b96ba51 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17947 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 17:33:22 +00:00
Mark Jaquith
d01abdea69 Even better poka-yoke on Credits page.
git-svn-id: https://develop.svn.wordpress.org/trunk@17946 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 17:14:08 +00:00
Mark Jaquith
738b6e2d2f Make sure we have an array on the Credits page. Handles situations where non-array data is sometimes cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@17945 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 16:36:37 +00:00
Andrew Ozz
885fcbe7d1 Remove links from the menu separators, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17943 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 06:19:00 +00:00
Andrew Nacin
20012cc9f1 Credits page HTML closing tag and alt fix, props Utkarsh. Link gravatars to profiles. fixes #17384.
git-svn-id: https://develop.svn.wordpress.org/trunk@17942 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 05:58:40 +00:00
Andrew Ozz
953aadb21a RTL styles, props yoavf, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17941 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 05:45:49 +00:00
Andrew Ozz
8b325c5f71 Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17940 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 04:25:15 +00:00
Andrew Ozz
350adc7abe Blue styles for DFW toolbar, props jorbin, fixes #17436
git-svn-id: https://develop.svn.wordpress.org/trunk@17939 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 03:58:27 +00:00
Peter Westwood
b6f24be1c5 Use the correct cap for the export menu item. Fixes #17452
git-svn-id: https://develop.svn.wordpress.org/trunk@17937 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 10:44:42 +00:00
Andrew Ozz
89b108095f Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17936 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 06:17:44 +00:00
Andrew Ozz
39c79bac22 Center admin menu icons when menu is folded, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17935 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-15 22:50:26 +00:00
Andrew Ozz
1b66183679 Refresh word count when switching editors in DFW.
git-svn-id: https://develop.svn.wordpress.org/trunk@17932 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-15 05:51:33 +00:00
Daryl Koopersmith
4aa404d348 Blue theme revisions. Migrate colors from nav-menu.css to colors-*.css. Props saracannon. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17930 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 19:57:24 +00:00
Andrew Nacin
02e8db225f Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: https://develop.svn.wordpress.org/trunk@17928 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 19:45:07 +00:00
Andrew Nacin
ecf9b19fea Search Installed Plugins, Search Installed Themes. props garyc40, fixes #16543.
git-svn-id: https://develop.svn.wordpress.org/trunk@17927 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 19:41:42 +00:00
Peter Westwood
5178cdbfe8 More phpdoc typo fixes. See #17414 props Utkarsh
git-svn-id: https://develop.svn.wordpress.org/trunk@17926 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 09:56:59 +00:00
Peter Westwood
93fe935843 Fix typos and inconsistencies in PHPdoc / function declarations. See #17414 props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@17925 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 09:50:20 +00:00
Mark Jaquith
6b97876e64 Blue admin theme updates for the new UI style. props saracannon. see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17924 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 04:40:48 +00:00
Andrew Ozz
73fe19d286 FIx static front page selector in Settings-Writing, props JDTrower duck_, fixes #17421
git-svn-id: https://develop.svn.wordpress.org/trunk@17923 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 00:43:58 +00:00
Ryan Boren
9781af86f5 Update some network admin help text. Props dougwrites. fixes #16988
git-svn-id: https://develop.svn.wordpress.org/trunk@17921 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 19:25:38 +00:00
Ryan Boren
376b0a0477 Fix broken help link. Props SergeyBiryukov. fixes #17265
git-svn-id: https://develop.svn.wordpress.org/trunk@17919 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 19:08:09 +00:00
Andrew Ozz
e2738c27c7 DFW: scroll to top when opening so the user is not disoriented, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17913 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 06:27:49 +00:00