Commit Graph

2875 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
nacin
da2732c7de Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:45:07 +00:00
westi
53ce9d6f50 More phpdoc typo fixes. See #17414 props Utkarsh
git-svn-id: http://svn.automattic.com/wordpress/trunk@17926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 09:56:59 +00:00
markjaquith
0e57bd3a37 Centralize pagination bound exceeding redirects for list tables. props garyc40. props johnjamesjacoby. fixes #16208
git-svn-id: http://svn.automattic.com/wordpress/trunk@17900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:09:42 +00:00
nacin
8abc94a139 Don't show broken 'View' links when a CPT isn't publicly queryable. fixes #13301, props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:04:47 +00:00
nacin
815d4fd975 Shorten key used for browse happy site transient so it fits in option_name. fixes #17323, props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:45:02 +00:00
nacin
5bd0023422 Document img_src_ssl in wp_check_browser_version(), see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:45:25 +00:00
azaozz
8fe1d44938 Warning for out of date and insecure browsers, props aaroncampbell, fixes #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@17887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:33:27 +00:00
azaozz
de88c22a6c Allow plugins to disable screen options with filter, props yoavf, fixes #17187
git-svn-id: http://svn.automattic.com/wordpress/trunk@17884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:12:41 +00:00
azaozz
beae1e56aa Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:53:51 +00:00
westi
f99e85d728 Switch this to be inside the else to match previous functionality more closely.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:05:35 +00:00
westi
374cba6192 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: http://svn.automattic.com/wordpress/trunk@17857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 16:57:00 +00:00
azaozz
e96949c9bd DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 09:18:32 +00:00
azaozz
55fcecdba8 DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 23:21:34 +00:00
azaozz
20528f3463 Add the new grey TinyMCE icons, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 03:20:50 +00:00
azaozz
9a12a7d908 Close >> Exit fullscreen, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 15:37:28 +00:00
azaozz
a2fcf40bd8 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 06:32:44 +00:00
azaozz
8267ff9aae DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 02:01:53 +00:00
markjaquith
87f06616a7 A few "login" used as a verb fixes. props xibe. fixes #17335
git-svn-id: http://svn.automattic.com/wordpress/trunk@17831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 03:26:23 +00:00
koopersmith
700db493d8 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:42:37 +00:00
dd32
dad316dccc * 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: http://svn.automattic.com/wordpress/trunk@17806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 05:24:15 +00:00
ryan
5161c47792 Make "Space Used" gray instead of green in multisite Right Now box. Props ocean90. fixes #17283
git-svn-id: http://svn.automattic.com/wordpress/trunk@17799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:49:25 +00:00
ryan
a7909cf4b6 Always show # items text. Props johnbillion. fixes #17260
git-svn-id: http://svn.automattic.com/wordpress/trunk@17798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:45:41 +00:00
ryan
26e2d8b986 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: http://svn.automattic.com/wordpress/trunk@17797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:18:20 +00:00
ryan
69dfdd4a36 Show hierarchy for pages and taxonomies in nav menus admin. Props greuben. fixes #17029
git-svn-id: http://svn.automattic.com/wordpress/trunk@17796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:59:40 +00:00
ryan
d55f5b35af Denote images that are headers or backgrounds in the media ui. Props ocean90. fixes #17291
git-svn-id: http://svn.automattic.com/wordpress/trunk@17793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:28:31 +00:00
azaozz
cf8c91ce03 Fix action handling code, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:28:58 +00:00
azaozz
1ffb2468a5 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:10:23 +00:00
markjaquith
8464d7203d Provide no-js message on the dashboard when the cache is not hot and an XHR is required. props ocean90. see #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 17:24:06 +00:00
ryan
04487fc268 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 20:05:12 +00:00
nacin
b59bcc8720 Remove unused variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 18:21:38 +00:00
nacin
124bb0289b Revert unrelated code from [17765].
git-svn-id: http://svn.automattic.com/wordpress/trunk@17766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:46:27 +00:00
nacin
52e6f54063 Update the self-referential destruction sequence in WP_Widget_RSS to account for trailing slashes. TODO: Strengthen our validation here.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:44:43 +00:00
nacin
90928c0251 Don't load dashboard widgets via XHR when the feed cache is hot. What a difference it makes, too. Reverts part of [11613], fixes #16927.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 06:54:03 +00:00
nacin
567f0c21ec Use proper placeholders. No need to exit after wp_die(). fixes #17121.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 01:51:53 +00:00
ryan
06c03f44f0 Show access denied page and list a user's sites if they visit an admin they don't have permissions for rather than redirecting to the users' primary blog. fixes #17121
git-svn-id: http://svn.automattic.com/wordpress/trunk@17762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:43:48 +00:00
westi
80f4e83a8c Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre


git-svn-id: http://svn.automattic.com/wordpress/trunk@17749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:25:36 +00:00
nacin
9cb6e158fc Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00