| [22552]
|
koopersmith
|
Media: Add an "upload more files" button to upload states. see #21390.
|
| [22551]
|
bumpbot
|
Compress scripts/styles: 3.5-beta2-22551. TinyMCE updated.
|
| [22550]
|
azaozz
|
TinuMCE: update to 3.5.7, fixes #21173
|
| [22549]
|
nacin
|
Revert [22421]. see #6821. see #22308. see #22419.
|
| [22548]
|
koopersmith
|
Media: Allow successive embed URLs. see [22547], #21390.
|
| [22547]
|
koopersmith
|
Media: Add Embed from URL tab.
Note: There is a bug that currently blocks adding several successive embeds.
see #21390.
|
| [22546]
|
bumpbot
|
Compress scripts/styles: 3.5-beta2-22546.
|
| [22545]
|
nacin
|
In switch_theme(), make sure there are no residual template_root or stylesheet_root options remaining if there is only one theme root registered. see #22252.
|
| [22544]
|
nacin
|
Ensure $_wp_default_headers is set before iterating over it in get_custom_header(). props jeffsebring. fixes #22221.
|
| [22543]
|
koopersmith
|
Media: Ensure variables in the attachment details template have defined defaults.
* Adds styling to the upload progress bar in the attachment details template.
* Defines the `filename` attribute when Plupload creates the client-side `Attachment` model.
fixes #22410, see #21390.
|
| [22542]
|
koopersmith
|
Media in QuickPress: Ensure wpActiveEditor is set when the "Add Media" button is clicked. fixes #22021, see #21390.
|
| [22541]
|
koopersmith
|
Media: Add backwards compatibility for attachment_fields_to_edit and attachment_fields_to_save. see #22186.
|
| [22540]
|
bumpbot
|
Compress scripts/styles: 3.5-beta2-22540.
|
| [22539]
|
koopersmith
|
Media templates: Alter escaping regular expression to prevent it from aggresively consuming input meant for interpolation. see #22344, #21390.
|
| [22538]
|
ryan
|
Pass an attachment ID, not a file path, to _load_image_to_edit_path() from wp_crop_image(). This fixes handling of attachments that require url fopen to access the image.
Allow passing urls instead of just file paths to WP_Image_Editor_Imagick::load() and WP_Image_Editor_GD::load() so that attachments requiring URL fopen can be handled.
see #6821
|
| [22537]
|
koopersmith
|
Media: Add custom URL as an option to attachment display properties. see #21390, #22206.
|
| [22536]
|
azaozz
|
Admin menu: sync the .folded and @media .auto-fold styles, fixes #21998
|
| [22535]
|
koopersmith
|
Media: Automatically strip any non-image items from the collection when creating a gallery.
Also changes the rules for when the "new gallery" button shows:
* More than two items must be selected.
* At least one of them must be an image.
see #21390.
|
| [22534]
|
koopersmith
|
Media: Allow the modal sidebar to scroll. see #21390.
|
| [22533]
|
koopersmith
|
Media: Watch additional search events. Properly captures clearing the search box. see #21390.
|
| [22532]
|
koopersmith
|
Media: Add title, caption, and alt text, and attachment info to sidebar.
* Improve sidebar styles.
* Separate the hybrid title/caption field.
* Improve the sidebar image thumbnail.
* Remove filenames from inside the non-image icon thumbnail.
* Properly sync title/caption/alt.
see #21390.
|
| [22531]
|
nacin
|
Add comments to time intervals we cannot express with the constants. Fix a comment. props SergeyBiryukov. fixes #20987.
|
| [22530]
|
koopersmith
|
Media: Account for a race condition when deleting an edit gallery frame. see #21390.
|
| [22529]
|
koopersmith
|
Media: Add instructions to drag and drop to reorder images on gallery and batch edit pages.
Removes search boxes from these pages as well.
see #21390.
|
| [22528]
|
koopersmith
|
Media: Keep the selected featured image in the media modal in sync with the page. fixes #22404, see #21390.
|
| [22527]
|
potbot
|
POT, generated from r22524
|
| [22526]
|
potbot
|
POT, generated from r22524
|
| [22525]
|
potbot
|
POT, generated from r22524
|
| [22524]
|
nacin
|
Don't unnecessarily translate media upload tab strings. see #22186.
|
| [22523]
|
koopersmith
|
Media: Backwards compatibility for media_upload_tabs.
* Adds `createIframeStates()` to the `MediaFrame` view. It creates states and bindings for the `media_upload_tabs` output, and is included on `MediaFrame.Post` by default.
* Hijacks `tb_remove()` when the media modal is open to ensure the modal closes correctly.
* Adds a `chromeless` parameter to thickbox media tab URLs to render the UI without the old row of tabs.
see #22186, #21390.
|
| [22522]
|
nacin
|
Update the JS version of the shortcode regex to match [22382]. props SergeyBiryukov. fixes #17657.
|
| [22521]
|
nacin
|
Don't allow non-image uploads for custom headers and backgrounds. props kovshenin. fixes #22149.
|
| [22520]
|
nacin
|
URLs should be esc_url(), not esc_attr().
|
| [22519]
|
nacin
|
Customizer uploader control: Pass arrays of extensions around instead. see #22149.
|
| [22518]
|
nacin
|
Use event delegation for Add Media, allowing the event to bubble up to #wpbody. Keeps the Add Media button functional on a second use of QuickPress. fixes #22255.
|
| [22517]
|
azaozz
|
QuickPress: add some JS to set wpActiveEditor when the title or content is focused, fixes #22021
|
| [22516]
|
koopersmith
|
Media: Relocate localization to wp_enqueue_media(). see #22186, #21390.
|
| [22515]
|
bumpbot
|
Compress scripts/styles: 3.5-beta2-22515.
|
| [22514]
|
nacin
|
WordPress dialog jQuery UI widget:
* Link to the upstream bug report.
* No need to specify the default value for an option.
* Use the new _super() UI method to open the dialog, avoiding a direct reference to the parent.
* Fix typo in comment.
* Use public isOpen() method rather than a private property.
props scott.gonzalez.
fixes #22399.
|
| [22513]
|
nacin
|
Define a custom event prefix in the wpdialog jQuery UI widget to work around a jQuery UI 1.9.1 regression. see #22399.
|
| [22512]
|
nacin
|
Customizer: Passes focus to the upload tab to avoid focus changing when a drag event occurs from outside the browser. props lessbloat. fixes #21283.
|
| [22511]
|
duck_
|
Minor WP_Image_Editor documentation fixes. See #6821.
|
| [22510]
|
ryan
|
WP_Image_Editor improvements.
* Make test() and supports_mime_type() static.
* Add required_methods argument to get_instance(). Allows requesting an implementation that has certain methods/capabilities.
* Whitespace cleanup
Props markoheijnen
see #6821
|
| [22509]
|
koopersmith
|
Media JS: Pass the region instance through when firing the activate and deactivate events. see #21390.
|
| [22508]
|
koopersmith
|
Media: Keep track of gallery display properties in a separate model instead of mixed in with the query parameters. This allows for arbitrary gallery arguments and a more flexible data structure. see #21390.
|
| [22507]
|
koopersmith
|
Media: When printing a gallery shortcode, hide the implicit orderby value. see #21390.
|
| [22506]
|
koopersmith
|
Media: Correctly set the edit gallery's library. see #21390.
|
| [22505]
|
koopersmith
|
Integrate media with the custom header page. fixes #21820, see #21390.
|
| [22504]
|
koopersmith
|
Custom Headers: Ensure the ready event fires before fetching the existing headers to apply jQuery.masonry. see #20346, #21820.
|
| [22503]
|
koopersmith
|
Custom Background: Remove dead code for thickbox. see #21818, #21390.
|
| [22502]
|
koopersmith
|
Integrate media with the custom background page. fixes #21818, see #21390.
|
| [22501]
|
koopersmith
|
Media JS: Only block button events by default if the button does not link to anything. see #21390.
|
| [22500]
|
koopersmith
|
Media: Make "update featured image" button primary. see #21776, #21390.
|
| [22499]
|
koopersmith
|
Media: Output correct link html when inserting attachments. see #21390.
|
| [22498]
|
westi
|
Multisite: When displaying the upload quota and space used in the dashboard widget format them nicely.
|
| [22497]
|
westi
|
Multisite: Move all the functions which calculate upload space usage to wp-includes so they apply correctly with front-end editors.
Fixes #22357 props wonderboymusic.
|
| [22496]
|
koopersmith
|
Media: Update featured images to use the media frame. fixes #21776, see #21390.
|
| [22495]
|
koopersmith
|
Media JS: Use basic upload/library by default.
`wp.media` now recognizes the `frame` attribute (currently a string; either'select' or 'post') and defaults to using a basic select frame. It also checks for the existence of classes in a safer fashion, as it does not assume the `MediaFrame` property exists.
see #21390.
|
| [22494]
|
koopersmith
|
Media: Add a basic starting frame for upload/library selection.
`media.view.MediaFrame.Select` is a frame class with a handful of sensible defaults to handle selecting and uploading items in the media library.
see #21390.
|
| [22493]
|
koopersmith
|
Media: Add size dropdown to attachment display settings in the media modal. fixes #22206, see #21390.
|
| [22492]
|
koopersmith
|
Customizer: Restrict image control uploaders to only allow image file types. see #22149.
|
| [22491]
|
koopersmith
|
Pinking shears. see #21283.
|
| [22490]
|
koopersmith
|
Media: Ensure media and its dependencies are included when a post type supports the editor or featured images. see #21390.
|
| [22489]
|
koopersmith
|
Media: Add wp_enqueue_media to easily include all media dependencies.
Also, media templates now print on `wp_footer`.
props sushkov. fixes #22060, see #21390.
|
| [22488]
|
nacin
|
Allow wp_plupload_default_settings() to be called multiple times without doubling up the output. see #22060.
|
| [22487]
|
koopersmith
|
Media: Ensure search box reflects actual search state.
* Also switches search box to use `<input type="search" />` to take advantage of browser UI to clear the field.
fixes #22315, see #21390.
|
| [22486]
|
nacin
|
Translate. see #19956.
|
| [22485]
|
koopersmith
|
Media: Rename the "Beta Media" button to "Add Media". fixes #19956, see #21390.
|
| [22484]
|
nacin
|
Properly set upload context when uploading a background image through the customizer. props kovshenin. fixes #22215.
|
| [22483]
|
nacin
|
Consult the queried object for the post type. props mdgl, MikeHansenMe, wonderboymusic. fixes #21648.
|
| [22482]
|
koopersmith
|
Media: In the main media library in the insert media dialog, only show attachment display settings when one attachment is selected. see #21390.
|
| [22481]
|
nacin
|
Final HiDPI tweaks. Don't use rss-2x.png on a front-end widget. Improve selectors for favicons in the toolbar to avoid breaking existing images. Remove unnecessary RTL styles. FIXES #21019.
|
| [22480]
|
koopersmith
|
Media: Add batch insertion workflow. see #21390.
|
| [22479]
|
nacin
|
HiDPI rating stars. props chexee. see #21019.
|
| [22478]
|
koopersmith
|
Media JS: Use correct variable name when binding to the `change:library` event. see [22477], #21390.
|
| [22477]
|
koopersmith
|
Media JS: Add JIT composite library creation/destruction to states to allow for dynamically excluded Attachment models. see #21390.
|
| [22476]
|
nacin
|
Use correct variable. props picklewagon. fixes #22394.
|
| [22475]
|
bumpbot
|
Compress scripts/styles: 3.5-beta2-22475.
|
| [22474]
|
nacin
|
Add some ru_RU-specific CSS to the customizer to prevent the spinner from being bumped to the next line. props SergeyBiryukov, see #21890.
|
| [22473]
|
nacin
|
Add a class. see #16416.
|
| [22472]
|
nacin
|
Return nothing in get_adjacent_post() when $in_same_cat = true but the post doesn't support (or otherwise have) categories. Avoids SQL error. props batmoo, SergeyBiryukov. fixes #15959.
|
| [22471]
|
nacin
|
Account for unfiltered_upload cap in wp_upload_bits(). see #21292.
|
| [22470]
|
ryan
|
Update help text for color picker in custom header and background screens.
Props DrewAPicture
fixes #22393
|
| [22469]
|
ryan
|
Add SimplePie/Exception.php.
Props ocean90
fixes #22321
|
| [22468]
|
ryan
|
Don't show "Skip Cropping, Publish Image as Is" button for themes that do not support headers with flexible width or height. Forces too small images to be scaled to fit in the absence of flex support.
Props MadtownLems, kobenland
fixes #21100
|
| [22467]
|
koopersmith
|
Media JS: Add media.model.Composite, to aid in the representation of joint views. see #21390.
|
| [22466]
|
koopersmith
|
Media: Improve sidebar handling and make attachment display properties attachment-specific.
`wp.mce.media`
* Watch all workflows for the `insert` event and attempt to insert the current state's `selection` if it exists.
* Fetch and pass attachment display properties through to `wp.media.string.image()`.
`wp.media.controller.Region`
* Separate the concept of events and modes.
* All events triggered on a `Region` trigger both `event` and `event:mode` callbacks.
* When a mode is deactivated, `deactivate` and `deactivate:mode` events are fired.
* When a mode is activated, `activate` and `activate:mode` events are fired.
`wp.media.controller.Library`
* Remove the `details()`, `buildDetails()`, and `clearDetails()` methods that juggled sidebar views. Instead, handle the sidebar views using modes.
`wp.media.controller.Gallery`
* Shift the overloaded `sidebar()` method to use modes.
`wp.media.view.MediaFrame.Post`
* Declare `activate:mode` event bindings using an nested object to reduce repetition.
* Update sidebar activation callbacks.
`wp.media.view.Settings`
* Refactor to leverage HTML data attributes and implicit values (instead of setting the fallback whenever an object was created). This has the additional benefit that gallery shortcode parameters are not output when the user has left them set to the default.
see #21390.
|
| [22465]
|
ryan
|
If $this->posts is empty, don't do stuff to it.
Props wonderboymusic
fixes #22061
|
| [22464]
|
nacin
|
Revert [22445]. see #20376. fixes #22389.
|
| [22463]
|
nacin
|
In WP_Image_Editor / wp_load_image(), use is_file() rather than file_exists() so we do not accidentally load a directory.
props benkulbertis, DH-Shredder, scribu.
fixes #17814.
|
| [22462]
|
nacin
|
Proper button heights on the custom header and background pages. props johnbillion. fixes #22385.
|
| [22461]
|
nacin
|
Fix the matching in is_email_address_unsafe(), which was too aggressive.
We should only check to see if the user's email address has the same
domain as or is a subdomain of any banned email domain.
Add a filter.
props mdawaffe.
fixes #21570.
|
| [22460]
|
nacin
|
Blue style fixes and updates. props melchoyce. see #22248.
|
| [22459]
|
nacin
|
Forms with the class .wp-upload-form will now have their submit button disabled until a file is selected. props kovshenin, helenyhou, lessbloat, SergeyBiryukov, tommcfarlin. fixes #20855.
|
| [22458]
|
azaozz
|
Editor: fix position of the resize handle in Text mode in RTL (also some minor css cleanup), see #21718
|
| [22457]
|
nacin
|
Swatches for the color picker. Improves discoverability of colors especially when the picker is opened with a grayscale color. props mattwiebe. FIXES #21206.
|
| [22456]
|
bumpbot
|
Compress scripts/styles: 3.5-beta2-22455.
|
| [22455]
|
nacin
|
Minor UI tweaks to Press This. props lessbloat. fixes #21997.
|
| [22454]
|
koopersmith
|
Media: Improve memory management of views, events, and DOM nodes. see #21390.
|
| [22453]
|
nacin
|
Don't show additional focus outline on customizer sections. Remove unused CSS selectors. props lessbloat. see #21283.
|