Skip to:
Content

bbPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 3 months ago

#3384 closed task (blessed) (fixed)

Deprecated functions & hooks in WordPress 5.5

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.6.6 Priority: high
Severity: normal Version: 2.6.5
Component: Tools - Code Improvements Keywords:
Cc:

Description

WordPress 5.5 deprecates a number of functions and hooks that bbPress uses.

Here are the ones I've seen so far, but there may be more:

  • wp_blacklist_check
  • wp_make_content_images_responsive
  • blacklist_keys

Change History (6)

#1 @johnjamesjacoby
4 years ago

wp_make_content_images_responsive was added in r6381.

wp_filter_content_tags is the recommended replacement, but it needs to be audited to make sure it actually makes sense to use it within Topic & Reply content. The function name is a bit scary; who knows what content tags are being filtered. It would be nice if there were an image-only replacement.

#2 @johnjamesjacoby
4 years ago

Left a comment on WordPress Core Trac with some initial thoughts on wp_filter_content_tags:

https://core.trac.wordpress.org/ticket/44427#comment:114

Last edited 4 years ago by johnjamesjacoby (previous) (diff)

#3 @johnjamesjacoby
4 years ago

Left another comment regarding blacklist_keys specifically:

https://core.trac.wordpress.org/ticket/50413#comment:35

#4 @johnjamesjacoby
4 years ago

In 7124:

Content: add support for wp_filter_content_tags() in WordPress 5.5.

This commit removes some deprecated function notices, while also adding ongoing support for filtered content tags.

In branches/2.6, for 2.6.6.

See #3384.

#5 @johnjamesjacoby
4 years ago

In 7125:

Content: add support for wp_filter_content_tags() in WordPress 5.5.

This commit removes some deprecated function notices, while also adding ongoing support for filtered content tags.

In trunk, for 2.7.

See #3384.

#6 @johnjamesjacoby
4 years ago

  • Keywords needs-patch removed
  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.