Commit Graph

24191 Commits

Author SHA1 Message Date
Dion Hulse
8ad620e51f Themes: Do extra Cap checks before outputting links, and use full URI's. See #25948
Built from https://develop.svn.wordpress.org/trunk@26470


git-svn-id: http://core.svn.wordpress.org/trunk@26368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 09:01:09 +00:00
Dion Hulse
c8b13eaa35 Themes: When the user doesn't have switch_themes capabilities, and we've passed the current theme, detect the theme slug/stylesheet correctly so that the flags are set properly. See #25948
Built from https://develop.svn.wordpress.org/trunk@26469


git-svn-id: http://core.svn.wordpress.org/trunk@26367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 08:38:09 +00:00
Dion Hulse
1a8b4dfced Themes: Add a clearing <br/> to the end of .theme-browser.
This is needed to cause the browser to render .theme-browser's height as it's true height, previously the reported height was 1*.theme which caused the Theme scroller to kick in immediately (as the threshold was less than 0).
See #25981 See #25948

Built from https://develop.svn.wordpress.org/trunk@26468


git-svn-id: http://core.svn.wordpress.org/trunk@26366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:17:11 +00:00
Dion Hulse
a2607efe8b Themes: Use _.throttle() instead of a custom one. Props matveb. Fixes #25981
Built from https://develop.svn.wordpress.org/trunk@26467


git-svn-id: http://core.svn.wordpress.org/trunk@26365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:14:09 +00:00
Dion Hulse
f581667614 Themes: Remove the Tabs from the header of the Add New Theme page. Fixes #26310
Built from https://develop.svn.wordpress.org/trunk@26466


git-svn-id: http://core.svn.wordpress.org/trunk@26364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:41:10 +00:00
Dion Hulse
9e80aaba10 Themes: Remove a now defunct CSS class, .feature-container, which is no longer in use after r26141. See #25948
Built from https://develop.svn.wordpress.org/trunk@26465


git-svn-id: http://core.svn.wordpress.org/trunk@26363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:35:10 +00:00
Dion Hulse
ff3732e227 Themes: Update the responsive layouts for the Search box after r26461. See #26305
Built from https://develop.svn.wordpress.org/trunk@26464


git-svn-id: http://core.svn.wordpress.org/trunk@26362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:29:09 +00:00
Dion Hulse
54d658ee4e Themes: Remove some unused CSS (we have neither a .theme-categories or .theme-linear-grid). See #25948
Built from https://develop.svn.wordpress.org/trunk@26463


git-svn-id: http://core.svn.wordpress.org/trunk@26361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:22:10 +00:00
Dion Hulse
2c78650fd0 Themes: Add a default image for when a theme doesn't have a screenshot. Props matveb. See #25959
Built from https://develop.svn.wordpress.org/trunk@26462


git-svn-id: http://core.svn.wordpress.org/trunk@26360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:04:11 +00:00
Dion Hulse
483824f8fb Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305
Built from https://develop.svn.wordpress.org/trunk@26461


git-svn-id: http://core.svn.wordpress.org/trunk@26359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:40:09 +00:00
Dion Hulse
3e094ca937 Themes: Remove a mp6 reference which is no longer needed. See #25948
Built from https://develop.svn.wordpress.org/trunk@26460


git-svn-id: http://core.svn.wordpress.org/trunk@26358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:03:10 +00:00
Dion Hulse
72166b14ad Themes: Remove an unused Delete Theme link on the multiple view. See #25948
Built from https://develop.svn.wordpress.org/trunk@26459


git-svn-id: http://core.svn.wordpress.org/trunk@26357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 01:55:10 +00:00
Dion Hulse
bdb9112f28 Themes: Style the Theme Author the same in the multi and singular view, make the links readable. Fixes #26306
Built from https://develop.svn.wordpress.org/trunk@26458


git-svn-id: http://core.svn.wordpress.org/trunk@26356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 01:53:10 +00:00
Helen Hou-Sandí
7c940061fd Pass the post type to the post_type_archive_title filter for better context. Adds lovely docs. props DrewAPicture. fixes #25605.
Built from https://develop.svn.wordpress.org/trunk@26457


git-svn-id: http://core.svn.wordpress.org/trunk@26355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 05:24:09 +00:00
Helen Hou-Sandí
99f969df3c Add remove_option(), remove_options(), and get_options() methods to WP_Screen, along with unit tests. props ocean90, DrewAPicture. fixes #25799.
Built from https://develop.svn.wordpress.org/trunk@26456


git-svn-id: http://core.svn.wordpress.org/trunk@26354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 05:10:09 +00:00
Helen Hou-Sandí
73a4600d23 Increase the contrast of sidebar text in the media modal. props neil_pie. fixes #26288.
Built from https://develop.svn.wordpress.org/trunk@26455


git-svn-id: http://core.svn.wordpress.org/trunk@26353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 04:14:09 +00:00
Helen Hou-Sandí
23b03c0a4f Also get more targeted for taxonomy columns. Consolidate column hiding into one rule. props SergeyBiryukov. fixes #26298.
Built from https://develop.svn.wordpress.org/trunk@26454


git-svn-id: http://core.svn.wordpress.org/trunk@26352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:53:09 +00:00
Helen Hou-Sandí
e6e69d33d8 Get more specific with responsive list table column hiding. Removes unused styling for the plugins list table. fixes #26298.
Built from https://develop.svn.wordpress.org/trunk@26453


git-svn-id: http://core.svn.wordpress.org/trunk@26351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:21:10 +00:00
Helen Hou-Sandí
2c0501573d Keep #screen-meta font size consistent. props SergeyBiryukov. fixes #26300.
Built from https://develop.svn.wordpress.org/trunk@26452


git-svn-id: http://core.svn.wordpress.org/trunk@26350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:02:09 +00:00
Helen Hou-Sandí
375bcb5f91 Make sure toolbar reset includes text-shadow: none. props kwight. fixes #25260.
Built from https://develop.svn.wordpress.org/trunk@26451


git-svn-id: http://core.svn.wordpress.org/trunk@26349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:58:09 +00:00
Dion Hulse
8c60f742a1 Fix a regression in wp_mkdir_p() where the $mode of the parent folder is not correctly applied to all created paths. Fixes #25822 for trunk
Built from https://develop.svn.wordpress.org/trunk@26449


git-svn-id: http://core.svn.wordpress.org/trunk@26347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:20:10 +00:00
Dion Hulse
d4d7ec693b Core Updates: Fix a case where options (db_version specifically) can end up with stale values in the cache after a update is performed. Fixes #26173 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26448


git-svn-id: http://core.svn.wordpress.org/trunk@26346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:16:09 +00:00
Andrew Ozz
adf6080d19 Fix pending comments/plugins count bubbles, fixes #25918
Built from https://develop.svn.wordpress.org/trunk@26447


git-svn-id: http://core.svn.wordpress.org/trunk@26345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 01:30:10 +00:00
Andrew Ozz
89d464d9e5 TinyMCE: fix editor.css.
- Re-enable the default images for buttons not used in WordPress.
- Remove redundant styles for the old buttons sprite.
Fixes #26294.
Built from https://develop.svn.wordpress.org/trunk@26446


git-svn-id: http://core.svn.wordpress.org/trunk@26344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 00:53:09 +00:00
Matt Thomas
15d2a57c44 Ensure that arrows in dropdowns are the default text color if you haven't hovered. Fixes #26293, props ipstenu.
Built from https://develop.svn.wordpress.org/trunk@26445


git-svn-id: http://core.svn.wordpress.org/trunk@26343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:12:09 +00:00
Sergey Biryukov
8c7b6ac049 Twenty Fourteen: use display context for site description in sidebar.php.
props michelwppi.
fixes #25808.
Built from https://develop.svn.wordpress.org/trunk@26444


git-svn-id: http://core.svn.wordpress.org/trunk@26342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:10:10 +00:00
Matt Thomas
a14c73be87 Add spacing between elements, correct vertical alignment in Add New Category form. Fixes #26291, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26443


git-svn-id: http://core.svn.wordpress.org/trunk@26341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:07:11 +00:00
Matt Thomas
3a191feb1e Prevent submenu flyouts from appearing below elements in the main column. Fixes #26280.
Built from https://develop.svn.wordpress.org/trunk@26442


git-svn-id: http://core.svn.wordpress.org/trunk@26340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:02:09 +00:00
Matt Thomas
eb09a427f6 Updating the #wp-auth-check login form to match the new admin design:
* Remove border-radius on the container and add a box shadow
* Style the top bar background to match the new #eee page background
* Replace the close button PNG with a Dashicon
* Remove a no-longer-needed button style override in buttons.css that caused padding to change when clicking the submit button.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26441


git-svn-id: http://core.svn.wordpress.org/trunk@26339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:36:08 +00:00
Peter Westwood
e1e79ddf64 KSES: Extend support in wp_kses_normalize_entities to named entities with up to two numbers on the end of the name so as to support a wider list of valid entities.
Fixes â#26290

Built from https://develop.svn.wordpress.org/trunk@26440


git-svn-id: http://core.svn.wordpress.org/trunk@26338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:32:09 +00:00
Andrew Ozz
1858b65dbb Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.
Built from https://develop.svn.wordpress.org/trunk@26439


git-svn-id: http://core.svn.wordpress.org/trunk@26337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:17:10 +00:00
Matt Thomas
3d43a7933b Fix the alignment of checkboxes in menu location settings, and add responsive adjustments for those checkboxes. Fixes #26259, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26438


git-svn-id: http://core.svn.wordpress.org/trunk@26336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:20:10 +00:00
Matt Thomas
a3261ab61a Set the font size for all text within .form-table to 14px. Fixes #26271.
Built from https://develop.svn.wordpress.org/trunk@26437


git-svn-id: http://core.svn.wordpress.org/trunk@26335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:12:11 +00:00
Matt Thomas
06f391665e Give th.th-full font-weight: 400 so its label doesn't get emboldened. Fixes #26272.
Built from https://develop.svn.wordpress.org/trunk@26436


git-svn-id: http://core.svn.wordpress.org/trunk@26334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:57:10 +00:00
Matt Thomas
acdc440547 Design fixes to the color picker:
* Apply top: 0 to .wp-color-result (open and closed).
* Reduce text size in hex-value field.
* Move hex-value-field styles to color-picker.css.

Fixes #26289, props mattheu.


Built from https://develop.svn.wordpress.org/trunk@26435


git-svn-id: http://core.svn.wordpress.org/trunk@26333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:51:11 +00:00
Matt Thomas
6f6c835c6c Style the hr element in the admin. Fixes #23856.
Built from https://develop.svn.wordpress.org/trunk@26434


git-svn-id: http://core.svn.wordpress.org/trunk@26332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:37:09 +00:00
Matt Thomas
01fdd027f0 Press This fixes:
* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26433


git-svn-id: http://core.svn.wordpress.org/trunk@26331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:16:10 +00:00
Andrew Ozz
f752cc6658 Widgets: prevent the sidebars from getting too wide, add a little more space between Available Widgets and the sidebars, props shaunandrews, see #25821.
Built from https://develop.svn.wordpress.org/trunk@26432


git-svn-id: http://core.svn.wordpress.org/trunk@26330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 17:45:09 +00:00
Andrew Ozz
e5b13dfdf3 Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026.
Built from https://develop.svn.wordpress.org/trunk@26429


git-svn-id: http://core.svn.wordpress.org/trunk@26329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 02:03:10 +00:00
Andrew Ozz
162037903d Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073.
Built from https://develop.svn.wordpress.org/trunk@26428


git-svn-id: http://core.svn.wordpress.org/trunk@26328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:56:10 +00:00
Andrew Ozz
29af7b55f3 Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952.
Built from https://develop.svn.wordpress.org/trunk@26427


git-svn-id: http://core.svn.wordpress.org/trunk@26327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:42:09 +00:00
Andrew Ozz
f46e743343 Widgets: drop onto closed sidebars.
- Make dropping a widget easier by preventing the source sidebar from resizing while the widget is being dragged.
- Move widgets dropped on closed sidebars to the top. UI Sortable places them randomly near the bottom.
- Fix possible regression in wp_list_widget_controls(), add an optional argument to output the sidebar name inside the sortable container.
- Updated styles for sidebar description and widget-hover class.
Part props shaunandrews, fixes #25952.
Built from https://develop.svn.wordpress.org/trunk@26426


git-svn-id: http://core.svn.wordpress.org/trunk@26326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:30:10 +00:00
Sergey Biryukov
49a0254863 Fix the ability to save changes made to an image.
props markoheijnen.
fixes #26000.
Built from https://develop.svn.wordpress.org/trunk@26425


git-svn-id: http://core.svn.wordpress.org/trunk@26325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 23:31:10 +00:00
Matt Thomas
2205a0885a Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26424


git-svn-id: http://core.svn.wordpress.org/trunk@26324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:55:11 +00:00
Matt Thomas
bc4a8f6494 Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26423


git-svn-id: http://core.svn.wordpress.org/trunk@26323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:44:10 +00:00
Matt Thomas
5a3717d526 Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26422


git-svn-id: http://core.svn.wordpress.org/trunk@26322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:36:11 +00:00
Andrew Ozz
758a07bfd3 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
Built from https://develop.svn.wordpress.org/trunk@26421


git-svn-id: http://core.svn.wordpress.org/trunk@26321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:19:14 +00:00
Matt Thomas
2fdde46bd8 Unify the style of button-small everywhere we use it, and make sure the edit slug input lines up with its button and label. Fixes #26261, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26420


git-svn-id: http://core.svn.wordpress.org/trunk@26320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:10:09 +00:00
Matt Thomas
252d16c501 Admin pointers don't work at responsive sizes because of responsive layout adjustments. Hide the pointers for now until they're made responsive. Fixes #25984.
Built from https://develop.svn.wordpress.org/trunk@26419


git-svn-id: http://core.svn.wordpress.org/trunk@26319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:47:11 +00:00
Sergey Biryukov
c85484e9cf Fix typo in a comment. props kovshenin. fixes #26266.
Built from https://develop.svn.wordpress.org/trunk@26418


git-svn-id: http://core.svn.wordpress.org/trunk@26318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:45:09 +00:00