Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#30385 closed defect (bug) (fixed)

Improve inline docs for wp-includes/l10n.php

Reported by: camdensegal Owned by: DrewAPicture
Priority: normal Milestone: 4.1
Component: I18N Version: 4.1
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

Missing @return docs for load_default_textdomain

Incorrectly named @param for wp_dropdown_languages

Attachments (1)

l10n_inline_docs.patch (786 bytes ) - added by camdensegal 12 years ago.
wp-includes/l10n.php inline doc improvements.

Download all attachments as: .zip

Change History (4)

@camdensegal
12 years ago

wp-includes/l10n.php inline doc improvements.

#1 @kpdesign
12 years ago

  • Keywords has-patch added

#2 @DrewAPicture
12 years ago

  • Milestone Awaiting Review4.1

#3 @DrewAPicture
12 years ago

  • Owner set to DrewAPicture
  • Resolutionfixed
  • Status newclosed

In 30380:

Clarify/correct inline documentation in wp-includes/l10n.php.

  • Add a missing @return description for load_default_textdomain()
  • Clarify the @param description for $locale with an inline @see tag
  • Ensure the correct parameter variable is used when documenting $args for wp_dropdown_languages()

Props camdensegal.
Fixes #30385.

Note: See TracTickets for help on using tickets.