Commit Graph

8442 Commits

Author SHA1 Message Date
azaozz
65f9c441a7 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: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
ryan
51fe428865 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@18026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:58:01 +00:00
azaozz
27a001b635 Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:55:59 +00:00
azaozz
5d756ba5d2 Fix another .attr() vs .prop() case, props ocean90, fixes #17546
git-svn-id: http://svn.automattic.com/wordpress/trunk@18024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 16:49:01 +00:00
ryan
8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
ryan
9aeffe1487 Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
git-svn-id: http://svn.automattic.com/wordpress/trunk@18009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:11:03 +00:00
ryan
2e2807147c 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: http://svn.automattic.com/wordpress/trunk@18008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:08:19 +00:00
nacin
666e71d69b String swap. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 18:32:17 +00:00
westi
30f64bdbb5 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: http://svn.automattic.com/wordpress/trunk@18005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 11:02:12 +00:00
nacin
02aad2f192 Add paragraph tags around the blocks of contributors. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:49:44 +00:00
nacin
d265a3a79d Prepare the Credits page to handle translators. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:33:33 +00:00
nacin
ab840f8074 Update the Credits page for changes in the API. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 00:08:51 +00:00
ryan
2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan
cb44c14449 Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/trunk@17996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:21:34 +00:00
ryan
81a5f821fb 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: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
ryan
117d081812 Use esc_url() once again.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:12 +00:00
ryan
0c93cb66be Add a nonce.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:18:58 +00:00
nacin
fad60afa23 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
nacin
40b0b6c65e Add option_page_capability_$option_page filter. see #14365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:32:22 +00:00
nacin
e813941988 Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:24:32 +00:00
azaozz
7815408b7a Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: http://svn.automattic.com/wordpress/trunk@17983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 17:11:13 +00:00
nacin
c6e93b74ea s/add_css/_wp_credits_add_css/. props dimadin, see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 14:01:03 +00:00
azaozz
a34fe128c2 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: http://svn.automattic.com/wordpress/trunk@17979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 22:47:36 +00:00
nacin
69b3acb8db Remove non-functional vestigal code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 06:02:03 +00:00
nacin
1fdf0b9430 Add 'Add New' buttons to edit links, edit media, and edit user screens. props sbressler, fixes #17499.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 19:52:11 +00:00
nacin
b101aa6781 Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 17:43:19 +00:00
azaozz
33b0327924 Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
git-svn-id: http://svn.automattic.com/wordpress/trunk@17971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 16:12:13 +00:00
azaozz
7ecc640949 FIx the position of Enter title here, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 15:34:37 +00:00
westi
a55c86ffbc 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: http://svn.automattic.com/wordpress/trunk@17967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 08:11:10 +00:00
azaozz
96c6667c5c Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 07:34:54 +00:00
azaozz
af3ce311a0 More IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 05:35:08 +00:00
azaozz
5175149c03 IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 02:23:02 +00:00
markjaquith
188f57edfa Add New links when editing content. fixes #17499
git-svn-id: http://svn.automattic.com/wordpress/trunk@17962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 01:34:34 +00:00
nacin
6d8fa2f388 Allow Codex URLs to be translated. Don't offer wp.org/about/ URLs for translation. props zeo, xibe. fixes #17480.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:39:24 +00:00
nacin
9c7fce4ed5 Add admin body classes for the WP branch, WP version, and current admin color. props andy, fixes #17496.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 18:11:48 +00:00
markjaquith
9f11444c89 Better CSS background color fallback for TinyMCE icons (for browsers without gradient support). props greuben. fixes #17469
git-svn-id: http://svn.automattic.com/wordpress/trunk@17956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:40:49 +00:00
markjaquith
33aba110ee Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:06:04 +00:00
markjaquith
bb8978972e Add a per-post-type nav menu items filter for plugin control. props aaroncampbell. see #16075
git-svn-id: http://svn.automattic.com/wordpress/trunk@17951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 16:44:21 +00:00
azaozz
d2e54b7932 Revert [17943] as it breaks plugins, props johnjamesjacoby, fixes #17484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 06:20:30 +00:00
azaozz
24f315692d Fix width shortcuts in DFW, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 00:59:12 +00:00
nacin
dba8ade461 Fix inverse logic in [17946].
git-svn-id: http://svn.automattic.com/wordpress/trunk@17948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:36:58 +00:00
azaozz
dcb9985b13 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:33:22 +00:00
markjaquith
cb62ef2b58 Even better poka-yoke on Credits page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:14:08 +00:00
markjaquith
4eaf5b3ed9 Make sure we have an array on the Credits page. Handles situations where non-array data is sometimes cached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 16:36:37 +00:00
azaozz
46c545cdba Remove links from the menu separators, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 06:19:00 +00:00
nacin
e46b1da6f4 Credits page HTML closing tag and alt fix, props Utkarsh. Link gravatars to profiles. fixes #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 05:58:40 +00:00
azaozz
c8f51203cf RTL styles, props yoavf, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 05:45:49 +00:00
azaozz
19c80ff93c Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 04:25:15 +00:00
azaozz
5869d175f6 Blue styles for DFW toolbar, props jorbin, fixes #17436
git-svn-id: http://svn.automattic.com/wordpress/trunk@17939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 03:58:27 +00:00
westi
e8ecf0f599 Use the correct cap for the export menu item. Fixes #17452
git-svn-id: http://svn.automattic.com/wordpress/trunk@17937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 10:44:42 +00:00