Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#63160 closed defect (bug) (fixed)

Twenty Eleven: improve documentation for twentyeleven_attachment_size filter

Reported by: sabernhardt Owned by: audrasjb
Priority: normal Milestone: 6.8
Component: Bundled Theme Version: 3.7
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

Since changeset 25625, the twentyeleven_attachment_size docblock has described its parameter as "height and width attachment size dimensions," but the filter only adjusts the image width.

An inline comment clarifies that the image height has a 1024px limit, and I think that information could fit within the filter's docblock.

Attachments (1)

63160.diff​ (1.2 KB ) - added by sabernhardt 20 months ago.

Download all attachments as: .zip

Change History (6)

#1 @sabernhardt
20 months ago

  • Keywords has-patch added

#2 @audrasjb
20 months ago

  • Milestone 6.9 → 6.8

Thanks for the ticket and patch. Makes sense to me. Given it's a Docs only change, let's fix this in 6.8.

#3 @audrasjb
20 months ago

  • Owner set to audrasjb
  • Resolution → fixed
  • Status new → closed

In 60077:

Twenty Eleven: Improve documentation for twentyeleven_attachment_size filter.

Follow-up to [25625].

Props sabernhardt.
Fixes #63160.

#4 @SirLouen
20 months ago

  • Keywords has-patch removed

#5 @SirLouen
20 months ago

  • Keywords has-patch added

My bad. I notice now can't edit a post's keyword changes. Restoring it back

Note: See TracTickets for help on using tickets.