Comments (3)
You are right, thank you for the fix!
from timmy.
Hey @thomasansems
I didn’t have this on the radar yet, thanks for reporting! But are you sure that Timmy is causing the deprecation warning and not another plugin, like Advanced Custom Fields? Because Timmy doesn’t call the wp_make_content_images_responsive()
function, which would trigger that warning. There’s only this line, which removes the filter:
remove_filter( 'the_content', 'wp_make_content_images_responsive' );
In my understanding, this shouldn’t cause a deprecation warning.
Of course this doesn’t mean that I don’t have to account for the new wp_filter_content_tags()
function, which is called instead of wp_make_content_images_responsive()
. I hope I can release a fix this week.
from timmy.
I added a fix in 58eeb0c, so that for WordPress 5.5, the correct filter will be removed. The fix is released in the 0.14.5 release.
And I’m going to close this issue. If you still think that Timmy is the reason for your deprecation warnings, then I’ll gladly reopen it and investigate further.
from timmy.
Related Issues (20)
- "sizes" attribute set even when no "srcset" is availible, violating w3 check HOT 3
- get_timber_image_responsive_acf doesn't deliver image but error message HOT 1
- Support wordpress loading="lazy" feature (since 5.5) HOT 2
- Do not upscale/overize in filter_image_downsize HOT 6
- Timmy tries to resize video files HOT 6
- PHP warning in timber_should_resize HOT 2
- Content images from Gutenberg are not always detected due to wrong regex HOT 3
- Media Library Thumbnail Size not working HOT 3
- How to allow custom image size or disable custom image size within admin
- Cannot use timmy responsive content images with wordpress responsive images in combination HOT 1
- When the timmy/generate_srcset_sizes is set to true the 'oversize' option is ignored HOT 2
- Provide a Timmy::VERSION constant HOT 1
- Responsive remote/external/CDN image HOT 4
- lazy_src in picture_responsive HOT 1
- Notice: Trying to access array offset on value of type bool in mindkomm/timmy/lib/Image.php on line 499 HOT 2
- Class 'Timmy\Image' not found when using v1.0 HOT 1
- .
- deprecation: PHP 8.1: FILTER_SANITIZE_STRING HOT 1
- Composer version without composer.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timmy.