Commit Graph

21594 Commits

Author SHA1 Message Date
Andrew Nacin a033ad1ab2 Image editor doc fixes. props DH-Shredder. see #6821.
git-svn-id: https://develop.svn.wordpress.org/trunk@23038 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 19:42:28 +00:00
Andrew Nacin 0fa07588c5 Media: Properly select the select element's option in the attachment display settings. props koopersmith. fixes #22693.
git-svn-id: https://develop.svn.wordpress.org/trunk@23037 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 19:38:16 +00:00
Andrew Nacin 39049254ae Move utils.js (cookie and user setting functions) to wp-includes to enable front-end use.
Make it a dependency of media-views (and therefore media-editor). Move its userSettings JS object from admin-header to being paired with the script in script loader.

see #22730.



git-svn-id: https://develop.svn.wordpress.org/trunk@23036 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 19:29:56 +00:00
bumpbot fde1031744 Compress scripts/styles: 3.5-RC3-23035.
git-svn-id: https://develop.svn.wordpress.org/trunk@23035 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 18:58:30 +00:00
Andrew Nacin 34291d7f6c Media: Fix vertical and horizontal alignment of the gallery "Random" checkbox, and checkbox settings in general. Includes RTL. props koopersmith. fixes #22724.
git-svn-id: https://develop.svn.wordpress.org/trunk@23034 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 18:51:27 +00:00
Ryan Boren 7e2df6dc07 Better dropdown select handling.
Props cdog, koopersmith
fixes #22693


git-svn-id: https://develop.svn.wordpress.org/trunk@23033 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 18:50:49 +00:00
Ryan Boren fa4b718809 Only show Delete in media modal if the user can delete.
Props nacin, koopersmith
fixes #22711


git-svn-id: https://develop.svn.wordpress.org/trunk@23032 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 18:33:51 +00:00
Ryan Boren eb3dc78a61 Media: Hide "Edit" link in the selection view when it doesn't make sense
Props koopersmith, ocean90, nacin
fixes #22713


git-svn-id: https://develop.svn.wordpress.org/trunk@23031 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 18:23:47 +00:00
bumpbot d2c09370e1 Compress scripts/styles: 3.5-RC3-23030.
git-svn-id: https://develop.svn.wordpress.org/trunk@23030 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 18:13:59 +00:00
Mark Jaquith 0f3c162db6 Fix a Firefox "scroll to bottom" bug when launching the media modal.
* Records main document scroll position when launching media modal.
* Restores position when media modal is closed.
* Also locks background document scrolling while media modal is open, preventing inadvertent scrolling there.

props koopersmith. fixes #22716

git-svn-id: https://develop.svn.wordpress.org/trunk@23029 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 17:58:24 +00:00
Mark Jaquith 4241d42dbe Update toolbars for Embed screen. Fixes JS error. props koopersmith. fixes #22714
git-svn-id: https://develop.svn.wordpress.org/trunk@23028 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 17:45:24 +00:00
bumpbot b33c7c4ea1 Compress scripts/styles: 3.5-RC3-23027.
git-svn-id: https://develop.svn.wordpress.org/trunk@23027 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 16:58:32 +00:00
Andrew Nacin a79e3a9ef4 Move HiDPI block to the bottom of media-views. @media does not provide additional specificity, so the non-retina stuff overrides if the retina rules come first. props lessbloat, fixes #22728.
git-svn-id: https://develop.svn.wordpress.org/trunk@23026 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 16:32:06 +00:00
bumpbot 344ddade55 Compress scripts/styles: 3.5-RC3-23025.
git-svn-id: https://develop.svn.wordpress.org/trunk@23025 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 16:25:14 +00:00
Andrew Nacin e961de8af5 Media: Disable 'Insert gallery' and 'Set featured image' if nothing is queued. Converts selection toolbars to use the newer view manager. props koopersmith, fixes #22714.
git-svn-id: https://develop.svn.wordpress.org/trunk@23024 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 16:21:57 +00:00
Andrew Nacin d943307e5d Copy wpspin_light to wp-includes as wpspin.gif. Use it in media views. see #22728.
git-svn-id: https://develop.svn.wordpress.org/trunk@23023 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 16:18:53 +00:00
Andrew Nacin 5d903fc14d Update the 'Retina Ready' screenshot on the about page to reflect version 3.5, Twenty Twelve, and such. It's the little things. props lessbloat. fixes #22455.
git-svn-id: https://develop.svn.wordpress.org/trunk@23022 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 15:04:19 +00:00
Andrew Nacin dffb1b36d5 Add context to the 'Random' string. It is now used in two places: gallery order and the links widget. props pavelevap, fixes #22724.
git-svn-id: https://develop.svn.wordpress.org/trunk@23021 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 14:49:44 +00:00
Andrew Nacin 0c0cc5be09 3.5-RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@23020 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 08:31:53 +00:00
Andrew Nacin 912aa5c95a About page: Update retina screenshot to remove the old Upload/Insert icon from QuickPress. props lessbloat. see #22455.
git-svn-id: https://develop.svn.wordpress.org/trunk@23019 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 07:28:39 +00:00
bumpbot e171e1c977 Compress scripts/styles: 3.5-RC2-23018.
git-svn-id: https://develop.svn.wordpress.org/trunk@23018 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 06:58:31 +00:00
Andrew Ozz 37d1401f33 5000, not 3000, see #22708
git-svn-id: https://develop.svn.wordpress.org/trunk@23017 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 06:05:08 +00:00
Andrew Ozz 7bc623ca09 Editor: add sanity limit for editor height of 5000px, save only when resizing the Visual or the Text editor, fixes #22708
git-svn-id: https://develop.svn.wordpress.org/trunk@23016 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 06:01:47 +00:00
Mark Jaquith 3c992973bb Fix a typo in media-views.js that referenced frame.router.get() instead of frame.router. Fixes #22710
git-svn-id: https://develop.svn.wordpress.org/trunk@23015 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 05:18:21 +00:00
Andrew Nacin 9e665f5355 Missing RTL for [21944]. props helenyhou. fixes #22707.
git-svn-id: https://develop.svn.wordpress.org/trunk@23014 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 05:06:24 +00:00
bumpbot fbb3a42707 Compress scripts/styles: 3.5-RC2-23013.
git-svn-id: https://develop.svn.wordpress.org/trunk@23013 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 04:58:31 +00:00
Ryan Boren b5ae45fae3 Fix race condition in media insertion where the inserted html is invalid due to output being interleaved.
Props koopermsith
fixes #22696


git-svn-id: https://develop.svn.wordpress.org/trunk@23012 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 04:38:42 +00:00
Andrew Nacin 3864c9848c Media: Remove four unused strings. props dimadin. fixes #22688.
git-svn-id: https://develop.svn.wordpress.org/trunk@23011 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 04:16:56 +00:00
Andrew Nacin 8557740b7b Updated media screenshot for the about page. props lessbloat. fixes #22455.
git-svn-id: https://develop.svn.wordpress.org/trunk@23010 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 04:13:30 +00:00
Andrew Nacin ebc5376a0d RTL support for Masonry on the custom header page. fixes #22709.
git-svn-id: https://develop.svn.wordpress.org/trunk@23009 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 04:08:32 +00:00
Andrew Nacin 63aa98ed0c Media: When an image does not have all image sizes available, make sure we insert the requested size into the editor. props koopersmith. fixes #22693.
git-svn-id: https://develop.svn.wordpress.org/trunk@23008 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 04:04:45 +00:00
bumpbot 4073eb5ec2 Compress scripts/styles: 3.5-RC2-23007. props koopersmith. :-)
git-svn-id: https://develop.svn.wordpress.org/trunk@23007 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 01:29:58 +00:00
Ryan Boren 00e20a52dc Final round of media UX improvements.
Props koopersmith
fixes #21390 #22502


git-svn-id: https://develop.svn.wordpress.org/trunk@23006 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 01:26:03 +00:00
Andrew Nacin b925385ca1 Multisite in a subdirectory: For subdomain installs, use a root admin cookie path, not a wp-admin specific one.
This is necessary because, like subdirectory installs, we will have wp-admin accessed at different levels.

fixes #22705.



git-svn-id: https://develop.svn.wordpress.org/trunk@23005 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 00:51:02 +00:00
Andrew Nacin 57cda41fdf RTL fixes for the tags meta box and two search inputs. props SergeyBiryukov. fixes #22707.
git-svn-id: https://develop.svn.wordpress.org/trunk@23004 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 00:47:54 +00:00
bumpbot 8560f370fa Compress scripts/styles: 3.5-RC2-23003.
git-svn-id: https://develop.svn.wordpress.org/trunk@23003 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 22:29:01 +00:00
Ryan Boren 608e95019d Properly set the base URL for the main site when ms-files rewriting is enabled for MU-era installs.
Props nacin
fixes #22702


git-svn-id: https://develop.svn.wordpress.org/trunk@23002 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 22:24:06 +00:00
potbot d9950dbaca POT, generated from r23000
git-svn-id: https://develop.svn.wordpress.org/trunk@23001 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 21:18:57 +00:00
Lance Willett cb39d77bb5 Twenty Eleven: escape navigation ID output, closes #22690.
git-svn-id: https://develop.svn.wordpress.org/trunk@23000 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 20:13:14 +00:00
Lance Willett e6bc7f67f9 Twenty Twelve: escape navigation ID output, props nacin. See #22690.
git-svn-id: https://develop.svn.wordpress.org/trunk@22999 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 20:12:22 +00:00
Ryan Boren 5af1f254e4 No wrap for the attachment Delete Permanently link in the media modal.
Props SergeyBiryukov
fixes #22667


git-svn-id: https://develop.svn.wordpress.org/trunk@22998 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 19:49:45 +00:00
Ryan Boren ecb18ffc05 Increase the PHP memory_limit to WP_MAX_MEMORY_LIMIT in WP_Image_Editor_Imagick.
Props DH-Shredder
fixes #22699


git-svn-id: https://develop.svn.wordpress.org/trunk@22997 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 19:44:58 +00:00
Andrew Nacin 4acd3d7db8 Alternative Text, not Alternate Text. props SergeyBiryukov. fixes #21176.
git-svn-id: https://develop.svn.wordpress.org/trunk@22996 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 19:21:34 +00:00
bumpbot 0a8240a9c4 Compress scripts/styles: 3.5-RC2-22995.
git-svn-id: https://develop.svn.wordpress.org/trunk@22995 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 08:09:10 +00:00
Ryan Boren 71d333f660 In the QuickPress media modal, use the new post id when a post is published.
Props nacin, koopersmith
fixes #22673


git-svn-id: https://develop.svn.wordpress.org/trunk@22994 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 07:17:10 +00:00
Ryan Boren 594bbe90df When settting a featured image, move the currently selected image to the beginning of the library if it doesn't exist within the attachments loaded so far.
Props koopersmith
fixes #22494


git-svn-id: https://develop.svn.wordpress.org/trunk@22993 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 07:04:34 +00:00
bumpbot 077dea75f7 Compress scripts/styles: 3.5-RC2-22992.
git-svn-id: https://develop.svn.wordpress.org/trunk@22992 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 06:53:58 +00:00
Ryan Boren 7ad3d2410c Show a spinner when attachment details are saved.
Props koopersmith
see #22613


git-svn-id: https://develop.svn.wordpress.org/trunk@22991 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 06:37:49 +00:00
Ryan Boren c21e4809c3 Show Select Files button the first time the media modal is opened.
Props koopermsith
fixes #22691


git-svn-id: https://develop.svn.wordpress.org/trunk@22990 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 06:32:25 +00:00
Andrew Nacin 8adec7a437 Do not save an initial revision for a post created through the auto-draft mechanism. Prevents a bogus revision, often with the title 'Auto Draft'. Restores pre-auto-draft behavior made obvious by XML-RPC's implementation of both auto-drafts and the subsequent wp.getRevisions method. fixes #22687. see #22686.
git-svn-id: https://develop.svn.wordpress.org/trunk@22989 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 06:28:28 +00:00