humanmade / humanmade/network-media-library

Incompatibility with WP 6.1

Open
#92 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
296
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Used this plugin with success in the past. Sadly compatibility with WordPress 6.1 has been lost.
In network-media-library.php:397 the function `wp_make_content_images_responsive` is called, this has been deprecated and replaced by `wp_image_add_srcset_and_sizes` which requires 3 parameters instead of 1.

Old docs: https://developer.wordpress.org/reference/functions/wp_make_content_images_responsive/

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in network-media-library.php at line 397 and read the WordPress documentation for wp_make_content_images_responsive and wp_image_add_srcset_and_sizes. Confirm the updated call works with WordPress 6.1; done means the plugin no longer relies on the deprecated function and remains compatible.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.