Media License

Description

Extend your media files with license information. Customizable and themable.

Installation

  1. Upload media-license.zip to the /wp-content/plugins/ directory
  2. Extract the Plugin to a media-license Folder
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Now you can add creative common license and much more to you media files

FAQ

Can I extend the licenses?

Yes you can with the filter function “media_license_add_fields”.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Media License” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Media License” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.8.0

Features
* load the frontend caption script without jQuery (dab8a89)

Bug Fixes
* answer the captions endpoint for attachments only (3e16dcf)

1.7.0

Features
* accordion layout in block (8366f9b)
* let a block switch off its appended license info (7770752)
* render the credit as “Image by <author>, <license>” (0a448ef)
* show the list of licenses as an accordion with thumbnails (79ecd52)

Bug Fixes
* append the license caption to the figure, not a nonexistent sibling (5720c5d)
* drop the colon from the list of licenses heading (2e6de78)
* escape user-controlled caption fields before output (2baa226)
* load the German translations at all (741a2f7)
* raise the required WordPress/PHP versions and settle the license (f926ba8)
* stop themes from stretching the Creative Commons badge (ae20d51)
* use a valid block namespace for the List of licenses block (2fa14ab)

1.6.9

  • Fix: Fix a bug where image captions are doubled
  • Fix: Fix a potential bug where overwritten image caption result in the new and old captions appended ot each other

1.6.8

  • Fix: Fix a potential jQuery Syntax error

1.6.7

  • Feature: Add rich text editor tools to textarea input

1.6.6

  • Feature: Add html-sanitization option to add_fields hook

1.6.5

  • Feature: Add PH_CENTRAL_AUTOLOADER_DEBUG constant

1.6.4

  • Feature: Add Gutenberg block options

1.6.3

  • Fix: fix deprecation warnings

1.6.2

  • Fix: prevent double slashes in url path

1.6.1

  • Bugfix: Copy license meta to edited image

1.6.0

  • Feature: Headless plugin integration

1.5.2

  • Bugfix: ListOfLicenses block work with 1.4 and later

1.5.1

  • Optimization: New “has-duplicate-caption” class in frontend if local and image captions are the same

= 1.5.0
* Optimization: removed jQuery as dependency

1.4.5

  • Bugfix: Missing alignment classes on figure wrapper in frontend fix

1.4.4

  • Bugfix: Missing permission callback for rest route

1.4.3

  • Optimization: moved wp-ajax to rest endpoint for better caching

1.4.2

  • Optimization: list of licenses blockx update
  • Bugfix: empty post excerpt fix

1.4.1

  • Bugfix: Enqueue script fix
  • Bugfix: Do not render same captions twice.

1.4.0

  • Breaking change: Namespace of plugin has changed due to unification
  • Feature: New filter to provide templates with plugins
  • Optimizations: General refactorings
  • Optimizations: deprecated some functions and constants

1.3.3

  • Translations: CH
  • Bugfix: translations path

1.3.2

  • Feature: Filter for extending list of licenses
  • Optimization: template translation
  • Bugfix: Gutenberg captions were not handled in every case

1.3.1

  • Bugfix: Do not do anything on empty caption
  • Bugfix: Gutenberg caption without wp-caption class fix

1.3.0

  • Bugfix: Gutenberg support
  • Optimization: Changed default value for filter media_license_autoload_async_image_license
  • Optimization: Automatically enqueue api.js script

1.2.3

  • Bugfix JavaScript
  • Same picture twice fix

1.2.2

  • Ajax NoPriv typo fix
  • API JS Get Requests with paging
  • API JS flexibility

1.2.1

  • No images on page fix

1.2

  • Ajax API
  • global $media_license not available anymore
  • singleton pattern plugin now
  • autoload async licenses filter added

1.1.1

  • Bugfix: Rendering of Public Domain and All rights reserved

1.1.0

  • Theme template location changed to plugin-parts subfolder.
  • Template part file ending is now .tpl.php

1.0.2

  • If no license selected no output in template

1.0.1

  • Linkable author

1.0.0

  • First release