Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#42384 closed feature request (invalid)

ability to edit

Reported by: tazotodua's profile tazotodua Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Site Keywords:
Focuses: Cc:

Description doesnt have a functionality to be modified by users (as opposed to , which I like much).

this lead to the obvious problem, that :

1) there is very poor "accepted arguments" examples (for example, get_post_thumbnail accepts native "thumbnail,medium,full" image-sizes, but there is no indication of those accepted arguments).

2) is too poor of code examples (in contrary of codex..., which was quite satisfying with examples) and we have only "user-contributed", mostly useless codes .

Will those things change in the near future?

Change History (1)

#1 @swissspidy
6 years ago

  • Component changed from General to site
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Things related to * should be reported on

Code examples can be provided by users on every page in the developer reference (User Contributed Notes at the bottom), so I don't think there's a lack of functionality to change documentation.

The top part is extracted directly from the code, the bottom part contains the user contributed examples.

Regarding your accepted arguments example, the param description clearly says:

Accepts any valid image size, or an array of width and height values in pixels (in that order). There's also a super clear example at the bottom demonstrating that exactly these image sizes work, see

Note: See TracTickets for help on using tickets.