Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#32697 closed enhancement (fixed)

Minor error in a comment

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

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 11 years ago.
patch.diff​ (803 bytes ) - added by nabil_kadimi 11 years ago.
Patch

Download all attachments as: .zip

Change History (7)

#1 @swissspidy
11 years ago

  • Component Comments → 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
11 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
11 years ago

@swissspidy No need to say sorry but thanks.

#4 @johnbillion
11 years ago

  • Milestone Awaiting Review → 4.3
  • Version trunk

#5 @johnbillion
11 years ago

  • Owner set to johnbillion
  • Resolution → fixed
  • Status new → 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.