Commit Graph

8910 Commits

Author SHA1 Message Date
Andrew Ozz 0620dbb5eb Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Daryl Koopersmith 161ee6a46d Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19261 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:26:55 +00:00
Andrew Ozz 93e5c50ad8 Send the 'wp-remove-post-lock' XHR only when the main window is unloaded (unloading the Thickbox iframe triggers it too), see #18515
git-svn-id: https://develop.svn.wordpress.org/trunk@19258 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:52:12 +00:00
Andrew Ozz 7334506df0 Bring back the multi-file/html uploader switching, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19257 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:40:23 +00:00
Andrew Nacin bc90d4d2a2 .pmuB
git-svn-id: https://develop.svn.wordpress.org/trunk@19254 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 17:06:31 +00:00
Ryan Boren d154749f87 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: https://develop.svn.wordpress.org/trunk@19251 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 14:10:54 +00:00
Andrew Nacin 26ed0186e0 Style updates to translators list on Credits page. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19250 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 23:16:21 +00:00
Daryl Koopersmith 49e85592f0 Add general top-level class to the secondary admin menu. Fixes hover styling and tabbing JS. fixes #19220.
git-svn-id: https://develop.svn.wordpress.org/trunk@19248 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:46:29 +00:00
Andrew Ozz 448af8627c Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19247 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:33:26 +00:00
Andrew Nacin 958705e7cb New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19244 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 19:05:01 +00:00
Andrew Nacin 2430370230 Pass remaining start_el() arguments to page_css_class. props TheDeadMedic, fixes #17727.
git-svn-id: https://develop.svn.wordpress.org/trunk@19240 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:35:25 +00:00
Andrew Ozz 79115ae6a5 More phpdoc for wp_editor(), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19239 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 17:46:23 +00:00
Andrew Nacin fb32b677e2 Promote secondary admin bar items to primary if there are no primary items at time of render. see #19136, #19221.
git-svn-id: https://develop.svn.wordpress.org/trunk@19236 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 00:42:39 +00:00
Andrew Nacin 2b41063044 Show sites in the 'My Sites' menu as secondary items only when the user is a super admin and therefore has a primary menu item (Network Admin). props wpmuguru, fixes #19221.
git-svn-id: https://develop.svn.wordpress.org/trunk@19235 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 00:41:45 +00:00
Dion Hulse 522f890c32 Fix typo in [19231]. See #17579
git-svn-id: https://develop.svn.wordpress.org/trunk@19234 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 22:13:35 +00:00
Andrew Nacin f3ba249747 Check post type and bail earlier in wp_get_attachment_url(). props mitchoyoshitaka, fixes #17579.
git-svn-id: https://develop.svn.wordpress.org/trunk@19231 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:20:33 +00:00
Daryl Koopersmith 716906a149 Add secondary flag to admin bar. fixes #19136.
git-svn-id: https://develop.svn.wordpress.org/trunk@19230 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:12:48 +00:00
Andrew Ozz 940cb38514 Fix styling in the MCE help popup, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19227 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 14:38:37 +00:00
Andrew Ozz d2d9926055 Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19225 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:34:09 +00:00
Ryan Boren 5cb7ceeb91 beta3 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19224 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:26:49 +00:00
Andrew Ozz 4c66628f35 Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19223 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:23:40 +00:00
Daryl Koopersmith d0b826bb85 Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: https://develop.svn.wordpress.org/trunk@19222 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 21:32:03 +00:00
Daryl Koopersmith 3dd54276a7 Remove Helvetica Neue from the admin bar font stack. see #19145.
git-svn-id: https://develop.svn.wordpress.org/trunk@19221 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 21:12:22 +00:00
Andrew Ozz b0ca083f21 Fix admin bar background gradients, props ocean90, fixes #19163
git-svn-id: https://develop.svn.wordpress.org/trunk@19220 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 20:13:41 +00:00
Andrew Ozz 4eaabaeefe Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: https://develop.svn.wordpress.org/trunk@19219 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:24:55 +00:00
Andrew Ozz ac06d56394 Phpdoc fix for wp_add_script_before(), see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@19218 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:15:56 +00:00
Andrew Ozz 8e37911c0c Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@19217 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:05:59 +00:00
Andrew Nacin 3db76467e8 Remove unused variable. props kawauso, see #18364.
git-svn-id: https://develop.svn.wordpress.org/trunk@19216 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 17:53:52 +00:00
Andrew Ozz a56cd15128 Bring back the Fullscreen button in Quicktags, fixes #19194
git-svn-id: https://develop.svn.wordpress.org/trunk@19215 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 16:53:31 +00:00
Ryan Boren dd11766207 Admin bar validation fix. Props usermrpapa. fixes #19180
git-svn-id: https://develop.svn.wordpress.org/trunk@19214 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 15:55:58 +00:00
Andrew Nacin fe2bd09613 Simplify logic in wp_get_attachment_link(). see #18491.
git-svn-id: https://develop.svn.wordpress.org/trunk@19212 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 14:22:42 +00:00
Ryan Boren 74c7564622 Avoid warning when non-existent ID pass to wp_get_attachment_link(). Tidy formatting of wp_get_attachment_link(). Props SergeyBiryukov, Jayjdk. fixes #18491
git-svn-id: https://develop.svn.wordpress.org/trunk@19210 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 14:08:25 +00:00
Jon Cave e263cfc8b5 is_user_member_of_blog() [no args] should return true for logged in users on single site. $wpdb->blogid is 0, but the current blog ID isn't. Fixes #19160.
git-svn-id: https://develop.svn.wordpress.org/trunk@19209 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 23:07:07 +00:00
Jon Cave 0890ecf471 get_blogs_of_user() should return false for logged out and non-existent users on single site. See #19160.
git-svn-id: https://develop.svn.wordpress.org/trunk@19208 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 23:05:13 +00:00
Andrew Ozz b1af3610ec Fix a:focus styling and backwards tabbing, add tabindex arg for <a>, see #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19207 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 20:38:38 +00:00
Andrew Nacin 611a6118c9 Merge and update variable declarations. fixes #19176.
git-svn-id: https://develop.svn.wordpress.org/trunk@19205 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:45:24 +00:00
Andrew Nacin 808c8dc6a5 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: https://develop.svn.wordpress.org/trunk@19203 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:32:24 +00:00
Andrew Nacin 50b132c285 Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: https://develop.svn.wordpress.org/trunk@19202 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:28:20 +00:00
Andrew Nacin 91b5d4baa5 Clean up wp_admin_bar_my_account_menu() a bit. see #19193.
git-svn-id: https://develop.svn.wordpress.org/trunk@19201 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:27:24 +00:00
Andrew Nacin ae6ddbd3e6 Link the profile meta in 'My Account' to profile.php. props linuxologos, fixes #19193.
git-svn-id: https://develop.svn.wordpress.org/trunk@19200 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:25:13 +00:00
Daryl Koopersmith 9553be30d3 Improve display logic for admin menu arrows. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19199 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 04:18:50 +00:00
Daryl Koopersmith 1597250c9c Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191.
git-svn-id: https://develop.svn.wordpress.org/trunk@19198 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 03:59:00 +00:00
Daryl Koopersmith 7851ec39c0 Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19197 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 00:39:46 +00:00
Daryl Koopersmith d622b01600 Remove dead padding/margin CSS from the admin bar. These previously were used for the now-removed arrows. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19196 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 00:30:49 +00:00
Andrew Ozz 5c18d3b4f4 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: https://develop.svn.wordpress.org/trunk@19194 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:46:24 +00:00
Andrew Nacin 057afbb44b Don't set post_type QV in _post_format_request() when we're in the admin. props ethitter. fixes #18475.
git-svn-id: https://develop.svn.wordpress.org/trunk@19193 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:15:23 +00:00
Andrew Nacin 0d7911b7cf Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: https://develop.svn.wordpress.org/trunk@19191 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 20:42:20 +00:00
Andrew Nacin 15622fb001 Correct TinyMCE anchor (as in <a name>) image. props jakemgold, fixes #18419.
git-svn-id: https://develop.svn.wordpress.org/trunk@19190 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 20:14:13 +00:00
Andrew Nacin 1102de62d5 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@19188 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:33:16 +00:00
Andrew Nacin abcdc78656 Allow 8212/8211 (em dash and en dash) to be translated in wptexturize(). props SergeyBiryukov, fixes #15556.
git-svn-id: https://develop.svn.wordpress.org/trunk@19187 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:31:54 +00:00