Commit Graph

22325 Commits

Author SHA1 Message Date
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
Ryan Boren
63c3307f28 Update some copy in the Post Formats UI.
see #24227


git-svn-id: https://develop.svn.wordpress.org/trunk@24184 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 13:56:07 +00:00
Sergey Biryukov
611f5a8aab Clarify the instructions on Edit Menus screen. props tw2113. fixes #23936.
git-svn-id: https://develop.svn.wordpress.org/trunk@24183 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 12:55:39 +00:00
Sergey Biryukov
2b666b1ef8 Avoid PHP notices in Media Library if an attachment parent does not exist. props trepmal, viniciusmassuchetto, alex-ye, adamsilverstein for initial patches. fixes #22312. fixes #23154.
git-svn-id: https://develop.svn.wordpress.org/trunk@24182 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 11:46:35 +00:00
Sergey Biryukov
cee482f426 Remove obsolete reference in menus help tab. props DrewAPicture. fixes #24262.
git-svn-id: https://develop.svn.wordpress.org/trunk@24181 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 09:21:04 +00:00
bumpbot
d8a988e857 Compress scripts/styles: 3.6-beta2-24180.
git-svn-id: https://develop.svn.wordpress.org/trunk@24180 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-06 22:58:57 +00:00
Andrew Ozz
9a9d5861cf Logged out warnings:
- Don't remove login error messages coming from wp_signon().
- When the login form is shown in iframe, open all links in a new tab/window.
- Add filter for the login form error message.
See #23295

git-svn-id: https://develop.svn.wordpress.org/trunk@24179 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-06 21:35:50 +00:00
Dominik Schilling (ocean90)
803ea2541e Revisions: Update _edit_last when restoring a post.
props redpixelstudios. fixes #20982.

git-svn-id: https://develop.svn.wordpress.org/trunk@24178 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-06 09:49:13 +00:00
Andrew Ozz
47865a91ce Clean up revision.php docblocks, props DrewAPicture, fixes #24265
git-svn-id: https://develop.svn.wordpress.org/trunk@24177 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-05 02:46:59 +00:00
bumpbot
223966a366 Compress scripts/styles: 3.6-beta2-24176.
git-svn-id: https://develop.svn.wordpress.org/trunk@24176 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 22:58:57 +00:00
Dominik Schilling (ocean90)
3e0f930659 Revisions: Mark deprecated arguments in wp_list_post_revisions().
* Second argument is now a string, which controls the revision type
* Back compat for $args['type']
* Remove lines for the old form-table format, since it's now just a list 

props a.hoereth. fixes #24213.

git-svn-id: https://develop.svn.wordpress.org/trunk@24175 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 12:54:00 +00:00
Dominik Schilling (ocean90)
40cf994e77 Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24174 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:17:06 +00:00
Dominik Schilling (ocean90)
85cd918ff6 Revisions UI: Add a help tab. props siobhan, DrewAPicture. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24173 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:00:14 +00:00
Lance Willett
c7389e7a60 Twenty Thirteen: improve Quote post format styles to look more like quotes. Fixes #24176.
git-svn-id: https://develop.svn.wordpress.org/trunk@24172 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 20:47:28 +00:00
potbot
861ae0ffee POT, generated from r24170
git-svn-id: https://develop.svn.wordpress.org/trunk@24171 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 19:14:41 +00:00
Mark Jaquith
7b18206f84 Add a 'quote_source_format' filter and make the default an em-dash and a space preceding the source.
fixes #24243

git-svn-id: https://develop.svn.wordpress.org/trunk@24170 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 19:08:47 +00:00
Lance Willett
3118731338 Twenty Thirteen: remove fixed navbar. Closes #24184.
git-svn-id: https://develop.svn.wordpress.org/trunk@24169 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 18:22:57 +00:00
Andrew Nacin
200549ee5f Escape periods in oEmbed regex. props rovo89. fixes #24242.
git-svn-id: https://develop.svn.wordpress.org/trunk@24168 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 17:37:05 +00:00