Releases: mundschenk-at/media-credit
Releases · mundschenk-at/media-credit
Media Credit 4.3.0
- Bugfix: Author queries now use capabilities instead of the deprecated
'who' => 'authors'
. - Bugfix:
run_wptexturize
filter now can be used even after the plugin is initialized. - Change: WordPress minimum version increased to 5.9.0.
- Change: PHP minimum version increased to 7.4.0.
Media Credit 4.2.1
Bugfix: Don't eat content between multiple shortcodes on save and switch between visual and HTML mode in the classic editor.
Media Credit 4.2.0
- Feature: A shorter label for credits displayed at the end of a post can be enabled via the new filter hook
media_credit_at_end_use_short_label
(Images:
instead ofImages courtesy of
). - Feature: The automatic linking of user credits to the WordPress author page can be disabled with the new filter hook
media_credit_disable_author_urls
. - Feature: Media Credit is now fully compatible with PHP 8.0.
- Bugfix: The credit overlay cannot be selected any more by accident in the classic editor.
- Bugfix: Several visual glitches in classic editor have been fixed and parsing has been made more robust.
- Bugfix: Credit width is set properly for custom image sizes when editing image properties in the classic editor.
- Bugfix: Organization and separator are set correctly when adding a user credit via the image properties dialogue in the classic editor.
- Bugfix: Autocomplete works realiably again in Media Library.
- Bugfix: Credits can be deliberately set to be empty again when credits to Wordpress authors are enabled (had been broken since 4.0.0).
- Bugfix: No more
Notice: register_rest_route was called incorrectly
during plugin initialization. - Change: WordPress minimum version increased to 5.2.0.
- Change: PHP minimum version increased to 7.0.0.
- Change: Support for Internet Explorer 11 has been dropped.
- Change: A fabulous new plugin icon designed by Johanna Amann.
Media Credit 4.1.1
- Bugfix: Credits containing apostrophes can be edited in the legacy Media Library view.
- Bugfix: Changes to
nofollow
flag are now saved in the legacy Media Library view as well. - Bugfix: The plugin is now compatible with WordPress 5.6.
Media Credit 4.1.0
- Feature: Images cropped in the Customizer inherit the credit from the original image.
- Feature: Credits are read from EXIF/IPTC fields on image upload.
- Bugfix: No markup is added to
core/image
blocks when no credit is set. - Bugfix: Attachment details input fields are set to read-only when the user
lacks write permissions for the image. - Bugfix: Malformed shortcodes won't break the editor anymore.
- Bugfix: Some error messages were not getting translated because of a
WP.org infrastructure change. - Change: All external PHP dependencies have been moved to the namespace
Media_Credit\Vendor
to reduce the chance of conflicts with other plugins.
Media Credit 4.0.4
Bugfix: Prevent PHP warning for incomplete core/image
blocks.
Media Credit 4.0.3
- Bugfix: Print credit for featured images, not for the parent post.
- Bugfix: Slightly improved compatibility with responsive themes (by using
max-width
instead ofwidth
).
Media Credit 4.0.2
- Bugfix: Don't whitescreen when the shortcode handler is called with an empty string instead of argument array.
- Bugfix: Featured images can be set normally again when
Do not credit images to WordPress users
is enabled.
Media Credit 4.0.1
Bugfix: Uploads via the Edit Post or New Post screens should work again.
Media Credit 4.0.0
- Feature: Full REST API support (reading and writing).
- Feature: A custom default credit for new attachments can be set via the GUI
or the new filter hookmedia_credit_new_attachment_default
. - Feature: Placeholder texts can be customized via the new filter hook
media_credit_placeholder_text
. - Feature: Images added via the Block Editor (Gutenberg) will be displayed
with their credit. - Feature: New autoload-friendly template tag API based on the
Media_Credit
class. The old function-based API has been deprecated. - Change: The previously deprecated template function
get_freeform_media_credit
has been removed. - Change: In HTML5 mode, the credit has been moved inside the
<figcaption>
. - Change: PHP minimum version increased to 5.6.0.
- Bugfix: When default credits are disabled, the display name of a user can be
used as a freeform credit again.