Releases: voceconnect/multi-post-thumbnails
Releases · voceconnect/multi-post-thumbnails
Version 1.7
- add pt_BR translations (props rodrigoprimo)
- Only enqueue static assets once (props mboynes)
- Load text domain for translations directly to allow for plugin to be outside WP_PLUGIN_DIR or WP_LANG_DIR
- Use stylesheet directory instead of template directory when getting the URL to plugin files to support child theme paths
- Update tested to to current version (4.9.5)
- Update readme format to be correct, add PHP version, and update contact information to be current
1.6.6
- Fixed escaping of iframe url
Version 1.6.5
- Use max-width instead of width for mpt in admin metabox to prevent small images from being upscaled. Fixes (for real this time) #44. Props @Justin-Marks.
- Test with WordPress 4.1.1 and update tested to.
Version 1.6.4
Version 1.6.3
- Add post id to admin media enqueue so it is available to actions/filters. Props @Screenfeed.
Version 1.6.2
- Add
[post type]_[thumbnail id]_admin_post_thumbnail_html
filter, similar to core'sadmin_post_thumbnail_html
filter for overriding metabox output. Props @gglnx.
Version 1.6.1
- Update readme.txt for our new team standard. No code changes.
Version 1.6
- Use medial modal instead of thickbox for WordPress 3.5+ (props mparolisi).
- Fix getting plugin directory name for il8n (props pixeltechnologies).
1.5
- Add a
size
parameter toMultiPostThumbnails::get_post_thumbnail_url
to allow getting any registered size. - Add
context
option to the args accepted when instantiating a newMultiPostThumbnails
to specify the metabox context. Defaults toside
(which it was previously hard coded to). - Filter
is_protected_meta
to hide meta from the Custom Fields metabox by default (props willroy). To unhide them, addadd_filter('mpt_unprotect_meta', '__return_true');
to your theme'sfunctions.php
. - il8n courtesy Horttcore
1.4
- Add a context parameter to the thickbox opener to narrow down the selection in the media upload tabs to the one being set/viewed (props kevinlangleyjr) which reduces clutter when many thumbnails are registered. Refactor js to use an object (props markparolisi). Hide attachment fields on 3.5 media sidebar.