Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#32697 closed enhancement (fixed)

Minor error in a comment

Reported by: nabil_kadimi's profile nabil_kadimi Owned by: johnbillion's profile johnbillion
Milestone: 4.3 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

I found a small typo when reading the documentation for add_action()

The number of arguments the function accept.

Attachments (2)

32697.diff (1.4 KB) - added by swissspidy 10 years ago.
patch.diff (803 bytes) - added by nabil_kadimi 10 years ago.
Patch

Download all attachments as: .zip

Change History (7)

@swissspidy
10 years ago

@nabil_kadimi
10 years ago

Patch

#1 @swissspidy
10 years ago

  • Component changed from Comments to General
  • Focuses docs added
  • Keywords has-patch added

Perhaps the smallest patch I've ever written. It fixes the typo and also adds some whitespace to the function definition because to respect coding guidelines.

#2 @swissspidy
10 years ago

@nabil_kadimi: Oops sorry, I didn't know you were creating a patch! Just saw this ticket and thought "why not".

#3 @nabil_kadimi
10 years ago

@swissspidy No need to say sorry but thanks.

#4 @johnbillion
10 years ago

  • Milestone changed from Awaiting Review to 4.3
  • Version trunk deleted

#5 @johnbillion
10 years ago

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

In 32829:

Correct a typo in the inline docs for add_action().

Props nabil_kadimi, swissspidy
Fixes #32697

Note: See TracTickets for help on using tickets.