Make WordPress Core

Opened 5 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#61416 closed defect (bug) (fixed)

Improper DocBlock format for filter `pre_get_language_files_from_path` hook

Reported by: khokansardar's profile khokansardar Owned by: swissspidy's profile swissspidy
Milestone: 6.7 Priority: normal
Severity: minor Version: 6.5
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

In changeset https://core.trac.wordpress.org/changeset/57287 for new filter named pre_get_language_files_from_path in WP_Textdomain_Registry hook docblock has misalignment @params and ended with **/.

                 *
		 * @since 6.5.0
		 *
		 * @param null|array $files List of translation files. Default null.
		 * @param string $path The path from which translation files are being fetched.
		 **/

DocBlock structure should follow same consistency with wordpress standards. Its should be as below -

                 *
		 * @since 6.5.0
		 *
		 * @param null|array $files List of translation files. Default null.
		 * @param string     $path  The path from which translation files are being fetched.
		 */

Change History (7)

This ticket was mentioned in PR #6788 on WordPress/wordpress-develop by @khokansardar.


5 weeks ago
#1

  • Keywords has-patch added

Trac ticket: #61416

#2 @swissspidy
5 weeks ago

  • Owner set to swissspidy
  • Status changed from new to reviewing

@khokansardar commented on PR #6788:


3 weeks ago
#3

@swissspidy Will you review these changes please?

@swissspidy commented on PR #6788:


3 weeks ago
#4

Apologies, lost track of it!

#5 @swissspidy
3 weeks ago

  • Milestone changed from Awaiting Review to 6.7
  • Severity changed from normal to minor

#6 @swissspidy
3 weeks ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 58591:

Docs: Fix docblock alignment for pre_get_language_files_from_path filter.

Props khokansardar.
Fixes #61416.

Note: See TracTickets for help on using tickets.