Skip to content

Commit e0c37a6

Browse files
committed
Docs: Use third-person singular verbs for function descriptions in wp-includes/class-wp-locale.php.
Follow-up to [52929]. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@52930 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a37a720 commit e0c37a6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/wp-includes/class-wp-locale.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public function init() {
231231
}
232232

233233
/**
234-
* Retrieve the full translated weekday word.
234+
* Retrieves the full translated weekday word.
235235
*
236236
* Week starts on translated Sunday and can be fetched
237237
* by using 0 (zero). So the week starts with 0 (zero)
@@ -247,7 +247,7 @@ public function get_weekday( $weekday_number ) {
247247
}
248248

249249
/**
250-
* Retrieve the translated weekday initial.
250+
* Retrieves the translated weekday initial.
251251
*
252252
* The weekday initial is retrieved by the translated
253253
* full weekday word. When translating the weekday initial
@@ -264,7 +264,7 @@ public function get_weekday_initial( $weekday_name ) {
264264
}
265265

266266
/**
267-
* Retrieve the translated weekday abbreviation.
267+
* Retrieves the translated weekday abbreviation.
268268
*
269269
* The weekday abbreviation is retrieved by the translated
270270
* full weekday word.
@@ -279,7 +279,7 @@ public function get_weekday_abbrev( $weekday_name ) {
279279
}
280280

281281
/**
282-
* Retrieve the full translated month by month number.
282+
* Retrieves the full translated month by month number.
283283
*
284284
* The $month_number parameter has to be a string
285285
* because it must have the '0' in front of any number
@@ -299,7 +299,7 @@ public function get_month( $month_number ) {
299299
}
300300

301301
/**
302-
* Retrieve translated version of month abbreviation string.
302+
* Retrieves translated version of month abbreviation string.
303303
*
304304
* The $month_name parameter is expected to be the translated or
305305
* translatable version of the month.
@@ -314,7 +314,7 @@ public function get_month_abbrev( $month_name ) {
314314
}
315315

316316
/**
317-
* Retrieve translated version of meridiem string.
317+
* Retrieves translated version of meridiem string.
318318
*
319319
* The $meridiem parameter is expected to not be translated.
320320
*
@@ -361,7 +361,7 @@ public function is_rtl() {
361361
}
362362

363363
/**
364-
* Register date/time format strings for general POT.
364+
* Registers date/time format strings for general POT.
365365
*
366366
* Private, unused method to add some date/time formats translated
367367
* on wp-admin/options-general.php to the general POT that would
@@ -379,7 +379,7 @@ public function _strings_for_pot() {
379379
}
380380

381381
/**
382-
* Retrieve the localized list item separator.
382+
* Retrieves the localized list item separator.
383383
*
384384
* @since 6.0.0
385385
*

0 commit comments

Comments
 (0)