Commit Graph

24058 Commits

Author SHA1 Message Date
Andrew Nacin f000be8af3 More dash updates.
* Shuffle around some pixels.
 * Rename some things that weren't caught in [26220].
 * Revert default-widgets.php change from [26144].
props lessbloat.
see #25824.


git-svn-id: https://develop.svn.wordpress.org/trunk@26230 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 22:22:43 +00:00
Matt Thomas c97a94c0d5 Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977.
git-svn-id: https://develop.svn.wordpress.org/trunk@26229 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:46:14 +00:00
Andrew Nacin b408e2ad07 Fix JSHint errors in shortcode.js.
props tommcfarlin.
fixes #25945.


git-svn-id: https://develop.svn.wordpress.org/trunk@26228 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:24:43 +00:00
Lance Willett 344866b1f0 Twenty Fourteen: general cleanup for spacing, inline comments. Props obenland, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26227 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:19:33 +00:00
Lance Willett b52ee7959b Twenty Fourteen: fix an issue with keyboard navigation where you couldn't navigate to the previous image. Props obenland, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26226 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:18:00 +00:00
Lance Willett 001e4b6052 Twenty Fourteen: limit back compat to 3.6 and later versions. See #26055, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@26225 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:14:49 +00:00
Andrew Ozz 961a2a89e9 JSHint fixes for editor.js. Props dougwollison, fixes #25947
git-svn-id: https://develop.svn.wordpress.org/trunk@26224 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:02:56 +00:00
Matt Thomas 5a8835f000 Make the Install Plugins search results page responsive, so the table doesn't overflow the viewport. Props joen, fixes #25976.
git-svn-id: https://develop.svn.wordpress.org/trunk@26223 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:58:36 +00:00
Andrew Nacin f82e1c5d23 Add JavaScript tests for shortcode.js.
props jorbin, iandunn.
see #25784.


git-svn-id: https://develop.svn.wordpress.org/trunk@26222 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:40:54 +00:00
Andrew Nacin 1ce61ffda7 Merge wp_dashboard_recent_quickdrafts() into wp_dashboard_quick_press(). see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26221 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:39:37 +00:00
Andrew Nacin 9a936eb7d0 Dash cleanup.
* Use wp_add_dashboard_widget() rather than add_meta_box().
 * Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
 * Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
 * Remove some debug cruft that was preventing caching and invalidation.
 * Simplify lots of things where possible.
see #25824.


git-svn-id: https://develop.svn.wordpress.org/trunk@26220 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:14:44 +00:00
Matt Thomas 8b8be72403 Improvements to the media uploader at responsive sizes:
* Change load order so larger breakpoint loads before smaller breakpoint.
* Use absolute positioning rather than floats, to fix some overflow issues.
* Remove the max-height media query so desktop browsers benefit from the responsive styles.
* Reset text inputs to 16px so iOS doesn't force zoom.
* Adjust the position of the close button so it doesn't overlap the Create Gallery link.

See #25977. Props joen.



git-svn-id: https://develop.svn.wordpress.org/trunk@26219 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:53:50 +00:00
Lance Willett 9808a59513 Twenty Fourteen: remove a font weight of `900 italic` which isn't needed. Props iamtakashi. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26218 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:02:09 +00:00
Lance Willett a798664b35 Twenty Fourteen: remove `main-content` element where not necessary, props iamtakashi. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26217 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:01:00 +00:00
Andrew Nacin 33cce1d7d7 Sort themes by name on the new themes.php page. see #25948.
git-svn-id: https://develop.svn.wordpress.org/trunk@26216 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 16:41:39 +00:00
Andrew Nacin f135b9b540 Remove debug cruft. props dimadin. see #25948.
git-svn-id: https://develop.svn.wordpress.org/trunk@26215 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 16:39:16 +00:00
Andrew Nacin f75ee9ea0f Fix JSHint errors in remaining WP TinyMCE plugin files.
fixes #26048.


git-svn-id: https://develop.svn.wordpress.org/trunk@26214 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 15:04:04 +00:00
Andrew Nacin d8e08549bb Fix JSHint errors in wp-plupload.js.
props atimmer.
fixes #26044.


git-svn-id: https://develop.svn.wordpress.org/trunk@26213 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:26:36 +00:00
Andrew Nacin 34eff3bf52 Fix JSHint errors in quicktags.js. Ignore deprecated API rather than marking it as exported globals.
props kovshenin.
fixes #26046.


git-svn-id: https://develop.svn.wordpress.org/trunk@26212 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:25:29 +00:00
Lance Willett d5afb2c07c Twenty Fourteen: use HTML entity for arrow in Help text string, props dd32. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26211 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:19:51 +00:00
Andrew Nacin 6597d9d43e Fix JSHint errors in theme-install.js.
props kovshenin.
fixes #26045.


git-svn-id: https://develop.svn.wordpress.org/trunk@26210 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:15:39 +00:00
Andrew Nacin 92f9cc1d5f JSHint fixes for word-count.js and wp-mediaelement.js. see #25187.
git-svn-id: https://develop.svn.wordpress.org/trunk@26209 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:51:23 +00:00
Andrew Nacin 3999d50cea Residual JSHint fixes in common.js and edit-comments.js.
see #25912, #25979.


git-svn-id: https://develop.svn.wordpress.org/trunk@26208 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:36:17 +00:00
Andrew Nacin aed015478f Fix JSHint errors in two files. see #25957, #25864. (Similar names but separate files.)
git-svn-id: https://develop.svn.wordpress.org/trunk@26207 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:24:01 +00:00
Andrew Nacin 0a315a3ff6 Fix JSHint errors in customize-controls.js.
props jorbin.
fixes #25917.


git-svn-id: https://develop.svn.wordpress.org/trunk@26206 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:07:21 +00:00
Andrew Nacin 6ee347085f Fix JSHint errors in plupload handlers.js.
props mdbitz.
fixes #26041.


git-svn-id: https://develop.svn.wordpress.org/trunk@26205 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:55:24 +00:00
Andrew Nacin 1337df1724 Fix JSHint errors in post.js.
props atimmer.
fixes #25994.


git-svn-id: https://develop.svn.wordpress.org/trunk@26204 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:34:14 +00:00
Andrew Nacin 39d3dd795c Fix JSHint errors in utils.js.
props adamsilverstein.
fixes #25957.


git-svn-id: https://develop.svn.wordpress.org/trunk@26203 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:26:00 +00:00
Andrew Nacin 3f60b57875 Fix JSHint errors in autosave.js.
props seanchayes.
fixes #26035.


git-svn-id: https://develop.svn.wordpress.org/trunk@26202 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:19:15 +00:00
Andrew Nacin 646bb59a2b Fix JSHint errors in the wpview and wplink editor plugins.
props seanchayes.
fixes #26024, #26027.


git-svn-id: https://develop.svn.wordpress.org/trunk@26201 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:17:13 +00:00
Andrew Nacin daf448ae0c Fix JSHint errors in 5 files.
props seanchayes.
fixes #26015, #26020, #26019, #26034, #26022.


git-svn-id: https://develop.svn.wordpress.org/trunk@26200 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:15:06 +00:00
Andrew Nacin 46a5e7a863 Fix JSHint errors in 3 files.
props atimmer.
fixes #25990, #25993, #26008.


git-svn-id: https://develop.svn.wordpress.org/trunk@26199 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:11:10 +00:00
Andrew Nacin f25abde28f Fix JSHint errors in tags.js.
props atimmer.
fixes #26009.


git-svn-id: https://develop.svn.wordpress.org/trunk@26198 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:01:34 +00:00
Andrew Nacin f649fb80c8 Fix JSHint errors in heartbeat.js.
props dziudek.
fixes #25986.


git-svn-id: https://develop.svn.wordpress.org/trunk@26197 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:59:51 +00:00
Andrew Nacin 5a2af56620 Fix JSHint errors in media-upload.js.
props iblamefish.
fixes #26023.


git-svn-id: https://develop.svn.wordpress.org/trunk@26196 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:52:12 +00:00
Andrew Nacin caf4f48e31 Fix JSHint errors in six files.
props mdbitz.
fixes ##26011, #26012, #26013, #26014, #26038, #26039.


git-svn-id: https://develop.svn.wordpress.org/trunk@26195 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:41:51 +00:00
Andrew Nacin 895e8edada Fix JSHint errors for customize-loader.
props mdbitz.
fixes #26040.


git-svn-id: https://develop.svn.wordpress.org/trunk@26194 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:30:26 +00:00
Andrew Nacin 61eedb9d34 Fix JSHint errors in wplink.js.
props jorbin.
fixes #25914.


git-svn-id: https://develop.svn.wordpress.org/trunk@26193 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:27:31 +00:00
Dion Hulse c4e0aa63d9 Updates: Force an update check to occur when the 'Check Again' button is used in the Dashboard. Fixes #25831
git-svn-id: https://develop.svn.wordpress.org/trunk@26192 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 03:04:00 +00:00
Scott Taylor 15c1c2f130 Don't place smilies inside of pre or code tags. Don't skip smilie after a smilie with an 8 in it. Fix regular expression used for smiley translations to work when there is only one registered emoticon.
Props solarissmoke, soulseekah, mdbitz, yonasy. ht to mdbitz for the Unit Tests and a comprehensive patch.
Fixes #16448, #20124, #25303.



git-svn-id: https://develop.svn.wordpress.org/trunk@26191 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:45:39 +00:00
Lance Willett e7fc90c34e Twenty Fourteen: remove unneeded translator context from theme Help tab text, props domain. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26190 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:42:05 +00:00
Scott Taylor 0f9564807b Don't call is_home() before the query is run in Featured Content's pre_get_posts hook callback.
git-svn-id: https://develop.svn.wordpress.org/trunk@26189 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:36:30 +00:00
Dion Hulse c7710e4238 Invalidate the 'update_core' Update check transient when $wp_version changes. See #25831
git-svn-id: https://develop.svn.wordpress.org/trunk@26188 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:34:37 +00:00
Scott Taylor 5de39fc2f1 Remove the Featured Content term filters when running Unit Tests. Set the return value of `wp_get_object_terms()` to a var before passing to `array_shift()` in `test_get_object_terms_types()`, which expects a var to be passed by reference.
See #25282.



git-svn-id: https://develop.svn.wordpress.org/trunk@26187 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:32:16 +00:00
Dion Hulse 8c01596a75 Updates: When a failed Background Update occurs, only show the failed update nag if the user hasn't yet updated if it was an early abort. Props SergeyBiryukov. Fixes #25887 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@26186 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:30:30 +00:00
Helen Hou-Sandi 3f6c11bf0a We only need to declare Open Sans once in wp-admin.css. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26185 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 00:14:41 +00:00
Matt Thomas bee7eda2aa Fixing some inconsistent behavior on toolbar icons:
- Use .ab-icon:before, .ab-item:before, and #adminbarsearch:before to select all toolbar icons.
- Rewrite the selector for toolbar icon hover styles so they're not overridden by default colors.
- Add #adminbarsearch:before to color schemes, so its icon color is changed with the others.
- Remove duplicate color rule on #adminbarsearch:before.

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26184 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 00:08:38 +00:00
Andrew Nacin 513f36d6f7 Clean up wp-admin/index.php after dash merge. see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26183 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:58:55 +00:00
Helen Hou-Sandi 17a8516d2e Remove now-unused #adminmenushadow. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26182 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:48:44 +00:00
Matt Thomas e525f62b27 Color schemes should use .ab-icon:before instead of .ab-item:before to target adminbar icons. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26181 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:45:11 +00:00