[Resolved] Deprecated function

Home Forums Support [Resolved] Deprecated function

Home Forums Support Deprecated function

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1601194
    Jim

    Just FYI:

    I’m getting this frequently in a debug log:
    [01-Jan-2021 01:29:20 UTC] PHP Deprecated: wp_make_content_images_responsive is <strong>deprecated</strong> since version 5.5.0! Use wp_filter_content_tags() instead. in . . . wp-includes/functions.php on line 4859

    I don’t know the ultimate cause, but I see the function is called in `elements.php:
    . . . plugins/gp-premium/elements/elements.php:185: } elseif ( function_exists( ‘wp_make_content_images_responsive’ ) ) {
    . . . plugins/gp-premium/elements/elements.php:186: $content = wp_make_content_images_responsive( $content );`

    #1601911
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    We’re actually only loading that function on WP installs that aren’t using 5.5 yet.

    Is there stack trace? It may tell you more about where the issue is coming from.

    #1601965
    Jim

    Ahh, thanks. No stack trace. I did see that bbpress also has a call for that function, so that might be it. Happy New Year!

    #1602933
    Tom
    Lead Developer
    Lead Developer

    Happy New Year! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.