Commit Graph

2885 Commits

Author SHA1 Message Date
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
Peter Westwood f1389ef76c Switch this to be inside the else to match previous functionality more closely.
git-svn-id: https://develop.svn.wordpress.org/trunk@17860 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 17:05:35 +00:00
Peter Westwood 29ffaab1b2 Add a filter in postbox_classes on the classes being returned so you can add ones to your metabox easily if you want. See #17323
git-svn-id: https://develop.svn.wordpress.org/trunk@17857 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 16:57:00 +00:00
Andrew Ozz 0b4a1378b9 DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17856 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 09:18:32 +00:00
Andrew Ozz 6b810b990f DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17852 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 23:21:34 +00:00
Andrew Ozz 98d4435ba5 Add the new grey TinyMCE icons, see #15986
git-svn-id: https://develop.svn.wordpress.org/trunk@17842 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 03:20:50 +00:00
Andrew Ozz f9eb2a0ed4 Close >> Exit fullscreen, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17840 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 15:37:28 +00:00
Andrew Ozz 223162e568 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17838 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 06:32:44 +00:00
Andrew Ozz 13ad310c3f DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17837 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 02:01:53 +00:00
Mark Jaquith 72608a1197 A few "login" used as a verb fixes. props xibe. fixes #17335
git-svn-id: https://develop.svn.wordpress.org/trunk@17831 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 03:26:23 +00:00
Daryl Koopersmith 5622362093 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17829 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 23:42:37 +00:00
Dion Hulse 0822d55016 * Allow Pagination for Must-Use/Dropin plugins
* Respect WP_CONTENT_DIR & WPMU_PLUGIN_DIR for help text
 * Move help text into WP_Plugins_List_Table
See #17327

git-svn-id: https://develop.svn.wordpress.org/trunk@17806 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 05:24:15 +00:00
Ryan Boren db6f86d7bb Make "Space Used" gray instead of green in multisite Right Now box. Props ocean90. fixes #17283
git-svn-id: https://develop.svn.wordpress.org/trunk@17799 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 19:49:25 +00:00
Ryan Boren 237f1c3e78 Always show # items text. Props johnbillion. fixes #17260
git-svn-id: https://develop.svn.wordpress.org/trunk@17798 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 19:45:41 +00:00
Ryan Boren b0b8e59268 Change View All Buttons into plain links. Show full set of status links in recent comments box. Drop Change Theme button.Props ryanimel. fixes #17282
git-svn-id: https://develop.svn.wordpress.org/trunk@17797 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 19:18:20 +00:00
Ryan Boren 5cb3ed94ae Show hierarchy for pages and taxonomies in nav menus admin. Props greuben. fixes #17029
git-svn-id: https://develop.svn.wordpress.org/trunk@17796 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 18:59:40 +00:00
Ryan Boren a5572fa5ef Denote images that are headers or backgrounds in the media ui. Props ocean90. fixes #17291
git-svn-id: https://develop.svn.wordpress.org/trunk@17793 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 18:28:31 +00:00
Andrew Ozz 4e6c7c2281 Fix action handling code, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17786 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:28:58 +00:00
Andrew Ozz 6e8cefd437 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17785 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:10:23 +00:00