Commit Graph

11812 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
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
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
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 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 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
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
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
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
Andrew Nacin f474b3fbaf Support Spotify web player links. see #24242.
git-svn-id: https://develop.svn.wordpress.org/trunk@24165 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 00:21:20 +00:00
Andrew Nacin 6a0d5afcbc Add Spotify to the default oEmbed providers list. fixes #24242.
git-svn-id: https://develop.svn.wordpress.org/trunk@24164 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 23:55:07 +00:00
bumpbot a7157e4cf0 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: https://develop.svn.wordpress.org/trunk@24163 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:58:59 +00:00
Ryan Boren f5c165c23f Respect the link to setting when inserting a gallery.
Props SergeyBiryukov
fixes #23298


git-svn-id: https://develop.svn.wordpress.org/trunk@24161 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:07:37 +00:00
Ryan Boren e3d41d52ac Add Rdio to the default oembed providers list.
Props zekeweeks
fixes #24242


git-svn-id: https://develop.svn.wordpress.org/trunk@24160 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:04:23 +00:00
Dominik Schilling (ocean90) 67d2cfeb89 Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 10:12:19 +00:00
Dominik Schilling (ocean90) bd5099a40a Revisions: Remove the ID from the "restored by" line. props adamsilverstein. see #18733.
git-svn-id: https://develop.svn.wordpress.org/trunk@24156 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 09:35:35 +00:00
Andrew Nacin 4c923807e5 SMH.
git-svn-id: https://develop.svn.wordpress.org/trunk@24155 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 18:39:56 +00:00
Sergey Biryukov b5bf848ad2 Don't translate a single placeholder. Remove unused variables. props settle, DrewAPicture. fixes #24229.
git-svn-id: https://develop.svn.wordpress.org/trunk@24150 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 03:11:44 +00:00
Sergey Biryukov 995a5d1c46 Fix typos in phpdoc. props jcastaneda. fixes #24230.
git-svn-id: https://develop.svn.wordpress.org/trunk@24147 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 01:46:45 +00:00
Sergey Biryukov ea9c768d80 Make $post_id argument optional for _post_formats_title(). props kovshenin. fixes #24233. see #24011.
git-svn-id: https://develop.svn.wordpress.org/trunk@24146 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-30 23:48:18 +00:00
Mark Jaquith 77fe70234a 3.6-beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@24143 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:53:25 +00:00
bumpbot 3d5f6d2929 Compress scripts/styles: 3.6-beta1-24142.
git-svn-id: https://develop.svn.wordpress.org/trunk@24142 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:48:11 +00:00
bumpbot eb658a87d7 Compress scripts/styles: 3.6-beta1-24140.
git-svn-id: https://develop.svn.wordpress.org/trunk@24140 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:36:10 +00:00
Sergey Biryukov d60a0b3dfe Fix typo in heartbeat.js. see #23216.
git-svn-id: https://develop.svn.wordpress.org/trunk@24139 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:29:10 +00:00