Skip to content

Commit 9dd3d1b

Browse files
huzaifaalmesbahwestonrutersabernhardt
authored
Suggestion commit
Co-authored-by: Weston Ruter <[email protected]> Co-authored-by: Stephen A. Bernhardt <[email protected]>
1 parent c57f986 commit 9dd3d1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/wp-includes/class-wp-theme-json-resolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ public static function get_merged_data( $origin = 'custom' ) {
681681
*
682682
* @since 5.9.0
683683
*
684-
* @return int|null
684+
* @return int|null Custom post type ID.
685685
*/
686686
public static function get_user_global_styles_post_id() {
687687
if ( null !== static::$user_custom_post_type_id ) {
@@ -780,7 +780,7 @@ private static function recursively_iterate_json( $dir ) {
780780
*
781781
* @param array $variation Theme.json shaped style variation object.
782782
* @param string $scope Scope to check e.g. theme, block etc.
783-
* @return bool
783+
* @return bool Whether the supplied style variation matches the provided scope.
784784
*/
785785
private static function style_variation_has_scope( $variation, $scope ) {
786786
if ( 'block' === $scope ) {

src/wp-includes/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6625,7 +6625,7 @@ function _wp_timezone_choice_usort_callback( $a, $b ) {
66256625
*
66266626
* @param string $selected_zone Selected timezone.
66276627
* @param string $locale Optional. Locale to load the timezones in. Default current site locale.
6628-
* @return string HTML select element of timezones.
6628+
* @return string HTML select element for timezones.
66296629
*/
66306630
function wp_timezone_choice( $selected_zone, $locale = null ) {
66316631
static $mo_loaded = false, $locale_loaded = null;
@@ -6827,7 +6827,7 @@ function wp_timezone_choice( $selected_zone, $locale = null ) {
68276827
* @see https://core.trac.wordpress.org/ticket/8497
68286828
*
68296829
* @param string $str Header comment to clean up.
6830-
* @return string Cleaned up header comment.
6830+
* @return string Cleaned header comment.
68316831
*/
68326832
function _cleanup_header_comment( $str ) {
68336833
return trim( preg_replace( '/\s*(?:\*\/|\?>).*/', '', $str ) );

0 commit comments

Comments
 (0)