Commit Graph

10666 Commits

Author SHA1 Message Date
Andrew Nacin 416f98b7c8 Remove deleted files on upgrade, including wp-app.php and class-wp-atom-server.php.
props duck_
see #22855
for trunk



git-svn-id: https://develop.svn.wordpress.org/trunk@23203 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-26 20:34:30 +00:00
bumpbot cff4199f69 Compress scripts/styles: 3.6-alpha-23200.
git-svn-id: https://develop.svn.wordpress.org/trunk@23200 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 22:58:43 +00:00
Helen Hou-Sandi 021167d954 Allow non-hierarchical taxonomy labels in Bulk Edit to span the available width. Props SergeyBiryukov, tar.gz. fixes #22703.
git-svn-id: https://develop.svn.wordpress.org/trunk@23198 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 16:30:12 +00:00
bumpbot 5999474328 Compress scripts/styles: 3.6-alpha-23193. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@23193 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-21 18:52:36 +00:00
Helen Hou-Sandi 1303e7377a its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665.
git-svn-id: https://develop.svn.wordpress.org/trunk@23191 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:55:32 +00:00
Helen Hou-Sandi 6c094b35ce Nav menu item selection lists no longer need to be specifically de-whitespaced to match hierarchical taxonomy metaboxes. props corvannoorloos. See #22954 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23185 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-19 19:43:22 +00:00
Helen Hou-Sandi a194505ae7 Align the "Available Themes" header with the search form. props wycks. fixes #22928.
git-svn-id: https://develop.svn.wordpress.org/trunk@23184 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-18 19:45:49 +00:00
Dion Hulse 0c9c23936b When copying new bundled themes & plugins, bail early if the distro doesn't include the bundled item. This prevents us from creating an empty directory in the destination when the source doesn't exist. See #22856
git-svn-id: https://develop.svn.wordpress.org/trunk@23179 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-15 03:09:50 +00:00
Mark Jaquith 30ead1f605 Fix code vomit in IIS rewrite rule generation. fixes #22920 for trunk. props toscho.
git-svn-id: https://develop.svn.wordpress.org/trunk@23177 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-13 22:54:36 +00:00
Andrew Nacin 05861ebb8c Use 3 * HOUR_IN_SECONDS rather than 10800.
git-svn-id: https://develop.svn.wordpress.org/trunk@23175 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-12 07:30:28 +00:00
Andrew Nacin bd4b5f955d We no longer care if wp-admin/index.php is parseable by PHP 4. (And it's not, anyway.) If a user hits the root or wp-admin/install.php, they do get a proper warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@23170 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-11 16:08:58 +00:00
Andrew Nacin 2c914a6c00 Only show help for upload_path and upload_url_path if those fields are visible. fixes #21720.
git-svn-id: https://develop.svn.wordpress.org/trunk@23134 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-09 17:04:08 +00:00
bumpbot 168fdca8e2 Compress scripts/styles: 3.5-RC4-23127.
git-svn-id: https://develop.svn.wordpress.org/trunk@23127 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-07 21:00:25 +00:00
Andrew Nacin 04cb50e1ce Remove 'Insert Multiple Images' from the about page as it is now completely invisible in the UI. Requiring shift-click but not mentioning it is a bad omen. props helenyhou. fixes #22455.
git-svn-id: https://develop.svn.wordpress.org/trunk@23126 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-07 20:58:34 +00:00
Andrew Nacin 556664dd07 Final screenshot on the about page for the media manager.
props lessbloat.
props matt for the photos.

fixes #22455.



git-svn-id: https://develop.svn.wordpress.org/trunk@23109 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 19:49:42 +00:00
Andrew Nacin 110c7769e5 Rip keyboard shortcuts out of the image editor help. props helenyhou. fixes #22786.
git-svn-id: https://develop.svn.wordpress.org/trunk@23106 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 09:21:27 +00:00
bumpbot 66f7523e43 Compress scripts/styles: 3.5-RC3-23099.
git-svn-id: https://develop.svn.wordpress.org/trunk@23099 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 06:58:33 +00:00
Mark Jaquith e0f5f47c57 Add the ability to click "Edit" and kick out to the advanced image editor from within the Media modal. New window, with "Refresh" offered on your return. fixes #22743. props koopersmith, nacin, helenyhou.
git-svn-id: https://develop.svn.wordpress.org/trunk@23095 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:52:19 +00:00
Mark Jaquith 93442c1773 Run the attachment_fields_to_save filter even if we don't get the fields we used to get. props nacin. fixes #22774
git-svn-id: https://develop.svn.wordpress.org/trunk@23094 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:34:17 +00:00
bumpbot 40dad409f4 Compress scripts/styles: 3.5-RC3-23093.
git-svn-id: https://develop.svn.wordpress.org/trunk@23093 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:26:39 +00:00
Daryl Koopersmith a4f2112fd3 Add a canonical location for media frames, an alias to fetch attachments, and frame caching to custom header. fixes #22775.
git-svn-id: https://develop.svn.wordpress.org/trunk@23092 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:06:49 +00:00
Andrew Nacin 90e5fd56c0 Fix branchhing in edit_post() where attachment_fields_to_save would only run when the alt text was sent. It should run whenever an attachment is saved. props sc0ttclark. fixes #22774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23088 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 03:50:31 +00:00
Daryl Koopersmith f82ed67255 Add hidden fields via attachment_fields_to_edit to the existing compat output. props nacin. fixes #22769.
git-svn-id: https://develop.svn.wordpress.org/trunk@23086 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 03:28:21 +00:00
bumpbot 2255750962 Compress scripts/styles: 3.5-RC3-23084.
git-svn-id: https://develop.svn.wordpress.org/trunk@23084 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 00:42:44 +00:00
Andrew Nacin 1cc12103f5 Restore the Description field to the media UI in 3.5.
We tried in vain -- a noble but ultimately failed effort -- to reduce the number of fields for attachments from four (title, caption, alt, description) to one (caption for images, title otherwise). Alternative text needed to stay for accessibility reasons, of course.

Eventually title returned due to heavy plugin reliance. Description is too used by too many plugins (often times incorrectly -- the caption is more likely the proper field), hence its less-than-triumphant return today.

Version 3.5 has tried to streamline media in a number of ways. Removing fields may have been too much at once, as it forced not only a user interface change, but a paradigm change as well.

Finally, on upload we populate the description field with IPTC/EXIF captions, rather than the caption field. See #22768, this should be fixed. For now, Description stays.

This commit also restores 'Title' attribute editing to the main tab of the Edit Image dialog. The "Title" field no longer populates title attributes for <img> tags by design (for accessibility and other purposes, see #18984). So, here is a more obvious 'workaround' for the tooltip community.

Finally, this:
 * Cleans up the post.php attachment editor, including by showing a prettier form of the mime type.
 * Enables plugins to specifically hide attachment_fields_to_edit from either post.php (where you can create meta boxes) or the modal (which you may not want to clutter), for compatibility reasons.
 * Hides the 'Describe this file...' placeholder when a field is read-only in the modal.

props nacin, helenyhou.
fixes #22759.



git-svn-id: https://develop.svn.wordpress.org/trunk@23083 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 00:41:06 +00:00
Andrew Nacin 6c54baea98 Translate the 'First Steps with WordPress' Codex link. props SergeyBiryukov, fixes #22767.
git-svn-id: https://develop.svn.wordpress.org/trunk@23082 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 22:51:24 +00:00
Andrew Nacin a91ebc0abf Media list table: Fix the categories column, hidden thanks to a typo. props eddiemoya, fixes #22764. see #21240, #21391.
git-svn-id: https://develop.svn.wordpress.org/trunk@23081 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 22:49:51 +00:00
Andrew Nacin b2bafcca6a Script loader: Chunk the script names as passed to load-scripts.php into 128-character pieces. Avoids hitting a limit for the length of a single variable, such as suhosin.get.max_value_length which defaults to 512. fixes #22757.
git-svn-id: https://develop.svn.wordpress.org/trunk@23074 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 18:57:56 +00:00
Mark Jaquith 92793b6ec2 Intelligently make media fields readonly when the user cannot update or do anything with them. props koopersmith, helenyhou, nacin. fixes #22613
git-svn-id: https://develop.svn.wordpress.org/trunk@23072 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 10:29:24 +00:00
bumpbot 6b81fd778d Compress scripts/styles: 3.5-RC3-23059.
git-svn-id: https://develop.svn.wordpress.org/trunk@23059 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 02:58:34 +00:00
Andrew Nacin 34f181654d Admin ajax: Roll back new-style error sending in set-post-thumbnail. The JS handlers know to parse an unrecognized response (like -1 or 0) as a failure. see #21776. see #22750.
git-svn-id: https://develop.svn.wordpress.org/trunk@23058 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 02:34:00 +00:00
Andrew Nacin 426eb50936 Fix inserting of multiple attachments with captions when the first attachment does not have a caption. props azaozz. fixes #22720.
git-svn-id: https://develop.svn.wordpress.org/trunk@23055 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 00:59:25 +00:00
Andrew Nacin 4e94295826 Remove options-privacy.php, as intended by [21838]. see #16416. see #22349.
git-svn-id: https://develop.svn.wordpress.org/trunk@23050 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-05 00:16:54 +00:00
Andrew Nacin 71e16147bb Use correct button class hierarchy to ensure the 'Update' button is button-large. see #21598.
git-svn-id: https://develop.svn.wordpress.org/trunk@23044 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 22:02:25 +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
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
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 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 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 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
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
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
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 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
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
bumpbot c164b8e2c4 Compress scripts/styles: 3.5-RC2-22988.
git-svn-id: https://develop.svn.wordpress.org/trunk@22988 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 05:42:30 +00:00