Commit Graph

8451 Commits

Author SHA1 Message Date
Andrew Ozz 1596867751 Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: https://develop.svn.wordpress.org/trunk@18069 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 02:04:52 +00:00
Andrew Nacin 8efd0f7f7d Remove accidental tint on the post-box div. Should be a white background.
git-svn-id: https://develop.svn.wordpress.org/trunk@18067 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 19:29:32 +00:00
Andrew Ozz e7d7300bc7 Fix background color for approved comments, props DH-Shredder, fixes #17405
git-svn-id: https://develop.svn.wordpress.org/trunk@18065 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 02:30:04 +00:00
Andrew Nacin cec199aa57 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@18053 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 05:41:34 +00:00
Ryan Boren 657155ed7c Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
git-svn-id: https://develop.svn.wordpress.org/trunk@18041 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:36:26 +00:00
Ryan Boren 385262f36e Fix notices. Props ocean90. fixes #17528
git-svn-id: https://develop.svn.wordpress.org/trunk@18038 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:46:40 +00:00
Ryan Boren 65379307dc Fix name of plugins submenu. Props ocean90. fixes #17530
git-svn-id: https://develop.svn.wordpress.org/trunk@18035 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:06:42 +00:00
Ryan Boren 64367f2de7 If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
git-svn-id: https://develop.svn.wordpress.org/trunk@18034 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:05:52 +00:00
Andrew Ozz b048109cce Remove wp-admin/js/list-table.js, not used anywhere and not listed in script-loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@18028 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:06:24 +00:00
Andrew Ozz 3a20d6aa17 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: https://develop.svn.wordpress.org/trunk@18027 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:04:12 +00:00
Ryan Boren 09424ff8b3 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: https://develop.svn.wordpress.org/trunk@18026 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 21:58:01 +00:00
Andrew Ozz 1ed0c5b42d Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: https://develop.svn.wordpress.org/trunk@18025 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 21:55:59 +00:00
Andrew Ozz 426d2bfb74 Fix another .attr() vs .prop() case, props ocean90, fixes #17546
git-svn-id: https://develop.svn.wordpress.org/trunk@18024 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 16:49:01 +00:00
Ryan Boren ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren ab6db3e04f Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
git-svn-id: https://develop.svn.wordpress.org/trunk@18009 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:11:03 +00:00
Ryan Boren c9566759db Don't show _access_denied_splash() if the user has permissions for the site but insufficient perms for a particular page. Props sorich87. fixes #17514
git-svn-id: https://develop.svn.wordpress.org/trunk@18008 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:08:19 +00:00
Andrew Nacin 40306508a3 String swap. see #17532.
git-svn-id: https://develop.svn.wordpress.org/trunk@18007 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 18:32:17 +00:00
Peter Westwood 24aade313f Use context to tell the translators what to do and thereby remove a unused string.
Add a comment as to why we have translations after a return.
See #17532

git-svn-id: https://develop.svn.wordpress.org/trunk@18005 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 11:02:12 +00:00
Andrew Nacin 85d36b3db0 Add paragraph tags around the blocks of contributors. see #17532.
git-svn-id: https://develop.svn.wordpress.org/trunk@18004 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 05:49:44 +00:00
Andrew Nacin 66de3a08a4 Prepare the Credits page to handle translators. see #17532.
git-svn-id: https://develop.svn.wordpress.org/trunk@18002 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 05:33:33 +00:00
Andrew Nacin 891be1229a Update the Credits page for changes in the API. see #17532.
git-svn-id: https://develop.svn.wordpress.org/trunk@18001 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 00:08:51 +00:00
Ryan Boren da02537bb0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: https://develop.svn.wordpress.org/trunk@17999 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:25:28 +00:00
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