Commit Graph

22242 Commits

Author SHA1 Message Date
Lance Willett 67c4851a08 Twenty Thirteen: update Genericons font files to version 2.05, props Joen.
git-svn-id: https://develop.svn.wordpress.org/trunk@24234 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 16:16:48 +00:00
Sergey Biryukov 57b250943c Update _post_formats_fix_empty_title() description. Make it clear that 'wp_insert_post_data' is a filter, not an action. props DrewAPicture. fixes #24303.
git-svn-id: https://develop.svn.wordpress.org/trunk@24233 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 14:53:34 +00:00
Sergey Biryukov 6c2631f1ca Display consistent labels in Image post format UI for users with and without unfiltered_html capability. props tollmanz. fixes #24304. see #24291.
git-svn-id: https://develop.svn.wordpress.org/trunk@24232 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 14:41:58 +00:00
Sergey Biryukov c57e761ce5 Remove debug cruft. props kovshenin. see #23930.
git-svn-id: https://develop.svn.wordpress.org/trunk@24231 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 12:26:46 +00:00
Sergey Biryukov cb45a6cb79 Use esc_textarea(), not esc_html(), for escaping textarea content. props johnbillion. fixes #24300.
git-svn-id: https://develop.svn.wordpress.org/trunk@24230 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 02:06:34 +00:00
Sergey Biryukov 2b1420456d Fix typos in phpdoc. props TheLastCicada. fixes #24302.
git-svn-id: https://develop.svn.wordpress.org/trunk@24229 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 01:39:30 +00:00
Sergey Biryukov 1e66ba73ed Use correct escaping function. props tollmanz. fixes #24300.
git-svn-id: https://develop.svn.wordpress.org/trunk@24228 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 23:53:24 +00:00
bumpbot 784177ac9f Compress scripts/styles: 3.6-beta2-24227.
git-svn-id: https://develop.svn.wordpress.org/trunk@24227 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:58:58 +00:00
Mark Jaquith 31c316214a Improve the UX and flow of the Image post format.
* Drag-and-drop
* Textarea for HTML/URL hidden to start
* Bigger click target for entering Media modal
* Image preview height-contrained to 300 pixels
* Hid the alignment, size, etc options that didn't have an effect anyway
* Got wp-format-{format} into the <body> class

props DrewAPicture, aaroncampbell, markjaquith, azaozz. see #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24226 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:45:14 +00:00
Sergey Biryukov aaec6a462a Allow to switch get_search_form() to HTML5 with an add_theme_support() call. fixes #23850.
git-svn-id: https://develop.svn.wordpress.org/trunk@24225 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:41:30 +00:00
Lance Willett 0ac97e433c Twenty Thirteen: smarter margins for comment block-level elements that need to be centered. Use margin just for left and right; don't change top and bottom.
git-svn-id: https://develop.svn.wordpress.org/trunk@24224 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 20:22:32 +00:00
Lance Willett 442d1a5477 Twenty Thirteen: clean up RTL and Genericons styles. Props SergeyBiryukov for the comment moderation bits, fixes #24287.
git-svn-id: https://develop.svn.wordpress.org/trunk@24223 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 20:08:39 +00:00
bumpbot 3f306f67b8 Compress scripts/styles: 3.6-beta2-24222.
git-svn-id: https://develop.svn.wordpress.org/trunk@24222 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:58:57 +00:00
Andrew Ozz 8acec51116 Local autosaves: show the notice above the post formats UI, see #23220
git-svn-id: https://develop.svn.wordpress.org/trunk@24221 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:23:05 +00:00
bumpbot 510e59c8fb Compress scripts/styles: 3.6-beta2-24220.
git-svn-id: https://develop.svn.wordpress.org/trunk@24220 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:58:54 +00:00
Dominik Schilling (ocean90) 123d8a1258 Revisions UI: Redesigned slider handlers.
Also:
* Fix diff header styling in grey admin theme
* Prevent an overlap of the compare two checkbox on smaller screens

props melchoyce, DrewAPicture, adamsilverstein. fixes #24276.

git-svn-id: https://develop.svn.wordpress.org/trunk@24219 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:07:26 +00:00
Sergey Biryukov dfc25545fe Make the notice on Edit Menus screen more in line with the help text. props DrewAPicture. see #24115.
git-svn-id: https://develop.svn.wordpress.org/trunk@24218 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 03:06:14 +00:00
Sergey Biryukov 232269b34e Don't show "Manage Locations" tab if the theme has no menu locations defined. props DrewAPicture. fixes #24115.
git-svn-id: https://develop.svn.wordpress.org/trunk@24217 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 02:43:26 +00:00
bumpbot b0d4114414 Compress scripts/styles: 3.6-beta2-24216.
git-svn-id: https://develop.svn.wordpress.org/trunk@24216 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:58:57 +00:00
Andrew Ozz 05f48e1725 TinyMCE: fix for the disappearing placeholders bug in Chrome, see #24177
git-svn-id: https://develop.svn.wordpress.org/trunk@24215 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:24:45 +00:00
Sergey Biryukov 7cf933b2c9 * Pass ellipsis as a parameter to wp_html_excerpt() instead of appending it manually.
* Consolidate the logic to avoid appending ellipsis if the entire string is shown.
* Show ellipsis after truncated filenames and post titles.

props solarissmoke, bpetty, SergeyBiryukov. fixes #11446.

git-svn-id: https://develop.svn.wordpress.org/trunk@24214 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:22:02 +00:00
Sergey Biryukov cb0bd68404 Don't append ellipsis in RSS widget if the entire content is shown. props kovshenin. fixes #21702.
git-svn-id: https://develop.svn.wordpress.org/trunk@24213 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:23:05 +00:00
Sergey Biryukov a21af7c29f Use wp_trim_words() in Recent Drafts widget. fixes #24292.
git-svn-id: https://develop.svn.wordpress.org/trunk@24212 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:06:41 +00:00
Andrew Ozz f4b1c3c53f TinyMCE: attempt a workaround for WebKit bug inserting spans with font styles when creating UL or OL. See #17154
git-svn-id: https://develop.svn.wordpress.org/trunk@24211 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:03:44 +00:00
bumpbot 40ba7996f8 Compress scripts/styles: 3.6-beta2-24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24210 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:58:55 +00:00
Andrew Ozz 701a2d23f9 Post locks and autosave:
- Move nonces refreshing from autosave to lock checking.
- Do autosave only when there is something to save.
See #23295

git-svn-id: https://develop.svn.wordpress.org/trunk@24209 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:52:55 +00:00
Andrew Ozz db72372fcc Logged out warnings:
- Don't use <base> tag to set target="_blank". It can break form submission. Instead, set target only on links with JS.
- Fix same domain comparison in wp_auth_check_html() when FORCE_SSL_LOGIN == true.
- Properly show/hide the "Close" button when the dialog is shown multiple times.
See #23295

git-svn-id: https://develop.svn.wordpress.org/trunk@24208 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:45:58 +00:00
Sergey Biryukov bb2a27be5b Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24207 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:27:31 +00:00
Mark Jaquith cf2a8e08d2 Ensure that draft posts cannot be given a non-unique post slug when using Quick Edit.
fixes #22902. props SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@24206 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:26:17 +00:00
Dominik Schilling (ocean90) 0b5b837917 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: https://develop.svn.wordpress.org/trunk@24205 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:22:01 +00:00
Dominik Schilling (ocean90) e99d155133 jQuery UI 1.10.3. fixes #23370.
git-svn-id: https://develop.svn.wordpress.org/trunk@24204 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 20:54:30 +00:00
Mark Jaquith 7b15956535 Include getID3 licensing info.
props bpetty. fixes #23842.

git-svn-id: https://develop.svn.wordpress.org/trunk@24203 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 20:37:50 +00:00
Lance Willett 74855b64ed Twenty Thirteen: fix styling for comment moderation notice. Props SergeyBiryukov, fixes #24286.
git-svn-id: https://develop.svn.wordpress.org/trunk@24202 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 19:11:03 +00:00
Sergey Biryukov 1b941a1872 Avoid PHP notices when deleting or restoring an item that no longer exists. props johnbillion, ocean90. fixes #24246.
git-svn-id: https://develop.svn.wordpress.org/trunk@24201 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 18:56:54 +00:00
Sergey Biryukov 15ffa40d64 Add missing semicolon. props jcastaneda. fixes #24282.
git-svn-id: https://develop.svn.wordpress.org/trunk@24200 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 18:15:14 +00:00
Sergey Biryukov b6bd2d56da Remove unused variables. props ocean90. fixes #24247.
git-svn-id: https://develop.svn.wordpress.org/trunk@24199 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 17:52:18 +00:00
Ryan Boren edee280e39 Avoid warning in gallery_shortcode() when called outside of post context.
Props kovshenin
fixes #24272


git-svn-id: https://develop.svn.wordpress.org/trunk@24198 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 16:57:58 +00:00
Lance Willett c1d41fdd37 Twenty Thirteen: fix comment author styles to only add star icon to the post author's comment(s). Fixes #24281.
git-svn-id: https://develop.svn.wordpress.org/trunk@24197 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 15:09:34 +00:00
Lance Willett 368f50ea12 Twenty Ten and Twenty Twelve: fix minor indentation issues in CSS files (spaces to tabs).
git-svn-id: https://develop.svn.wordpress.org/trunk@24196 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 22:17:23 +00:00
Lance Willett 7f265acff3 Twenty Ten: call `get_post_galleries()` correctly now that it has new arguments, and use a more accurate `function_exists` call. Props kovshenin, closes #23617.
git-svn-id: https://develop.svn.wordpress.org/trunk@24195 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 21:57:49 +00:00
Lance Willett e9dc8d8f33 Twenty Eleven: call `get_post_galleries()` correctly now that it has new arguments, and use a more accurate `function_exists` call. Props kovshenin, closes #22907.
git-svn-id: https://develop.svn.wordpress.org/trunk@24194 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 21:56:29 +00:00
Lance Willett 6355021c7d Twenty Thirteen: more specificity for `.reply` selectors, props johnjamesjacoby for starter patch. Fixes #24268.
git-svn-id: https://develop.svn.wordpress.org/trunk@24193 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 21:35:09 +00:00
Mark Jaquith 3ddb5cb066 Go back to plain text diffs between revisions instead of attempting partial rendering.
fixes #24254

git-svn-id: https://develop.svn.wordpress.org/trunk@24192 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 20:34:58 +00:00
Sergey Biryukov b26b0cc0de Avoid a PHP notice in get_page_template_slug() if the page does not exist. props tollmanz. fixes #24250.
git-svn-id: https://develop.svn.wordpress.org/trunk@24191 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 18:44:22 +00:00
Andrew Nacin feaea4cc26 Use correct variable in atomlib library, inside an error message. props rlerdorf, see #24110.
git-svn-id: https://develop.svn.wordpress.org/trunk@24190 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 16:37:21 +00:00
Andrew Nacin 7a9f91869e Fix usage of undeclared variables.
* the_weekday_date() needs the global $currentday
 * ms_site_check() needs the global $current_site
 * media list table does not need to check for $total_orphans
 * upgrader has no $feedback variable, appears to be copypasta from other upgrade APIs
 * install_themes_feature_list() has no $features variable, return array() instead of a new return type of WP_Error

see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24189 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 16:35:03 +00:00
Andrew Nacin 06507af832 remove_filter() only accepts three arguments: filter, callback, and priority. An accepted args parameter is only used for adds.
props rlerdorf.
see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24188 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:55:31 +00:00
Andrew Nacin 7e9ed03bd1 Remove manual printing of userSettings as utils.js receives this as inline script data (since 3.5). see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24187 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:49:20 +00:00
Andrew Nacin d8d04c84b2 Remove the body of the deprecated links_popup_script() as currently it issues a fatal error. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24186 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:35:34 +00:00
Sergey Biryukov 3edcfbd798 Update the instructions on Edit Menus screen. props DrewAPicture. fixes #24261.
git-svn-id: https://develop.svn.wordpress.org/trunk@24185 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 14:55:14 +00:00