Commit Graph

2903 Commits

Author SHA1 Message Date
Andrew Nacin 24d38bc521 Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.
git-svn-id: https://develop.svn.wordpress.org/trunk@18194 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:49:27 +00:00
Mark Jaquith ac81c1fef8 Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674
git-svn-id: https://develop.svn.wordpress.org/trunk@18193 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:27:57 +00:00
Ryan Boren 4efc4641ac Don't add search wildcards to an empty string. fixes #17719
git-svn-id: https://develop.svn.wordpress.org/trunk@18179 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 16:05:04 +00:00
Andrew Ozz 76f9fca002 Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317
Fix top margin in bulk edit posts

git-svn-id: https://develop.svn.wordpress.org/trunk@18158 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 01:14:26 +00:00
Ryan Boren b6eed7bea8 Check return value of wp_check_browser_version(). Make return value consistent. Props duck_, aaroncampbell. fixes #17682
git-svn-id: https://develop.svn.wordpress.org/trunk@18150 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 15:14:51 +00:00
Andrew Ozz 35ba083b00 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: https://develop.svn.wordpress.org/trunk@18137 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 00:46:47 +00:00
Andrew Nacin 4e3cdbfc61 Document that add_submenu_page() might return false if ! current_user_can(). see #17677.
git-svn-id: https://develop.svn.wordpress.org/trunk@18136 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 23:30:46 +00:00
Ryan Boren 332d95b648 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Andrew Nacin 36f1805ec4 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: https://develop.svn.wordpress.org/trunk@18110 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 22:03:36 +00:00
Ryan Boren 218486fb46 Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
git-svn-id: https://develop.svn.wordpress.org/trunk@18109 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 21:27:42 +00:00
Ryan Boren 45486df91d Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
git-svn-id: https://develop.svn.wordpress.org/trunk@18106 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:33:45 +00:00
Ryan Boren 7cb543f37f Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
git-svn-id: https://develop.svn.wordpress.org/trunk@18105 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:30:29 +00:00
Andrew Ozz 715e5a905b Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18104 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:08:41 +00:00
Ryan Boren ac3a991b17 Fix paging through plugin search results. Props dd32. fixes #17285
git-svn-id: https://develop.svn.wordpress.org/trunk@18093 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 16:03:41 +00:00
Peter Westwood f3b35cf893 Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87
git-svn-id: https://develop.svn.wordpress.org/trunk@18090 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:44:10 +00:00
Ryan Boren 2960bcac77 Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
git-svn-id: https://develop.svn.wordpress.org/trunk@18089 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:41:43 +00:00
Ryan Boren 89561d578e s/seperator/separator/. Props brandonburke. fixes #17610
git-svn-id: https://develop.svn.wordpress.org/trunk@18084 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 19:58:36 +00:00
Ryan Boren d5e77eefbf Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: https://develop.svn.wordpress.org/trunk@18082 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 16:08:46 +00:00
Andrew Ozz b0ff53d233 Fix notice, props greuben, fixes #17613
git-svn-id: https://develop.svn.wordpress.org/trunk@18074 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 14:12:08 +00:00
Andrew Ozz be987907b8 Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: https://develop.svn.wordpress.org/trunk@18071 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 21:18:58 +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 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 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
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
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
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 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 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 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 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 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
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 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
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
Mark Jaquith 4f8b646e03 Centralize pagination bound exceeding redirects for list tables. props garyc40. props johnjamesjacoby. fixes #16208
git-svn-id: https://develop.svn.wordpress.org/trunk@17900 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 06:09:42 +00:00
Andrew Nacin c96930408d Don't show broken 'View' links when a CPT isn't publicly queryable. fixes #13301, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@17899 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 06:04:47 +00:00
Andrew Nacin 66d2117c54 Shorten key used for browse happy site transient so it fits in option_name. fixes #17323, props AaronCampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@17895 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 05:45:02 +00:00
Andrew Nacin b7af529e35 Document img_src_ssl in wp_check_browser_version(), see #17323.
git-svn-id: https://develop.svn.wordpress.org/trunk@17888 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:45:25 +00:00
Andrew Ozz 44ac70d063 Warning for out of date and insecure browsers, props aaroncampbell, fixes #17323
git-svn-id: https://develop.svn.wordpress.org/trunk@17887 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:33:27 +00:00
Andrew Ozz 8e3eb0a86b Allow plugins to disable screen options with filter, props yoavf, fixes #17187
git-svn-id: https://develop.svn.wordpress.org/trunk@17884 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:12:41 +00:00
Andrew Ozz 9b3f26faa4 Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17880 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 01:53:51 +00:00