Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#25722 closed defect (bug) (fixed)

Hooks Docs: wp-includes/functions.wp-styles.php

Reported by: admiralthrawn Owned by: kpdesign
Priority: normal Milestone: 3.8
Component: Inline Docs Version:
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

Inline docs for wp-includes/functions.wp-styles.php

Attachments (2)

25722.diff​ (539 bytes ) - added by admiralthrawn 13 years ago.
25722.2.diff​ (799 bytes ) - added by DrewAPicture 13 years ago.

Download all attachments as: .zip

Change History (8)

#1 @admiralthrawn
13 years ago

  • Keywords has-patch added

#2 follow-up: @markoheijnen
13 years ago

  • Milestone Awaiting Review → 3.8
  • Type defect (bug) → enhancement

Doesn't the comment need to be inside the function? So then use brackets for it.

#3 in reply to: ↑ 2 @rmccue
13 years ago

Replying to markoheijnen:

Doesn't the comment need to be inside the function? So then use brackets for it.

With the current implementation, no, it just needs to be the first PHPDoc block before a "documentable" block (that is: class/function definition, or action/filter call). I'm not sure what the standard says on it though.

#4 @kpdesign
13 years ago

  • Milestone 3.8 → Awaiting Review
  • Owner set to kpdesign
  • Status new → reviewing
  • Type enhancement → defect (bug)

@markoheijnen: @rmccue is correct, per the ​standard.

I'll start the reviews on the WC Sofia contributor day patches shortly.

#5 @DrewAPicture
13 years ago

  • Keywords commit added
  • Milestone Awaiting Review → 3.8

25722.2.diff​ looks good.

#6 @DrewAPicture
13 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 25950:

Inline documentation for hooks in wp-includes/functions.wp-styles.php.

Props admiralthrawn.
Fixes #25722.

Note: See TracTickets for help on using tickets.