Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#47079 closed defect (bug) (fixed)

Incorrect version for excerpt_allowed_blocks filter

Reported by: rabmalin Owned by: desrosj
Priority: normal Milestone: 5.2.3
Component: General Version: 5.0
Severity: normal Keywords: good-first-bug has-patch needs-testing fixed-major
Cc: Focuses: docs

Description

Since parameter is incorrect for excerpt_allowed_blocks filter.

Currently it is @since 4.4.0.
May be it should be 5.0.0.

Ref - wp-includes/blocks.php line 152

Attachments (1)

47079.diff (470 bytes ) - added by mukesh27 7 years ago.
Patch added.

Download all attachments as: .zip

Change History (11)

#1 @desrosj
7 years ago

  • Keywords needs-patch good-first-bug added
  • Milestone Awaiting Review5.2.1
  • Version 5.1.15.0

Thanks, @rabmalin!

Indeed, this should be noted as @since 5.0.

@mukesh27
7 years ago

Patch added.

#2 @mukesh27
7 years ago

  • Keywords has-patch added; needs-patch removed

#3 @desrosj
7 years ago

  • Keywords commit added
  • Owner set to desrosj
  • Status newassigned

Thanks, @mukesh27. That documentation is auto generated on releases. It should correct itself after this code ships.

#4 @desrosj
7 years ago

  • Resolutionfixed
  • Status assignedclosed

In 45284:

Editor: Correct since annotation for the excerpt_allowed_blocks filter.

Props mukesh27, rabmalin.
Fixes #47079.

#5 @desrosj
7 years ago

  • Keywords fixed-major added; commit removed

Reopening for backport consideration.

#6 @desrosj
7 years ago

  • Resolution fixed
  • Status closedreopened

#7 @desrosj
7 years ago

  • Keywords fixed-major removed
  • Milestone 5.2.15.3

Let's leave this just in 5.3.

#8 @desrosj
7 years ago

  • Resolutionfixed
  • Status reopenedclosed

#9 @JeffPaul
7 years ago

  • Keywords needs-testing fixed-major added
  • Milestone 5.35.2.3
  • Resolution fixed
  • Status closedreopened

Reopening this so it can be back-ported to the 5.2 branch, also needs testing to validate if this ticket is good to land in 5.2.3.

#10 @SergeyBiryukov
7 years ago

  • Resolutionfixed
  • Status reopenedclosed

In 45836:

Editor: Correct since annotation for the excerpt_allowed_blocks filter.

Props mukesh27, rabmalin.
Merges [45284] to the 5.2 branch.
Fixes #47079.

Note: See TracTickets for help on using tickets.