{"id":81976,"date":"2018-04-04T20:05:22","date_gmt":"2018-04-04T20:05:22","guid":{"rendered":"https:\/\/nl.wordpress.org\/plugins\/cocoon-media-management\/"},"modified":"2026-08-26T07:12:31","modified_gmt":"2026-08-26T07:12:31","slug":"cocoon-media-management","status":"closed","type":"plugin","link":"https:\/\/fi.wordpress.org\/plugins\/cocoon-media-management\/","author":15973738,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.1","stable_tag":"2.0.1","tested":"6.7.7","requires":"6.0","requires_php":"8.0","requires_plugins":null,"header_name":"Cocoon Media Management","header_author":"Cocoon Software Tech","header_description":"Load images from Cocoon.","assets_banners_color":"249964","last_updated":"2026-08-26 07:12:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/use-cocoon.com\/product\/wordpress_plugin","header_author_uri":"https:\/\/use-cocoon.com\/","rating":0,"author_block_rating":0,"active_installs":100,"downloads":4998,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.0.4":{"tag":"0.0.4","author":"usecocoon","date":"2018-04-04 20:10:26"},"1.04":{"tag":"1.04","author":"usecocoon","date":"2018-04-24 12:56:43"},"1.2.1":{"tag":"1.2.1","author":"usecocoon","date":"2018-05-18 21:52:28"},"1.2.5":{"tag":"1.2.5","author":"usecocoon","date":"2018-05-27 20:10:52"},"1.2.6":{"tag":"1.2.6","author":"usecocoon","date":"2018-05-29 18:58:33"},"1.2.7":{"tag":"1.2.7","author":"usecocoon","date":"2018-05-29 19:06:12"},"1.3.0":{"tag":"1.3.0","author":"usecocoon","date":"2018-05-30 20:57:19"},"1.3.5":{"tag":"1.3.5","author":"usecocoon","date":"2018-06-06 20:28:41"},"1.3.5a":{"tag":"1.3.5a","author":"usecocoon","date":"2018-06-06 20:34:36"},"1.3.7":{"tag":"1.3.7","author":"usecocoon","date":"2018-06-13 19:17:39"},"1.3.8":{"tag":"1.3.8","author":"usecocoon","date":"2018-06-13 20:55:34"},"1.3.8b":{"tag":"1.3.8b","author":"usecocoon","date":"2018-06-13 21:01:38"},"1.4.0":{"tag":"1.4.0","author":"usecocoon","date":"2018-06-13 21:06:03"},"1.4.1":{"tag":"1.4.1","author":"usecocoon","date":"2018-06-14 17:48:35"},"1.4.2":{"tag":"1.4.2","author":"usecocoon","date":"2018-06-14 17:52:31"},"1.5.0":{"tag":"1.5.0","author":"usecocoon","date":"2018-12-04 22:01:58"},"1.5.5":{"tag":"1.5.5","author":"usecocoon","date":"2019-02-27 21:41:51"},"1.5.6":{"tag":"1.5.6","author":"usecocoon","date":"2019-03-03 22:22:17"},"1.5.6b":{"tag":"1.5.6b","author":"usecocoon","date":"2019-03-03 22:26:33"},"2.0.0":{"tag":"2.0.0","author":"usecocoon","date":"2026-03-18 14:01:22"},"2.0.1":{"tag":"2.0.1","author":"usecocoon","date":"2026-08-26 07:12:31"}},"upgrade_notice":{"2.0.0":"<p><strong>MAJOR UPDATE!<\/strong> Requires PHP 8.0+ and WordPress 6.0+. Complete rewrite with security improvements, TAG search, and Gutenberg support. Settings will be migrated automatically. Backup before upgrading!<\/p>","1.5.7":"<p>Bug fixes and stability improvements.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128\u00d7128.jpg":{"filename":"icon-128\u00d7128.jpg","revision":1865099,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-128\u00d7128.png":{"filename":"icon-128\u00d7128.png","revision":1863590,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256\u00d7256.jpg":{"filename":"icon-256\u00d7256.jpg","revision":1865099,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon-256\u00d7256.png":{"filename":"icon-256\u00d7256.png","revision":1863590,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":1865100,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544\u00d7500.jpg":{"filename":"banner-1544\u00d7500.jpg","revision":1863590,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772\u00d7250.jpg":{"filename":"banner-772\u00d7250.jpg","revision":1863590,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"cocoon-media-management\/cocoon-image":{"name":"cocoon-media-management\/cocoon-image","title":"Cocoon Image"}},"tagged_versions":["0.0.4","1.04","1.2.1","1.2.5","1.2.6","1.2.7","1.3.0","1.3.5","1.3.5a","1.3.7","1.3.8","1.3.8b","1.4.0","1.4.1","1.4.2","1.5.0","1.5.5","1.5.6","1.5.6b","2.0.0","2.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1892389,"resolution":"1","location":"assets","locale":"","width":1246,"height":786},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1892389,"resolution":"2","location":"assets","locale":"","width":1241,"height":786},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1892389,"resolution":"3","location":"assets","locale":"","width":1246,"height":786},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1892389,"resolution":"4","location":"assets","locale":"","width":1122,"height":708}},"screenshots":{"1":"Settings page - Configure your Cocoon API credentials","2":"Media Library integration - Access Cocoon media from standard WordPress media modal","3":"Cocoon Library page - Browse and bulk upload media","4":"TAG search - Search media by tags with autocomplete","5":"Gutenberg block - Insert Cocoon images in block editor"}},"plugin_section":[],"plugin_tags":[8847,47915,14169,84,233],"plugin_category":[50],"plugin_contributors":[258043],"plugin_business_model":[],"class_list":["post-81976","plugin","type-plugin","status-closed","hentry","plugin_tags-asset-management","plugin_tags-cocoon","plugin_tags-dam","plugin_tags-media","plugin_tags-media-library","plugin_category-media","plugin_contributors-usecocoon","plugin_committers-usecocoon"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/cocoon-media-management\/assets\/icon.svg?rev=1865100","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cocoon-media-management_249964.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cocoon-media-management\/assets\/screenshot-1.png?rev=1892389","caption":"Settings page - Configure your Cocoon API credentials"},{"src":"https:\/\/ps.w.org\/cocoon-media-management\/assets\/screenshot-2.png?rev=1892389","caption":"Media Library integration - Access Cocoon media from standard WordPress media modal"},{"src":"https:\/\/ps.w.org\/cocoon-media-management\/assets\/screenshot-3.png?rev=1892389","caption":"Cocoon Library page - Browse and bulk upload media"},{"src":"https:\/\/ps.w.org\/cocoon-media-management\/assets\/screenshot-4.png?rev=1892389","caption":"TAG search - Search media by tags with autocomplete"}],"raw_content":"<!--section=description-->\n<p><strong>Cocoon Media Management<\/strong> connects your WordPress website with the user-friendly <a href=\"https:\/\/use-cocoon.com\/\">Cocoon<\/a> Digital Asset Management (DAM) software. With this plugin, all the visuals you need will be directly available from your Cocoon online media bank in your WordPress platform.<\/p>\n\n<p>Cocoon is the media bank for marketing and communication professionals. It's smart marketing software with which you can easily store, manage, find, and share all sorts of content with everyone, wherever and whenever. Your valuable marketing assets centralized in the cloud for maximum efficiency and perfect grip on your brand identity.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>WordPress Media Library Integration<\/strong> - Access Cocoon media directly from WordPress Media Library modal<\/li>\n<li><strong>Gutenberg Block<\/strong> - Dedicated block for inserting Cocoon images in block editor<\/li>\n<li><strong>TAG Search<\/strong> - Search and filter media by tags (NEW in 2.0!)<\/li>\n<li><strong>Set Management<\/strong> - Browse media organized in sets<\/li>\n<li><strong>Bulk Upload<\/strong> - Upload multiple images to WordPress at once<\/li>\n<li><strong>Smart Caching<\/strong> - Fast loading with intelligent thumbnail caching<\/li>\n<li><strong>Multiple Image Sizes<\/strong> - Choose from original, web, or custom sizes<\/li>\n<li><strong>Secure<\/strong> - Modern security practices with nonce verification and input sanitization<\/li>\n<\/ul>\n\n<h4>Benefits<\/h4>\n\n<ul>\n<li>24\/7 access to all your visuals in WordPress<\/li>\n<li>Save time: managing and finding content has never been so easy<\/li>\n<li>Safely managing and using content in your media gallery<\/li>\n<li>Convenience and speed: easily store and find all your visuals at one central place<\/li>\n<li>Brand management: as administrator you will have full control over which media files are available<\/li>\n<\/ul>\n\n<h4>What's New in 2.0.0?<\/h4>\n\n<p>This is a complete rewrite of the plugin with modern WordPress and PHP best practices:<\/p>\n\n<ul>\n<li>\u2705 PHP 8.0+ with strict types and modern OOP<\/li>\n<li>\u2705 WordPress 6.0+ compatibility<\/li>\n<li>\u2705 Removed all deprecated WordPress functions<\/li>\n<li>\u2705 Enhanced security (CSRF protection, input sanitization)<\/li>\n<li>\u2705 Native wp.media framework integration<\/li>\n<li>\u2705 TAG search functionality (using new 2024 Cocoon API)<\/li>\n<li>\u2705 Gutenberg block support<\/li>\n<li>\u2705 PSR-4 autoloading<\/li>\n<li>\u2705 Comprehensive error handling<\/li>\n<\/ul>\n\n<h4>External Service<\/h4>\n\n<p>This plugin sends\/requests media from the Cocoon web service at <code>https:\/\/&lt;your-subdomain&gt;.use-cocoon.nl\/webservice\/wsdl<\/code>.<\/p>\n\n<p><strong>Data sent to Cocoon:<\/strong>\n* Authentication credentials (subdomain, username, hashed request ID)\n* Request IDs for API calls<\/p>\n\n<p><strong>Data received from Cocoon:<\/strong>\n* Media files metadata (titles, dimensions, file sizes)\n* Thumbnail images\n* Sets and tags information<\/p>\n\n<p><strong>No personal user data<\/strong> (emails, names, etc.) is sent to Cocoon. Only your configured API credentials are used for authentication.<\/p>\n\n<p>For more information about Cocoon's services and privacy policy:\n* <a href=\"https:\/\/use-cocoon.com\/\">Cocoon Website<\/a>\n* <a href=\"https:\/\/use-cocoon.com\/privacy-policy\/\">Cocoon Privacy Policy<\/a>\n* <a href=\"https:\/\/use-cocoon.com\/terms\/\">Cocoon Terms of Service<\/a><\/p>\n\n<p><strong>Note:<\/strong> You need an active Cocoon subscription to use this plugin. Contact Cocoon to get your API credentials.<\/p>\n\n<h3>Additional Info<\/h3>\n\n<p><strong>Development:<\/strong>\n* GitHub: [Coming soon]\n* Issues: https:\/\/wordpress.org\/support\/plugin\/cocoon-media-management\/<\/p>\n\n<p><strong>Credits:<\/strong>\n* Developed by Cocoon Software Tech\n* Maintained by Cocoon Team<\/p>\n\n<p><strong>Support:<\/strong>\n* Plugin support: https:\/\/wordpress.org\/support\/plugin\/cocoon-media-management\/\n* Cocoon support: support@use-cocoon.nl\n* Phone: +31 (0)23 554 67 55<\/p>\n\n<p><strong>More Information:<\/strong>\n* Website: https:\/\/use-cocoon.com\/\n* Documentation: https:\/\/use-cocoon.com\/product\/wordpress_plugin\n* Request Demo: https:\/\/use-cocoon.com\/request-demo\/<\/p>\n\n<!--section=installation-->\n<h4>Minimum Requirements<\/h4>\n\n<ul>\n<li>WordPress 6.0 or higher<\/li>\n<li>PHP 8.0 or higher<\/li>\n<li>PHP SOAP extension enabled<\/li>\n<li>MySQL 5.7+ or MariaDB 10.2+<\/li>\n<\/ul>\n\n<h4>Installation Steps<\/h4>\n\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/cocoon-media-management\/<\/code>, or install the plugin through the WordPress plugins screen directly<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Contact Cocoon (support@use-cocoon.nl) to get your API credentials<\/li>\n<li>Go to Cocoon \u2192 Settings and enter your credentials:\n\n<ul>\n<li>Subdomain (without .use-cocoon.nl)<\/li>\n<li>Username<\/li>\n<li>Secret Key<\/li>\n<\/ul><\/li>\n<li>Click \"Save Settings\" and verify the connection status<\/li>\n<\/ol>\n\n<h4>Upgrading from 1.5.7<\/h4>\n\n<p>Your settings will be migrated automatically. No manual intervention needed.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20a%20cocoon%20account%20to%20use%20this%20plugin%3F\"><h3>Do I need a Cocoon account to use this plugin?<\/h3><\/dt>\n<dd><p>Yes, you need an active Cocoon subscription. Cocoon is a paid Digital Asset Management service. You can request a free demo at <a href=\"https:\/\/use-cocoon.com\/request-demo\/\">use-cocoon.com<\/a>.<\/p><\/dd>\n<dt id=\"how%20do%20i%20get%20api%20credentials%3F\"><h3>How do I get API credentials?<\/h3><\/dt>\n<dd><p>Contact Cocoon support:\n* Email: support@use-cocoon.nl\n* Phone: +31 (0)23 554 67 55\nThey will provide you with your subdomain, username, and secret key.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20compatible%20with%20gutenberg%3F\"><h3>Is the plugin compatible with Gutenberg?<\/h3><\/dt>\n<dd><p>Yes! Version 2.0 includes a dedicated Gutenberg block for inserting Cocoon images.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20page%20builders%20like%20elementor%2Fdivi%3F\"><h3>Does it work with page builders like Elementor\/Divi?<\/h3><\/dt>\n<dd><p>Yes, the plugin integrates with WordPress Media Library, so it works with all page builders that use the standard media modal.<\/p><\/dd>\n<dt id=\"can%20i%20search%20media%20by%20tags%3F\"><h3>Can I search media by tags?<\/h3><\/dt>\n<dd><p>Yes! Version 2.0 adds TAG search functionality using the new Cocoon API (2024).<\/p><\/dd>\n<dt id=\"are%20images%20uploaded%20to%20wordpress%20or%20linked%20from%20cocoon%3F\"><h3>Are images uploaded to WordPress or linked from Cocoon?<\/h3><\/dt>\n<dd><p>Images are copied to your WordPress Media Library when you insert them, ensuring they remain available even if removed from Cocoon.<\/p><\/dd>\n<dt id=\"what%20if%20i%20don%27t%20have%20php%20soap%20extension%3F\"><h3>What if I don't have PHP SOAP extension?<\/h3><\/dt>\n<dd><p>Contact your hosting provider to enable the PHP SOAP extension. Most modern hosting providers have it available in their control panel (cPanel, Plesk, etc.).<\/p><\/dd>\n<dt id=\"where%20are%20thumbnails%20cached%3F\"><h3>Where are thumbnails cached?<\/h3><\/dt>\n<dd><p>Thumbnails are cached in <code>\/wp-content\/plugins\/cocoon-media-management\/cache\/<\/code> with configurable expiry time (default: 72 hours).<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20wordpress%20multisite%3F\"><h3>Is it compatible with WordPress Multisite?<\/h3><\/dt>\n<dd><p>Yes, each site can have its own Cocoon credentials.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.1 - 2026-06-21<\/h4>\n\n<p><strong>Maintenance &amp; Compliance Update (WordPress.org Plugin Review)<\/strong><\/p>\n\n<ul>\n<li>Removed the \"Update URI\" plugin header (not required for plugins hosted on WordPress.org).<\/li>\n<li>Cache directory is now created inside the WordPress uploads directory instead of the plugin folder, so no data is stored in the plugin directory (plugin folders are wiped on update and are publicly accessible).<\/li>\n<li>Settings registered via register_setting() now use strict positive-integer sanitization with range validation (items per page and cache duration), so negative values can no longer be stored.<\/li>\n<li>All request input ($_POST \/ $_GET \/ $_REQUEST) is now unslashed with wp_unslash() before sanitization; nonce values are sanitized with sanitize_text_field( wp_unslash() ) before verification.<\/li>\n<\/ul>\n\n<h4>2.0.0 - 2025-01-18<\/h4>\n\n<p><strong>Major Update - Complete Rewrite<\/strong><\/p>\n\n<p><strong>New Features:<\/strong>\n* TAG search functionality (new 2024 Cocoon API)\n* Gutenberg block for Cocoon images\n* WordPress Media Library integration (replaced deprecated media tab)\n* Bulk upload from Cocoon Library page\n* Tag autocomplete in search\n* Modern admin UI<\/p>\n\n<p><strong>Security Improvements:<\/strong>\n* CSRF protection with nonce verification on all forms\/AJAX\n* Input sanitization on all user inputs\n* Output escaping on all outputs\n* Capability checks (upload_files permission required)\n* MIME type validation<\/p>\n\n<p><strong>Technical Improvements:<\/strong>\n* PHP 8.0+ with strict types and type declarations\n* PSR-4 autoloading\n* Namespaced classes (Cocoon\\MediaManagement)\n* Modern error handling with custom exceptions\n* Comprehensive logging (WP_DEBUG mode)\n* wp.media framework integration\n* REST API ready architecture<\/p>\n\n<p><strong>Bug Fixes:<\/strong>\n* Fixed deprecated <code>media_upload_tabs<\/code> usage\n* Fixed deprecated <code>wp_iframe<\/code> usage\n* Fixed security vulnerabilities\n* Fixed PHP 8+ compatibility issues\n* Fixed memory leaks in large media sets\n* Fixed cache permission issues<\/p>\n\n<p><strong>Removed:<\/strong>\n* Deprecated WordPress functions\n* Old media tab implementation\n* Global functions (replaced with classes)<\/p>\n\n<p><strong>Requirements Update:<\/strong>\n* Minimum PHP: 7.4 \u2192 8.0\n* Minimum WordPress: 3.3 \u2192 6.0\n* Tested up to WordPress 6.7<\/p>\n\n<h4>1.5.7 - 2021-XX-XX<\/h4>\n\n<ul>\n<li>Fix small bugs<\/li>\n<\/ul>\n\n<h4>1.5.6 - 2019-XX-XX<\/h4>\n\n<ul>\n<li>Composer support<\/li>\n<\/ul>\n\n<h4>1.5.5 - 2019-XX-XX<\/h4>\n\n<ul>\n<li>Search autocomplete tags<\/li>\n<li>Back from search result<\/li>\n<li>Set items per page<\/li>\n<li>Fix small bugs<\/li>\n<\/ul>\n\n<h4>1.5.0 - 2019-XX-XX<\/h4>\n\n<ul>\n<li>Add search by Tag<\/li>\n<li>Upload from Dashboard\u2192Media\u2192Cocoon Library<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2018-XX-XX<\/h4>\n\n<ul>\n<li>Initial public release<\/li>\n<\/ul>","raw_excerpt":"Connect your WordPress website with Cocoon media management software. Access your media bank directly from WordPress Media Library.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/81976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=81976"}],"author":[{"embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/usecocoon"}],"wp:attachment":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=81976"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=81976"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=81976"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=81976"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=81976"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=81976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}