Making WordPress.org

Opened 6 years ago

Closed 6 years ago

#3806 closed defect (bug) (fixed)

WordCamp.org site is using a Gutenberg deprecated function.

Reported by: imath's profile imath Owned by: vedjain's profile vedjain
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: has-patch
Cc:

Description

In gutenberg-tweaks.php the function gutenberg_post_has_blocks() is used although it is deprecated since Gutenberg 3.6.

I've checked and as the Full Screen mode is on, Gutenberg 3.8 is active on WordCamp sites. I suggest to use the new Gutenberg function to avoid the deprecated notice to log.

Attachments (1)

3806.patch (628 bytes) - added by imath 6 years ago.

Download all attachments as: .zip

Change History (2)

@imath
6 years ago

#1 @vedjain
6 years ago

  • Owner set to vedjain
  • Resolution set to fixed
  • Status changed from new to closed

In 7673:

WordCamp: Remove deprecated function gutenberg_post_has_blocks and use has_blocks instead.

Fixes #3806
Props imath

Note: See TracTickets for help on using tickets.