Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#37717 closed enhancement (fixed)

media_gallery.js documentation

Reported by: jipmoors Owned by: wonderboymusic
Priority: normal Milestone: 4.7
Component: Media Version:
Severity: normal Keywords: has-patch
Cc: Focuses: javascript, docs

Description

In our effort to document every JavaScript file in the WordPress admin, this was a small but another step towards complete documented code.

This patch was a joined effort of myself and ​andizer.

Attachments (1)

media-gallery.patch​ (1.4 KB ) - added by jipmoors 10 years ago.
Documented JavaScript.

Download all attachments as: .zip

Change History (7)

@jipmoors
10 years ago

Documented JavaScript.

#1 @DrewAPicture
10 years ago

  • Keywords has-patch added

#2 @swissspidy
10 years ago

  • Component Administration → Media
  • Type defect (bug) → enhancement

Not sure if it's worth documenting this deprecated file, but the patch looks good to me.

#3 @jipmoors
10 years ago

I think it's nice to have it clear that it's been deprecated and that no effort has to be made to understand what goes on in the file when searching for something.

It also was an easy file to document and get the grip of the documentation standards in a nicer way than starting off with post.js :P

#4 @wonderboymusic
10 years ago

  • Milestone Awaiting Review → 4.7

#5 @wonderboymusic
10 years ago

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

In 38293:

Media: Add some docs to media-gallery.js RIP.

Props jipmoors.
Fixes #37717.

#6 @swissspidy
10 years ago

Looks like @andizer should have received props too :/

Note: See TracTickets for help on using tickets.