Commit Graph

24298 Commits

Author SHA1 Message Date
Lance Willett
c6a57c410a Twenty Fourteen: avoid premature creation of tags when using the tag suggestion for Featured Content. Props obenland, fixes #26080.
git-svn-id: https://develop.svn.wordpress.org/trunk@26270 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 15:26:56 +00:00
Sergey Biryukov
659b2758ff Fix JSHint errors in gallery.js.
props dougwollison.
fixes #25999.

git-svn-id: https://develop.svn.wordpress.org/trunk@26269 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 11:09:01 +00:00
Sergey Biryukov
cb5682ac2f Fix JSHint errors in Gruntfile.js.
props jorbin.
fixes #26109.

git-svn-id: https://develop.svn.wordpress.org/trunk@26268 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 10:41:05 +00:00
Drew Jaynes
41f46d5e85 Inline documentation for hooks in wp-includes/cron.php.
Props tmtoy for the initial patch.
Fixes #25475.


git-svn-id: https://develop.svn.wordpress.org/trunk@26267 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 05:00:39 +00:00
Andrew Nacin
9cf1790265 Fix JShint errors in user-profile.js.
props dougwollison.
fixes #26016.


git-svn-id: https://develop.svn.wordpress.org/trunk@26266 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:39:05 +00:00
Andrew Nacin
114e544ffb JSHint fixes for inline-edit-tax.js.
props dougwollison.
fixes #26002.


git-svn-id: https://develop.svn.wordpress.org/trunk@26265 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:34:29 +00:00
Andrew Nacin
010fbd7866 JShint fixes for inline-edit-post.js.
props dougwollison.
fixes #26001.


git-svn-id: https://develop.svn.wordpress.org/trunk@26264 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:31:42 +00:00
Dion Hulse
199870b417 Plugin Deletion: Remove the correct transient after demoving plugins. Props jdgrimes. Fixes #26069
git-svn-id: https://develop.svn.wordpress.org/trunk@26263 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:16:50 +00:00
Dion Hulse
520840e84c Plugin Deletion: Properly clear the cache when multiple plugins are deleted. Props jdgrimes. Fixes #26065
git-svn-id: https://develop.svn.wordpress.org/trunk@26262 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:07:47 +00:00
Andrew Nacin
05ec933ea1 Fix spaces/tabs in Twenty Fourteen JS, allowing JSHint to run clean for these files.
props dougwollison.
fixes #26031, #26032.


git-svn-id: https://develop.svn.wordpress.org/trunk@26261 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 03:48:55 +00:00
Lance Willett
7a9d3855d4 Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093.
git-svn-id: https://develop.svn.wordpress.org/trunk@26260 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 23:11:01 +00:00
Andrew Ozz
b01698ee01 Widgets: remove some unused styles, props shaunandrews, see #25821
git-svn-id: https://develop.svn.wordpress.org/trunk@26259 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 23:05:31 +00:00
Lance Willett
1856fec849 Twenty Fourteen: simplify tags output in content templates, props nacin. See #26093.
git-svn-id: https://develop.svn.wordpress.org/trunk@26258 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:47:17 +00:00
Sergey Biryukov
7d1c5d379a Correctly capitalize WP_Query in Featured_Content::pre_get_posts() inline docs. see #26064.
git-svn-id: https://develop.svn.wordpress.org/trunk@26257 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:23:06 +00:00
Matt Thomas
132e26e81a Make the item-controls elements on the Edit Menus page line up; use :before instead of :after for item-edit icons for better cross-browser performance; switch to :after instead of ::after for pseudo-elements so IE8 displays these icons properly. Fixes #26059, props jeremyfelt.
git-svn-id: https://develop.svn.wordpress.org/trunk@26256 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:09:51 +00:00
Lance Willett
c8d0070d64 Twenty Fourteen: correct $query usage in Featured_Content::pre_get_posts(), props SergeyBiryukov, fixes #26064.
git-svn-id: https://develop.svn.wordpress.org/trunk@26255 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:03:03 +00:00
Matt Thomas
ebb4753f12 Load the correct subset of Open Sans for cyrillic, greek, and vietnamese in addition to latin and latin-ext; following the example of Twenty Twelve. See #26063, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26254 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 21:39:22 +00:00
Matt Thomas
6af1761110 Make password inputs on profile.php match the width of other text inputs. Fixes #26079, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@26253 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 21:30:19 +00:00
Scott Taylor
ff4f1bb170 For unit tests that call wpmu_create_blog(), Blog factory, or installation code that attempts to clear transients: suppress database errors on setUp and restore on tearDown.
There are a few places in core that were preventing this from working by explicity setting `$wpdb->suppress_errors` to `false`. Instead, they should inherit the value that existed before errors were suppressed.

This allows Multisite unit tests to run without explosive database errors, and allows `$wpdb->suppress_errors` to be overridden all the way down the chain.

Fixes #26102.


git-svn-id: https://develop.svn.wordpress.org/trunk@26252 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 20:44:34 +00:00
Sergey Biryukov
d42e8eee3d Remove unused global reference. props jeremyfelt. fixes #26103.
git-svn-id: https://develop.svn.wordpress.org/trunk@26251 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 20:18:57 +00:00
Matt Thomas
3a323a26b1 Improvements to the modal media uploader on mobile in landscape orientation.
* Merge the 782 and 500 width queries into a single 640px query
* At this breakpoint, remove the drop shadow and margin from the uploader modal
* For only landscape views, tabs are shown in a single line.
* Add padding to tab links to account for untappable 20px area at top of landscape viewport in iOS
* Add overflow: visible to .embed-link-settings at responsive sizes to prevent unnecessary framed scrolling

See #25977, props joen.



git-svn-id: https://develop.svn.wordpress.org/trunk@26250 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 20:06:47 +00:00
Lance Willett
ed5df3ab38 Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26249 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 19:20:28 +00:00
Matt Thomas
c0dc646297 Put the 'Safe Draft' button back in its place in the Publish box. Fixes #26081, props aubreypwd.
git-svn-id: https://develop.svn.wordpress.org/trunk@26248 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 19:03:01 +00:00
Matt Thomas
c85c7ec8df Style and positioning fixes to form elements in the Publish box:
- Make select element text #555 to match others
- Make Cancel links vertically align with buttons
- Make sure the spacing between buttons and cancel links is always consistent
- Override active button styles for responsive states so button size doesn't change when active
- Reduce font size of date select element to match date text inputs

Fixes #26082, props aubreypwd.



git-svn-id: https://develop.svn.wordpress.org/trunk@26247 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 18:52:06 +00:00
Sergey Biryukov
cbad0abaae Normalize slashes in WP_Filesystem_MockFS::mkdir() and WP_Filesystem_MockFS::locate_parent_node() to avoid an infinite loop on Windows.
fixes #26091.

git-svn-id: https://develop.svn.wordpress.org/trunk@26246 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 15:32:47 +00:00
Sergey Biryukov
cf445be887 Remove debug cruft. props nbachiyski. see #25791.
git-svn-id: https://develop.svn.wordpress.org/trunk@26245 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 13:17:13 +00:00
Andrew Nacin
42e0245712 Add level-X classes to the posts list table rows.
props jhned.
fixes #25791.


git-svn-id: https://develop.svn.wordpress.org/trunk@26244 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 20:39:48 +00:00
Andrew Nacin
e52857484a Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
props yoavf.
fixes #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26243 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 16:17:05 +00:00
Sergey Biryukov
b95580d5ed Fix date comparison in dashboard_relative_date(). fixes #26033.
git-svn-id: https://develop.svn.wordpress.org/trunk@26242 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 03:29:11 +00:00
Sergey Biryukov
dfd8f30724 PHPDoc and i18n fixes for dashboard widgets.
props dimadin for initial patch.
see #25824.

git-svn-id: https://develop.svn.wordpress.org/trunk@26241 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 03:20:38 +00:00
Sergey Biryukov
3035556d48 Fix CSS formatting. Remove redundant rule. see #25976. see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26240 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 01:10:49 +00:00
Sergey Biryukov
bbd6116d28 Fix padding for Quick Draft dashboard widget when there are no drafts.
props aubreypwd.
fixes #26076.

git-svn-id: https://develop.svn.wordpress.org/trunk@26239 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 00:37:49 +00:00
Andrew Nacin
7a08bc4b70 JSHint fixes for user-suggest.js.
props dougwollison.
fixes #26017.


git-svn-id: https://develop.svn.wordpress.org/trunk@26238 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 20:40:04 +00:00
Sergey Biryukov
4c416b2549 Inline documentation for hooks in wp-admin/press-this.php.
props ninio, kpdesign.
fixes #25731.

git-svn-id: https://develop.svn.wordpress.org/trunk@26237 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 19:12:21 +00:00
Sergey Biryukov
0262b2e4db Remove redundant current_user_can() check. props jeremyfelt. fixes #26057.
git-svn-id: https://develop.svn.wordpress.org/trunk@26236 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 17:37:26 +00:00
Sergey Biryukov
2e52eeb484 Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network().
fixes #25158.

git-svn-id: https://develop.svn.wordpress.org/trunk@26235 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 13:45:28 +00:00
Sergey Biryukov
796a9a5613 Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query.
props dziudek.
fixes #25995.

git-svn-id: https://develop.svn.wordpress.org/trunk@26234 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 08:20:17 +00:00
Sergey Biryukov
9a8ec07996 Fix replacement regex in wp-admin/js/nav-menu.js.
props rzen, jeremyfelt.
fixes #26047.

git-svn-id: https://develop.svn.wordpress.org/trunk@26233 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 07:41:01 +00:00
Andrew Nacin
3d0c903bfd Fix JSHint errors in three files.
props tommcfarlin.
fixes #25942, #25943, #25944.


git-svn-id: https://develop.svn.wordpress.org/trunk@26232 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 23:18:18 +00:00
Andrew Nacin
b05fb903ac Revert these action blocks in wp-admin/post.php to their pre-[26144] state.
see #25824.


git-svn-id: https://develop.svn.wordpress.org/trunk@26231 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 22:28:57 +00:00
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