Commit Graph

9259 Commits

Author SHA1 Message Date
azaozz
7123026a3b Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 02:01:13 +00:00
azaozz
9961962861 Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:52:26 +00:00
nacin
64ab05ab09 Normal sentence case. see #19228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:32:20 +00:00
ryan
c4d9f38dce Fix message concatentation. Remove no longer used 'posted' message. fixes #16380
git-svn-id: http://svn.automattic.com/wordpress/trunk@19259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:01:56 +00:00
azaozz
a37b440bac Bring back the multi-file/html uploader switching, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:40:23 +00:00
ryan
61fca35691 Don't show 'Use as featured image' in the image insert dialog if the post type does not support thumbnails. Props SergeyBiryukov. fixes #18669
git-svn-id: http://svn.automattic.com/wordpress/trunk@19256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:38:34 +00:00
ryan
04831b81ec Used numbered format specifiers. Add translator note. Props SergeyBiryukov. fixes #19090
git-svn-id: http://svn.automattic.com/wordpress/trunk@19255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 18:37:04 +00:00
ryan
73432f9c5a Use taxnow to determine the taxonomy for GET and POST requests in edit-tags.php. Props nacin. fixes #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:44:16 +00:00
ryan
4c837e9522 Check caps when showing media edit and attach links. Clean up formatting. Props kurtpayne, DH-Shredder, solarissmoke. fixes #17419
git-svn-id: http://svn.automattic.com/wordpress/trunk@19252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:04:54 +00:00
ryan
6bbc8d4ce4 Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: http://svn.automattic.com/wordpress/trunk@19251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 14:10:54 +00:00
nacin
58cdff8ce9 Style updates to translators list on Credits page. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 23:16:21 +00:00
ryan
ba9bd2e208 Properly handle child themes for WP_DEFAULT_THEME. Props SergeyBiryukov. fixes #18591
git-svn-id: http://svn.automattic.com/wordpress/trunk@19249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 21:06:57 +00:00
azaozz
6074eda69d Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:33:26 +00:00
ryan
872428d60d More specific error strings for failed theme and plugin package uploads. Props dd32. fixes #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:41:44 +00:00
nacin
22cf9f0fe4 New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:05:01 +00:00
nacin
89c5a967d6 Add wxr_export_skip_postmeta filter for skipping postmeta in exports. props westi, fixes #18280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:32:44 +00:00
nacin
087eb4e30a Rename attachment link button from 'Post URL' to 'Attachment Post URL.' props jeremyclarke, fixes #13544.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:23:31 +00:00
duck_
a57f6b0271 Stop multiple loading spinners showing when repeatedly accessing Press This Add Photos box. Fixes #18992.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 16:46:05 +00:00
nacin
4fa61390ef Fix link in welcome panel. see #19217, props cebradesign, SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 15:21:26 +00:00
azaozz
eca4184725 Revert media.php too, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:42:20 +00:00
azaozz
331b242bcd Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:34:09 +00:00
azaozz
623220187a Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:23:40 +00:00
koopersmith
b297f9061c Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:32:03 +00:00
azaozz
ee227a7e48 Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: http://svn.automattic.com/wordpress/trunk@19219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:24:55 +00:00
azaozz
10859e2b8f Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@19217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:05:59 +00:00
ryan
91bf9d9bae Don't show the view link for a future post unless the current user has the permissions to edit the post. Treat future posts as a preview case. Props ocean90. fixes #18894
git-svn-id: http://svn.automattic.com/wordpress/trunk@19213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:24:14 +00:00
ryan
81a03236ec Use get_site_url() instead of hard-coding the protocol. Props SergeyBiryukov, exell.christopher. fixes #17466
git-svn-id: http://svn.automattic.com/wordpress/trunk@19211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:13:42 +00:00
azaozz
307f243ee4 Fix tabbing from 'title' to 'content', see #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 19:49:50 +00:00
nacin
02f57cbf59 Merge and update variable declarations. fixes #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:45:24 +00:00
nacin
461685f74f Allow tags autosuggest to work in quick edit when there are no tags. props solarissmoke, see #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:43:04 +00:00
nacin
3a3c7e2334 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:32:24 +00:00
nacin
3526f8a7da Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:28:20 +00:00
koopersmith
dae0be0711 Improve display logic for admin menu arrows. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 04:18:50 +00:00
koopersmith
91aaf6bdf5 Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 03:59:00 +00:00
koopersmith
df818bec66 Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:39:46 +00:00
azaozz
0ec64132db Fixes for the blue theme, props helenyhou, see #19183
git-svn-id: http://svn.automattic.com/wordpress/trunk@19195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 23:01:51 +00:00
azaozz
a31f0ad164 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: http://svn.automattic.com/wordpress/trunk@19194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:46:24 +00:00
nacin
84280671d4 Don't use $post_type global in the posts list table. props scribu, see #18475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:14:27 +00:00
nacin
f30f2e5c17 Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:42:20 +00:00
azaozz
8284ef87fb Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: http://svn.automattic.com/wordpress/trunk@19186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:18:45 +00:00
nacin
ab5f3aa79c Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:13:06 +00:00
nacin
534578f339 Space out two strings. props ocean90, fixes #19167.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 20:21:12 +00:00
duck_
81587cecf4 Only hide "Most Used" category tab when the body has .no-js class. See #16810, fixes #19129.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:35:49 +00:00
azaozz
f7fa2684e8 Uploader: split "Drop files here -or-..." on two lines, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:09:38 +00:00
azaozz
9ca4a9a39a Update Comment -> Update, props ocean90, fixes #19166
git-svn-id: http://svn.automattic.com/wordpress/trunk@19176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:03:33 +00:00
azaozz
6e9010c128 Blue theme HTML editor fixes, min-width -> width for .inner-sidebar, props ocean90, fixes #19162
git-svn-id: http://svn.automattic.com/wordpress/trunk@19175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 17:03:17 +00:00
azaozz
63c55f4058 Remove min-width from #post-body-content, props ocean90, fixes #19062
git-svn-id: http://svn.automattic.com/wordpress/trunk@19174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:53:26 +00:00
nacin
fa76992c20 Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:41:25 +00:00
koopersmith
854684b63b Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 02:06:56 +00:00
koopersmith
eec22244dc Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:17:50 +00:00
azaozz
94ef5dd13f Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:13:18 +00:00
nacin
31c84c9d7b Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:06:11 +00:00
nacin
0a825c74be Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:04:58 +00:00
nacin
7c0be8f0e5 Remove i18n until text settles. see #18795.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:57:45 +00:00
azaozz
a7d3a67b46 RTL adjustments for the About screens, props SergeyBiryukov, fixes #19143
git-svn-id: http://svn.automattic.com/wordpress/trunk@19149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:09:53 +00:00
azaozz
9e6883bb8f Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:22:46 +00:00
azaozz
b9d481d371 Help and Screen Options RTL adjustments, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:19:09 +00:00
nacin
75ec2f756d RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 04:35:06 +00:00
koopersmith
51741405a0 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 01:31:31 +00:00
koopersmith
84b6adf701 The about pages are lonely orphans. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:45:11 +00:00
koopersmith
011ade3db6 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:37:56 +00:00
duck_
4516c37a11 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:07:57 +00:00
nacin
dffd88b194 Remove copy-pasted classes. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:59:19 +00:00
nacin
3f606d28b0 Yank version numbers out of translated strings. TODO decide whether this should be major version only, which probably means about.php should also contain text about x.y vs x.y.z. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:55:03 +00:00
nacin
17c3514a7f Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
 * Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:41:45 +00:00
koopersmith
ac9486b7f8 Move about page CSS to main CSS files. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:32:44 +00:00
nacin
4454d5e50c Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:30:55 +00:00
nacin
230d3d62ce Add about.php text/tabs to credits.php and freedoms.php. (Caution: Styles may settle during shipping.) see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:23:31 +00:00
koopersmith
8576e8d07f Layout and filler content for new about page. CSS will be moved to the main files. props chexee. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:13:50 +00:00
nacin
1494ca6b9f Use a better method for [19133]. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:09:59 +00:00
nacin
04915a9b07 Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:08:24 +00:00
nacin
9741ce2773 Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:00:46 +00:00
azaozz
8454367edf Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 20:26:09 +00:00
azaozz
f73e6b3228 Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:08:12 +00:00
azaozz
84a23bfd81 Remove the Cancel Upload button, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:47:12 +00:00
azaozz
1fcdc41bdb Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@19126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:31:27 +00:00
nacin
1e12e6713d More help sidebars. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 21:42:57 +00:00
nacin
cece838d8f More s/add_help_sidebar/set_help_sidebar/. fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 21:32:16 +00:00
nacin
e62b1ce3c9 More help sidebars. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:54:56 +00:00
nacin
bfb98c193e s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:14:10 +00:00
ryan
b2bfe42593 Blue admin color scheme updates for the contextual help tabs. Props chexee. see #18964
git-svn-id: http://svn.automattic.com/wordpress/trunk@19118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 17:21:50 +00:00
azaozz
ee93344f32 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 15:24:56 +00:00
dd32
16697d503e Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 12:16:47 +00:00
ryan
366db8c10b Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 05:33:53 +00:00
nacin
3932addc50 Reverse variable assignment order. D'oh. see #19108.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:24:17 +00:00
nacin
fff2457234 Remove cruft. see #19106.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:14:14 +00:00
ryan
3ad1f67958 Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 03:12:37 +00:00
ryan
97d61ca5a2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:38:37 +00:00
markjaquith
c59f813e32 Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: http://svn.automattic.com/wordpress/trunk@19109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:36:18 +00:00
nacin
6c9e82de0a Use more obvious variables in WP_Screen. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:36:04 +00:00
nacin
687642fead Simplify logic in wp-fullscreen-save-post. Most of this came from post.php but that's been cut down as well. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:23:05 +00:00
ryan
9e397bfb12 No need to setup current screen in wp-fullscreen-save-post handler. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:15:18 +00:00
duck_
0ca4df123a Remove dead code left by r18621. Props ocean90. Fixes #19087.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 12:36:14 +00:00
azaozz
a2e4511e5f Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 11:56:20 +00:00
azaozz
b63ffa3f38 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:38:28 +00:00
nacin
13db43d2d3 Always run the old contextual_help filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:37:43 +00:00
nacin
29e469f151 Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:28:17 +00:00
ryan
6bc11ddcfe Use key(). Props scribu. fixes #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 19:46:10 +00:00
nacin
c2064f9976 Move from quickpress_post_ID to post_ID. fixes #19095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 17:08:36 +00:00
nacin
aa6eb9729a Fix copypasta in in WP_Screen. see #19095, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 16:57:29 +00:00
azaozz
efc7ca76d7 Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
git-svn-id: http://svn.automattic.com/wordpress/trunk@19091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:56:27 +00:00
azaozz
10c836c382 Some more css cleanup, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:50:32 +00:00
nacin
4c9afe489a Require show_ui rather than public for a taxonomy's parent post type. see #19080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 05:30:57 +00:00
azaozz
12b9d51e2e Theme and plugin editor textarea direction in RTL, props SergeyBiryukov, fixes #18021
git-svn-id: http://svn.automattic.com/wordpress/trunk@19087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 00:55:58 +00:00
azaozz
697f2371e6 Browse Happy RTL fix, props SergeyBiryukov, fixes #18093
git-svn-id: http://svn.automattic.com/wordpress/trunk@19086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 00:52:21 +00:00
azaozz
55fdf0eaaf Fix help tabs in RTL, props rosshanney, fixes #19024
git-svn-id: http://svn.automattic.com/wordpress/trunk@19083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 23:05:58 +00:00
azaozz
08ecc0293a RTL CSS cleanup for credits.php, props SergeyBiryukov, fixes #18420
git-svn-id: http://svn.automattic.com/wordpress/trunk@19082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:42:36 +00:00
azaozz
eeec5eeda1 RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: http://svn.automattic.com/wordpress/trunk@19080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:14:59 +00:00
ryan
31e3ff3fb1 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 15:48:44 +00:00
ryan
9c4728942f gettext fix. Props ocean90. fixes #18770
git-svn-id: http://svn.automattic.com/wordpress/trunk@19073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 21:14:14 +00:00
ryan
e261ac43e7 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 20:00:09 +00:00
ryan
c23e0cc0bc Make repair.php fully translatable. Props ocean90. fixes #18770
git-svn-id: http://svn.automattic.com/wordpress/trunk@19070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 18:31:45 +00:00
duck_
7ba5b2f7a3 Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029.
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".


git-svn-id: http://svn.automattic.com/wordpress/trunk@19068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 08:47:16 +00:00
nacin
1c9abd21ca Use correct object. props adambackstrom. fixes #19045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:08:24 +00:00
nacin
1e6e52e1c1 Add missing keyword. fixes #19046, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:05:39 +00:00
nacin
68225fdf13 Make convert_to_screen() more resilient. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 06:54:23 +00:00
nacin
f9d807d649 Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:50:39 +00:00
nacin
66125a116f Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:48:09 +00:00
nacin
6f9612f45c Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:29:28 +00:00
dd32
68037f4ac1 Themes not within a subdirectory of the zip need to have the working directory Trailingslashed. See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 04:25:52 +00:00
ryan
62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
ryan
ad3eb8f7ab Fallback to the default post type only if it is registed for the taxonomy. Props nacin. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:10:56 +00:00
nacin
12de7d1e2d Move WP_Screen to a full registry. Have convert_to_screen() return a WP_Screen object. Improve and verify values for post_type and taxonomy. see #18785. also fixes #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 18:34:08 +00:00
nacin
29f6c203cd screen.php tidying. Doc fixes and improvements. Improve logic in ::show_screen_options(). Remove regex in ::set_parentage(). Better variable names. Streamline get_screen_icon(). Whitespace. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 06:40:15 +00:00
nacin
a4a58839d0 Deprecate favorite_actions(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 06:10:36 +00:00
nacin
c62a9fe508 Rework get_hidden_meta_boxes() to leverage a full WP_Screen object. Prevents custom post types from having their explicity supported meta boxes being hidden by default. see #18958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 19:22:27 +00:00
ryan
d01f93226d Fix sub menu highlighting for post type pages. see #13662
git-svn-id: http://svn.automattic.com/wordpress/trunk@19048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 18:45:06 +00:00
nacin
f6368c50c4 Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 18:01:33 +00:00
nacin
7ed04cc2f3 Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:58:06 +00:00
nacin
ad0e83c165 Adjust the height of the help columns on 'Help' tab open. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:55:24 +00:00
nacin
1a37559654 Fix [16249]. $typenow is considered empty on edit-tags screens, rather than displaying the parent post type. Switch to the $post_type global for now, which is set in the terms list table constructor. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:48:58 +00:00
nacin
2b4b7aa211 Undent (by two tabs) a whole lot of code in dbDelta(). Thx. see #17998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:40:30 +00:00
nacin
870d7860fd Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES. fixes #17998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:35:33 +00:00
nacin
f708c5eaff Make wpmu_delete_blog() slightly less crappy. Prevents the entire network from being dropped in a particularly rare edge case. Removes some zombie code. fixes #19009.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:04:52 +00:00
duck_
424cd58652 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:53:57 +00:00
nacin
43eae59235 Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:04:46 +00:00
nacin
023143f7cd Allow a super admin to demote themselves on a site to a role that does not contain the promote_users cap. props fonglh, fixes #18164.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:12:25 +00:00
nacin
3e61e179d9 Sanitize plural and singular args for list tables. props sbressler, fixes #18875.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:51:06 +00:00
nacin
51657715c1 Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:01:55 +00:00
nacin
f11bc146f7 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:57:37 +00:00
nacin
db86ea12d4 Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:52:14 +00:00
nacin
11a800a3d9 Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:21 +00:00
ryan
d0d8eb2aaf Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: http://svn.automattic.com/wordpress/trunk@19013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:02 +00:00
duck_
16daac44ec Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:48:07 +00:00
markjaquith
aa64ec5d1d Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: http://svn.automattic.com/wordpress/trunk@19010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:08:57 +00:00
koopersmith
52829ad92f In welcome panel, move periods outside of links. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:05:12 +00:00
koopersmith
1391717cfa Welcome panel contents and functionality. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:41:26 +00:00
nacin
9bfad4c43e Better padding and information on the plugins list on Dashboard/Updates. props otto42. fixes #17406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 14:51:48 +00:00
azaozz
6d3c45d333 Few more RTL fixes, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:42:41 +00:00
azaozz
9d05f1f94a Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:16:15 +00:00
ryan
67661f7181 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:44:39 +00:00
ryan
6623ea4b4a Avoid pass by ref warning. Props arena. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:38:18 +00:00
nacin
0b9a1f68da Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:33:34 +00:00
nacin
1387dfd1f2 Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996. fixes #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:32:40 +00:00
ryan
f1ec92751f Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:18:08 +00:00
ryan
3dc95bc55a Don't filter taxonomy list. see #18983
git-svn-id: http://svn.automattic.com/wordpress/trunk@18990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 16:33:31 +00:00
dd32
5194428741 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:48:07 +00:00
dd32
8e82c7560c Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: http://svn.automattic.com/wordpress/trunk@18985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:32:28 +00:00
koopersmith
5990b8ca14 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 21:04:29 +00:00
azaozz
e849d3b270 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: http://svn.automattic.com/wordpress/trunk@18982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:57:32 +00:00
nacin
b040745a22 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 19:18:28 +00:00
nacin
2ce5a485ed Close strong tag. props scribu. fixes #18970.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 18:57:06 +00:00
duck_
6926503ebf Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 10:43:55 +00:00
azaozz
9127076d34 Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:46:58 +00:00
azaozz
0f2431e25a RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:33:01 +00:00
koopersmith
c47765dedb Simplify pointer API with smarter positioning. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 03:33:46 +00:00
azaozz
6141f8039b Menu RTL css refresh, fixes #18906
git-svn-id: http://svn.automattic.com/wordpress/trunk@18968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 01:06:23 +00:00
ryan
99d80d6b4a Avoid notices when viewing non-existent taxonomy. Props ocean90, johnbillion. fixes #18716
git-svn-id: http://svn.automattic.com/wordpress/trunk@18966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 18:55:40 +00:00
ryan
a733b40730 Fix inviting existing users to a site with email confirmation. Props johnbillion. fixes #18295
git-svn-id: http://svn.automattic.com/wordpress/trunk@18965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 18:32:31 +00:00
dd32
53062d6414 WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 10:43:38 +00:00
azaozz
32fa9f7d6c Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:33:10 +00:00
azaozz
c630639e8c Remove borders from iframes and images in IE, props dd32, andrewryno, fixes #18922
git-svn-id: http://svn.automattic.com/wordpress/trunk@18961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:27:32 +00:00
azaozz
6b3786b425 Remove iPad rotation tweak (not needed in iOS 5), see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 02:47:00 +00:00
azaozz
5865cc92fc Bottom out checkboxes and radio buttons (seems to line them up nicely in most browsers).
git-svn-id: http://svn.automattic.com/wordpress/trunk@18959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 00:37:39 +00:00
azaozz
331b416756 IE7 fixes for the admin menu, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 00:06:07 +00:00
azaozz
000208b86d Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 22:24:53 +00:00
ryan
c28bd6af03 Die when attempting to edit non-existent term. Props johnbillion. fixes #18718
git-svn-id: http://svn.automattic.com/wordpress/trunk@18954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 20:30:50 +00:00
ryan
28a6d49c1a Validation fix for user-edit.php. Props sorich87. fixes #18921
git-svn-id: http://svn.automattic.com/wordpress/trunk@18953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 19:47:00 +00:00
duck_
ba7651277e Revert r18887 due to back compat issues. Fixes #18914.
For example 'intval' couldn't be used as a sanitisation callback.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:35:33 +00:00
nacin
936107846c Restore object handling in add_contextual_help(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:24:55 +00:00
nacin
aa06a7de9f Don't instantiate WP_Screen in convert_to_screen() for now. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:22:50 +00:00
azaozz
0d8b1bdc51 Fix dashboard postboxes in RTL, fixes #18907
git-svn-id: http://svn.automattic.com/wordpress/trunk@18948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 00:01:39 +00:00
koopersmith
d60869e490 Improve padding on admin menu submenus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:52:40 +00:00
koopersmith
bd56b8dbfc Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:48:20 +00:00
nacin
07a664da92 Restore $screen argument for contextual_help* filters. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:45:28 +00:00
koopersmith
97201b0a7d Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:38:12 +00:00
nacin
7bf1ec1a01 Store screen help and options as static data against WP_Screen. Individual screen objects no longer hold data it can't re-generate on construction or otherwise fetch. convert_to_screen() now returns a WP_Screen object. Various globals are gone. Introduces WP_Screen::get_option(). Allows for a formal factory to be introduced later. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:32:16 +00:00
koopersmith
e10f6876d4 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:25:38 +00:00
nacin
35dd66044a Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 19:29:09 +00:00
azaozz
3804ef7519 Don't move current open submenus, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 17:59:51 +00:00
azaozz
96c3fa3274 More CSS cleanup, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 06:25:25 +00:00
ryan
82bcca520b Do the beta bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:50:20 +00:00
nacin
24d7c61eb5 Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:31:36 +00:00
nacin
4dfdd9ea97 Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:56:35 +00:00
nacin
0a1fe6dc02 Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:54:26 +00:00
azaozz
f85e0b3f00 Make iPad support usable again, add viewport meta, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 04:19:05 +00:00
azaozz
1050e0023a Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 17:30:51 +00:00
azaozz
c86787bbd3 Fix postbox containers when there are no visible postboxes in them, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 00:05:38 +00:00
azaozz
eb792ad204 Add translation comment, props ocean90, fixes #18881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-08 03:14:41 +00:00
azaozz
cce2047bc6 Actually the Press This styles changed in [18920] are not needed, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 20:24:29 +00:00
azaozz
7efc9306f9 Fix insetring images in Quick Press and Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 20:14:21 +00:00
azaozz
7672731d95 Fix prepending $editor_id to the Add Media link, see #17578
git-svn-id: http://svn.automattic.com/wordpress/trunk@18918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 19:12:55 +00:00
azaozz
18630a3d5a Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 16:59:33 +00:00
nacin
50078431dc Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:26:44 +00:00
nacin
850ea83baf Move the Screen Options tab to the top and introduce a new 'overview' screen option, which accepts content for the top of this tab. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:23:33 +00:00
nacin
cc199b6358 Remove redundant help tab title from the tab body. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:00:38 +00:00
nacin
d23f035e62 Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:58:36 +00:00
nacin
795ca8d394 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:57:12 +00:00
nacin
e88d2d7e5b Revert CSS that slipped into [18874]. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 03:29:49 +00:00
nacin
653a6c1108 Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 23:43:20 +00:00
nacin
af704000f6 @since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 16:24:14 +00:00
azaozz
f67f9729b8 Combine few styles for column containers, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 14:37:55 +00:00
azaozz
4878bc6ca0 As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:57:50 +00:00
azaozz
0e358f2179 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:18:56 +00:00
azaozz
53ac6d4a37 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 08:43:01 +00:00
ryan
a0f6c4469d Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 00:21:24 +00:00
nacin
44590b1d78 Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180). fixes #18865, see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:42:11 +00:00
koopersmith
fb31c6f302 Refine new help styles. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:15:19 +00:00
nacin
7afd7005aa Align the bytes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:57:17 +00:00
nacin
330cf9d4a4 type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:36:03 +00:00
nacin
4179013f06 Oops. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:05:43 +00:00
nacin
5d33f15fb3 Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:04:09 +00:00
nacin
337699e1cf Compress and bump scripts for [18890]. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:08:16 +00:00
nacin
593bce9f3e UI touches for the single media button. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:07:04 +00:00
azaozz
f9ebf31d4a Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:46:21 +00:00
koopersmith
dcf34868ed Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:45:32 +00:00
markjaquith
bc3fc076e1 Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
git-svn-id: http://svn.automattic.com/wordpress/trunk@18887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 17:48:41 +00:00
dd32
ecbc046a59 Use transparent delete icon. Props Caspie. Fixes #17991
git-svn-id: http://svn.automattic.com/wordpress/trunk@18883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:14:41 +00:00
dd32
5ad995f089 Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
git-svn-id: http://svn.automattic.com/wordpress/trunk@18882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:09:51 +00:00
koopersmith
725bcef080 Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 06:39:30 +00:00
azaozz
92cba72bef Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@18880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 23:10:02 +00:00
azaozz
d0ceca2496 Make $current_screen->add_option() easier to use, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 17:21:59 +00:00
ryan
760a1f8b6c Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: http://svn.automattic.com/wordpress/trunk@18878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:09:24 +00:00
ryan
5e247750a1 Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
git-svn-id: http://svn.automattic.com/wordpress/trunk@18876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:00:36 +00:00
azaozz
41429f32a9 Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: http://svn.automattic.com/wordpress/trunk@18875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 04:14:36 +00:00
azaozz
bc6411bb52 Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 03:32:12 +00:00
azaozz
6e0729790f Combine font-family, remove few unused bits, props ocean90, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:36:19 +00:00
ryan
69994de5d1 Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
git-svn-id: http://svn.automattic.com/wordpress/trunk@18871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:30:07 +00:00
azaozz
40794ebcd5 Fix typo when setting post_format in Press This.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:22:38 +00:00
ryan
435b3a0177 Implement bulk update for network/themes.php. Props ocean90. fixes #18687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:35:43 +00:00
ryan
401c841c93 Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
git-svn-id: http://svn.automattic.com/wordpress/trunk@18868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:03:01 +00:00
azaozz
bbafdfa0e5 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 04:00:57 +00:00
koopersmith
dbd18bea3d Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 18:19:49 +00:00
azaozz
3575537e5f Add screen_options with contextual content, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 06:59:36 +00:00
nacin
f626113f33 Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 00:04:30 +00:00
azaozz
9662f2f87e Add phpdoc for the section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 22:22:33 +00:00
azaozz
0df31fc3c4 Separate the tab title from the help section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 21:18:04 +00:00
azaozz
9e37d9490d Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: http://svn.automattic.com/wordpress/trunk@18860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 20:50:08 +00:00
nacin
fcba7735c0 Deprecate screen_meta(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:13:27 +00:00
nacin
e635d0befc Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:07:41 +00:00