Commit Graph

11722 Commits

Author SHA1 Message Date
Andrew Nacin a10e14ba57 Add wp_registration_url() and register_url filter.
props scribu, JustinSainton, SergeyBiryukov.
fixes #17950.



git-svn-id: https://develop.svn.wordpress.org/trunk@24053 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:21:22 +00:00
Andrew Nacin 57a7513b56 Remove ancient 'lookup' quicktag from the text editor. This had called up answers.com.
props mboynes, jonbishop, SergeyBiryukov.
fixes #23322.



git-svn-id: https://develop.svn.wordpress.org/trunk@24052 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:17:25 +00:00
Andrew Nacin 2958875d6c Improve the performance of backslashit() by avoiding regular expressions. backslashit() is used heavily in date_i18n().
props jbutkus.
fixes #22286.



git-svn-id: https://develop.svn.wordpress.org/trunk@24051 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:01:57 +00:00
Andrew Nacin cabad11bb4 WP Styles: Correctly print 'after' data when scripts are concatenated. props stephenh1988. fixes #20836.
git-svn-id: https://develop.svn.wordpress.org/trunk@24047 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:22:09 +00:00
Andrew Nacin 3fc35855e9 Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072.
git-svn-id: https://develop.svn.wordpress.org/trunk@24046 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:04:02 +00:00
Sergey Biryukov b79ec28fef Correct phpdoc for get_content_quote(). props kovshenin. see #24009.
git-svn-id: https://develop.svn.wordpress.org/trunk@24045 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 14:36:43 +00:00
bumpbot 06b0176541 Compress scripts/styles: 3.6-beta1-24044.
git-svn-id: https://develop.svn.wordpress.org/trunk@24044 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:58:37 +00:00
Mark Jaquith aeaf7787c0 Hide the post title and auto-generate based on the post body, for the status and aside post formats.
props kovshenin. see #24011.

git-svn-id: https://develop.svn.wordpress.org/trunk@24043 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:00:25 +00:00
Andrew Ozz 008336ee9c Post locks:
- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.

git-svn-id: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 03:08:51 +00:00
bumpbot db96892205 Compress scripts/styles: 3.6-beta1-24041.
git-svn-id: https://develop.svn.wordpress.org/trunk@24041 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:58:38 +00:00
bumpbot 36be772bd5 Compress scripts/styles: 3.6-beta1-24038.
git-svn-id: https://develop.svn.wordpress.org/trunk@24038 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 20:58:41 +00:00
Mark Jaquith 58ad769e8b Post Formats: use the content body for the body of the Quote post format.
* Searchable, better editing tools
* Less cluttered Post Format UI

props kovshenin, DrewAPicture. see #24009

git-svn-id: https://develop.svn.wordpress.org/trunk@24034 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 18:07:58 +00:00
Sergey Biryukov b0706fba10 Only show database errors if WP_DEBUG_DISPLAY is enabled. props cheeserolls, storkontheroof, crazycoders. fixes #22203.
git-svn-id: https://develop.svn.wordpress.org/trunk@24027 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 09:51:02 +00:00
Andrew Ozz d00b790c8e Revisions: when upgrading the revision author don't add a copy of the post as latest revision when some of the revisions are already at v1. See #16215
git-svn-id: https://develop.svn.wordpress.org/trunk@24025 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 04:43:59 +00:00
bumpbot c1d8b36e6e Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: https://develop.svn.wordpress.org/trunk@24023 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 22:58:38 +00:00
bumpbot 2a7889aafd Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: https://develop.svn.wordpress.org/trunk@24022 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:58:42 +00:00
Mark Jaquith 177556309d Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: https://develop.svn.wordpress.org/trunk@24021 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:57:44 +00:00
bumpbot 1845759157 Compress scripts/styles: 3.6-beta1-24018.
git-svn-id: https://develop.svn.wordpress.org/trunk@24018 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 18:58:38 +00:00
Mark Jaquith e29dc811f7 Use attachment.url only if it is available, else fall back to props.url.
see #24046. see [24009].

git-svn-id: https://develop.svn.wordpress.org/trunk@24017 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:57:51 +00:00
Mark Jaquith ff064c5422 Use get_post_format() instead of assuming we already have it.
* Fixes an issue where image posts without a title could not be deleted

fixes #23887. see #24046. props WraithKenny, SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@24015 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:49:44 +00:00
bumpbot b6a6786b60 Compress scripts/styles: 3.6-beta1-24010.
git-svn-id: https://develop.svn.wordpress.org/trunk@24010 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:51:57 +00:00
Ryan Boren da23d9b7b8 Revert attachment.url back to props.url. Fixes error that prevents inserting media into the editor.
see #24046


git-svn-id: https://develop.svn.wordpress.org/trunk@24009 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:50:12 +00:00
bumpbot 46eb88eec5 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: https://develop.svn.wordpress.org/trunk@24008 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 06:58:39 +00:00
Mark Jaquith 793f27f07e New Post Format UI chooser treatment in response to testing.
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link

see #24046. props lessbloat, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24006 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 04:08:46 +00:00
Mark Jaquith e1c6e9f2da Make get_the_post_format_image() work when intermediate_image_sizes is empty.
props lancewillett. fixes #24060.

git-svn-id: https://develop.svn.wordpress.org/trunk@24003 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 21:31:37 +00:00
Sergey Biryukov a2b9d958df * Add start/end markers to the regex patterns in audio and video embed handlers.
* Move the handler functions registration to wp_maybe_load_embeds().
* Rename both functions to match the wp_embed_handler_* pattern.
* Move the functions closer to wp_embed_handler_googlevideo().

props kovshenin. fixes #24092.

git-svn-id: https://develop.svn.wordpress.org/trunk@24000 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 11:06:31 +00:00
Sergey Biryukov 891333e1cb Fix several copy/paste errors in register_deactivation_hook() description. props Caspie. fixes #24097.
git-svn-id: https://develop.svn.wordpress.org/trunk@23999 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 09:53:02 +00:00
Sergey Biryukov 18d6bf6198 Add missing semicolon. props kovshenin. see #23831.
git-svn-id: https://develop.svn.wordpress.org/trunk@23998 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 23:03:13 +00:00
bumpbot d0e94ab6ff Compress scripts/styles: 3.6-beta1-23997.
git-svn-id: https://develop.svn.wordpress.org/trunk@23997 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 20:58:38 +00:00
bumpbot c8b9284500 Compress scripts/styles: 3.6-beta1-23995.
git-svn-id: https://develop.svn.wordpress.org/trunk@23996 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 18:58:41 +00:00
Mark Jaquith 95c3de8a9f Link post format images if a URL is provided. Make the URL available via get_the_post_format_url().
props wonderboymusic, obenland. fixes #23964.

git-svn-id: https://develop.svn.wordpress.org/trunk@23992 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:59:52 +00:00
bumpbot 5863223d73 Compress scripts/styles: 3.6-beta1-23990.
git-svn-id: https://develop.svn.wordpress.org/trunk@23990 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:58:35 +00:00
Mark Jaquith d87dd076d4 Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: https://develop.svn.wordpress.org/trunk@23989 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:43:26 +00:00
Dominik Schilling (ocean90) c907f0f4a7 Don't print links for unsupported file types in wp_video_shortcode()/wp_audio_shortcode(). Return them instead.
props SergeyBiryukov. fixes #24075.

git-svn-id: https://develop.svn.wordpress.org/trunk@23988 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 10:33:44 +00:00
bumpbot e0bc9ec705 Compress scripts/styles: 3.6-beta1-23987.
git-svn-id: https://develop.svn.wordpress.org/trunk@23987 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 02:58:39 +00:00
Mark Jaquith 0ac7d034a6 Allow the content of no-title audio, video, quote, and image posts to be blanked.
props wonderboymusic. fixes #23623.

git-svn-id: https://develop.svn.wordpress.org/trunk@23986 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 01:43:01 +00:00
Mark Jaquith 74319333ed Only remove ONE piece of media from the content in setup_postdata().
props wonderboymusic. fixes #24052.

git-svn-id: https://develop.svn.wordpress.org/trunk@23984 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 01:11:44 +00:00
bumpbot 807bdbd44b Compress scripts/styles: 3.6-beta1-23983.
git-svn-id: https://develop.svn.wordpress.org/trunk@23983 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-13 00:58:37 +00:00
bumpbot 24fd168099 Compress scripts/styles: 3.6-beta1-23980.
git-svn-id: https://develop.svn.wordpress.org/trunk@23980 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 22:58:39 +00:00
Mark Jaquith ad170c3ccd Fix some Skype chat parsing issues.
props wonderboymusic. see #23625.

git-svn-id: https://develop.svn.wordpress.org/trunk@23978 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 22:22:41 +00:00
Mark Jaquith 553fc5b9af Update MediaElement.js to 2.11.3
props wonderboymusic, John Dyer. see #23831.

git-svn-id: https://develop.svn.wordpress.org/trunk@23977 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 21:48:16 +00:00
Andrew Ozz 239ccffe14 Revisions: compare revisions by date in wp_ajax_revisions_data(), deprecate the $parent arg in wp_list_post_revisions() as now revisions always include a copy of the current post, props adamsilverstein, see #23901
git-svn-id: https://develop.svn.wordpress.org/trunk@23975 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 19:29:21 +00:00
Ryan Boren c3e471a535 Use prepare() for the duplicate comment query in wp_allow_comment().
see #21767


git-svn-id: https://develop.svn.wordpress.org/trunk@23973 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 13:25:16 +00:00
bumpbot 0e4de5bb97 Compress scripts/styles: 3.6-beta1-23970.
git-svn-id: https://develop.svn.wordpress.org/trunk@23970 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:58:39 +00:00
Mark Jaquith 79c4e52ffa Enforce video dimensions.
props wonderboymusic. see #23831.

git-svn-id: https://develop.svn.wordpress.org/trunk@23969 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:34:05 +00:00
Mark Jaquith b340e0a6c8 Update MediaElement.js to 2.11.1
Also get rid of its non-minified JS/CSS files.

props wonderboymusic, ocean90. fixes #24015.

git-svn-id: https://develop.svn.wordpress.org/trunk@23968 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:13:44 +00:00
bumpbot 514d5d2204 Compress scripts/styles: 3.6-beta1-23960.
git-svn-id: https://develop.svn.wordpress.org/trunk@23960 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:58:42 +00:00
Ryan Boren c5e0ff6017 Update MediaElement.js to 2.11.0.
Props wonderboymusic
see #24015


git-svn-id: https://develop.svn.wordpress.org/trunk@23958 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:38:30 +00:00
Mark Jaquith 518aaabfab Don't allow images to be set as featured image until they have been processed.
props kadamwhite. fixes #23317.

git-svn-id: https://develop.svn.wordpress.org/trunk@23956 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:26:55 +00:00
Dominik Schilling (ocean90) ef0c6be239 jQuery Color 2.2.1. fixes #22562.
git-svn-id: https://develop.svn.wordpress.org/trunk@23954 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 17:29:55 +00:00