WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#30385 closed defect (bug) (fixed)

Improve inline docs for wp-includes/l10n.php

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

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 6 years ago.
wp-includes/l10n.php inline doc improvements.

Download all attachments as: .zip

Change History (4)

@camdensegal
6 years ago

wp-includes/l10n.php inline doc improvements.

#1 @kpdesign
6 years ago

  • Keywords has-patch added

#2 @DrewAPicture
6 years ago

  • Milestone changed from Awaiting Review to 4.1

#3 @DrewAPicture
6 years ago

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

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.