Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#37717 closed enhancement (fixed)

media_gallery.js documentation

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

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 8 years ago.
Documented JavaScript.

Download all attachments as: .zip

Change History (7)

@jipmoors
8 years ago

Documented JavaScript.

#1 @DrewAPicture
8 years ago

  • Keywords has-patch added

#2 @swissspidy
8 years ago

  • Component changed from Administration to Media
  • Type changed from defect (bug) to enhancement

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

#3 @jipmoors
8 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
8 years ago

  • Milestone changed from Awaiting Review to 4.7

#5 @wonderboymusic
8 years ago

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

In 38293:

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

Props jipmoors.
Fixes #37717.

#6 @swissspidy
8 years ago

Looks like @andizer should have received props too :/

Note: See TracTickets for help on using tickets.