Commit Graph

24135 Commits

Author SHA1 Message Date
Scott Taylor 926427e9ee In `update_meta_cache()`, ensure that meta is always stored in the same order. Removes an unnecessary `$wpdb->prepare` statement. Adds unit test.
Props mattheu.
Fixes #25511.



git-svn-id: https://develop.svn.wordpress.org/trunk@26307 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:30:35 +00:00
Andrew Ozz 3341352a3d Widgets:
- Prevent dragging of the widget-in-question when the chooser is open.
- Don't show more than one spinner when saving widgets positions.
- Disable selecting of text in the widget title. Prevents selecting/highlighting most of the screen when dragging on slower devices.
See #25821.

git-svn-id: https://develop.svn.wordpress.org/trunk@26306 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:27:47 +00:00
Scott Taylor 72a3c91855 Mark test skipped when not in multisite. See #25883.
git-svn-id: https://develop.svn.wordpress.org/trunk@26305 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:13:53 +00:00
Scott Taylor 36a5af537e Prefix the `notoptions` cache key in the multisite `site-options` group with `$wpdb->siteid` to avoid collisions and race conditions when using a fancy multi-network setup. Adds unit test.
Fixes #25883.



git-svn-id: https://develop.svn.wordpress.org/trunk@26304 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:06:26 +00:00
Sergey Biryukov 731d102afb Use correct variable. props wet. fixes #26139.
git-svn-id: https://develop.svn.wordpress.org/trunk@26303 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 09:45:22 +00:00
Matt Mullenweg 1b77c66fd8 Why hello there. Bumping for first beta of the 3.8 cycle.
git-svn-id: https://develop.svn.wordpress.org/trunk@26302 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 04:28:57 +00:00
Sergey Biryukov 4de639c01c Use correct variable name in _wp_credits_add_profile_link() inline docs.
props morganestes.
fixes #26134.

git-svn-id: https://develop.svn.wordpress.org/trunk@26301 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 03:43:45 +00:00
Matt Thomas 6ed7efe416 Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130.
git-svn-id: https://develop.svn.wordpress.org/trunk@26300 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:30:10 +00:00
Matt Thomas ec65012ce7 Update error screens with the new visual design:
* Bring in new styles for backgrounds/text/link/borders/buttons
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes

Fixes #25956, props johnbillion.



git-svn-id: https://develop.svn.wordpress.org/trunk@26299 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:24:23 +00:00
Matt Thomas 9e59f73a0b Bring the install/update screens in line with the new admin design. This affects:
* Creating a wp-config.php file
* Installation
* Database upgrade
* Database repair
* Readme.html
* Network sites actions

What's changed:

* Bring background/text/link/border colours in line with mp6
* Bring fonts in line with mp6 (see note below)
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
* Switch to the new vector WordPress logo in the header to match the log in screen
* Force table cells into rows in the <782px media query

Fixes #25951, props johnbillion.



git-svn-id: https://develop.svn.wordpress.org/trunk@26298 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:20:13 +00:00
Matt Thomas c8e93a3e16 Some improvements to the dashboard activity widget:
* Use the correct background color for unapproved comments.
* Use the sale box-shadow style instead of a border between rows so the orange border is uninterrupted between multiple pending comments.

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26297 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:32:36 +00:00
Andrew Ozz d0a8ff70ec Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26296 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:28:06 +00:00
Sergey Biryukov 6174ec6e56 Fix JSHint errors in media-models.js.
props kadamwhite.
fixes #26132.

git-svn-id: https://develop.svn.wordpress.org/trunk@26295 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:06:41 +00:00
Andrew Nacin 555703dff2 Add an experimental rssjs feed based on the experimental rss.js spec.
This is simply a JSON representation of the RSS 2.0 feed, accessible at /feed/rssjs/ anywhere.

props pento.
see #25639.


git-svn-id: https://develop.svn.wordpress.org/trunk@26294 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:57:09 +00:00
Matt Thomas 9df3f0fde2 Making improvements to new styles added in the MP6 merge, and addressing visual feedback from core team.
Improved and more consistent styling on the widgets & menus pages:

* Use the same visual treatment for both widgets and menus.
* Re-use existing styles from input:focus for draggable elements.
* Use the standard H3 size for widget area titles.
* Re-style the Widgets page drop zone to match drop zone from dashboard.
* Replace the gear icon on Widgets with the standard open/close arrows.
* Remove "Choose a sidebar" header from widget area chooser.

Make open/close arrows more consistent:

* Use the same arrow direction everywhere: pointing down when its container is closed, pointing up when open (following the Dashboard example).
* Set a consistent color for open/close arrows.
* Add a hover color for open/close arrows.
* Make open/close arrows permanently visible; :hover states don't exist on touch.

Make typography and color more consistent:

* Switch all declarations of #dedede to #ddd for simplicity's sake.
* Make H3s the same weight and color as H2s.
* Make select elements the same color as text inputs.
* Make paragraph text #444 so it doesn't look washed out on grey backgrounds.

General improvements:

* Eliminate the border between rows in settings tables.
* Make text and buttons line up in the Customizer.

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26293 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:47:25 +00:00
Sergey Biryukov a25d658720 Fix JSHint errors in image-edit.js.
props dougwollison.
fixes #26000.

git-svn-id: https://develop.svn.wordpress.org/trunk@26292 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:46:43 +00:00
Andrew Nacin faee071ac0 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@26291 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:43:36 +00:00
Andrew Ozz 7ae4a321e2 MP6: remove left-over plugin reference, see #25858
git-svn-id: https://develop.svn.wordpress.org/trunk@26290 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:23:32 +00:00
Matt Thomas a63545e92b Cleanup on inputs:
* Remove the !important from checkbox and radio border color
* Remove the redundant #wpbody select rule
* Add checkbox and radio inputs to the standard :focus style rules for inputs
* Remove custom border and box shadow styles from .login inputs
* Don't remove the default outline from select elements since webkit doesn't allow borders on selects

Fixes #26120.



git-svn-id: https://develop.svn.wordpress.org/trunk@26289 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 16:53:05 +00:00
Sergey Biryukov 863cec8252 Only show "Add New Theme" block on Manage Themes screen if not Multisite and the user can install themes.
props markoheijnen.
see #25948.

git-svn-id: https://develop.svn.wordpress.org/trunk@26288 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 14:08:17 +00:00
Sergey Biryukov 09fa0c09bb Fix JSHint errors in widgets.js.
props jorbin.
fixes #26127.

git-svn-id: https://develop.svn.wordpress.org/trunk@26287 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 11:11:01 +00:00
Andrew Ozz d8077eae05 Widgets: fix html for sidebars columns when the theme has only one sidebar. See #25952.
git-svn-id: https://develop.svn.wordpress.org/trunk@26286 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 05:08:22 +00:00
Andrew Ozz b31a5258cd Widgets: split the sidebars in two containers so there are no empty spaces when they are shown in two columns and some are open, other closed. See #25952.
git-svn-id: https://develop.svn.wordpress.org/trunk@26285 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 04:44:21 +00:00
Drew Jaynes dfd0c43896 Inline documentation for hooks in wp-admin/my-sites.php.
Props megane9988, kpdesign.
Fixes #25586.


git-svn-id: https://develop.svn.wordpress.org/trunk@26284 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 03:35:38 +00:00
Dion Hulse 642b466275 Remove the active row theme/plugin styling on Dashboard -> Updates. Fixes #26125
git-svn-id: https://develop.svn.wordpress.org/trunk@26283 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 03:02:30 +00:00
Dion Hulse c49f6bbb5a Themes: Add a get_theme_update_available() function to retrieve an update link and use it on the Themes page. See #26078
git-svn-id: https://develop.svn.wordpress.org/trunk@26282 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:56:52 +00:00
Andrew Ozz 5d5571afe9 Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821
git-svn-id: https://develop.svn.wordpress.org/trunk@26281 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:40:54 +00:00
Dion Hulse d94a3690e5 Themes page: Remove a z-index which caused the Current Theme overlay to overlay menu's, that otherwise appears unused. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26280 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:29:28 +00:00
Dion Hulse 4818ef5335 Translate the debug update email for development installs. Props Nao for initial patch. See #25667
git-svn-id: https://develop.svn.wordpress.org/trunk@26279 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:03:30 +00:00
Dion Hulse 56d0e4ae40 Appearance: Fix a PHP Notice when the update transient isn't available (for example, due to a timeout or being used offline). See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26278 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 01:39:40 +00:00
Andrew Ozz 8da914b9ec Widgets:
- Fix support for expanding (wide) widgets in the Inactive Widgets area.
- Remove resizing of the sidebars height.
- Stop removing unneeded "for" attributes from labels inside the widgets. Was a fix for IE6 odd behaviour.  

See #26117.

git-svn-id: https://develop.svn.wordpress.org/trunk@26277 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 01:34:41 +00:00
Andrew Ozz 3fd189d063 Heartbeat: use cached $document instead of $(document), props TobiasBg, see #25073
git-svn-id: https://develop.svn.wordpress.org/trunk@26276 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:51:44 +00:00
Andrew Ozz e45ca7cc89 Widgets:
- Remove the !important styles that were overriding the widget width when expanded.
- Fix missing border-bottom from widgets when dragged and expanded.
Props shaunandrews, see #26117.

git-svn-id: https://develop.svn.wordpress.org/trunk@26275 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:46:05 +00:00
Drew Jaynes db8a601bf9 Inline documentation for hooks in wp-admin/edit-tags.php.
Props pauldewouters for the initial patch.
Fixes #25532.


git-svn-id: https://develop.svn.wordpress.org/trunk@26274 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:15:07 +00:00
Andrew Nacin d8617e0fe9 Remove whitespace from the inside of a <textarea> element, added in [26138] with inline documentation.
see #25662.


git-svn-id: https://develop.svn.wordpress.org/trunk@26273 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 19:34:08 +00:00
Lance Willett d4855bd5ec Twenty Fourteen: minor style adjustments for navigation and a new lighter pattern-dark graphic which makes easier to change the background color of the featured image content. Props iamtakashi.
Also update stylesheet tags. See #25946.

git-svn-id: https://develop.svn.wordpress.org/trunk@26272 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:26:20 +00:00
Andrew Ozz fdc08a857e Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821
git-svn-id: https://develop.svn.wordpress.org/trunk@26271 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:02:14 +00:00
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