diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index e992dba9ab..36d0200609 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -2731,9 +2731,9 @@ function sanitize_user_object($user, $context = 'display') { * @deprecated 3.3 * * @param string $title Optional. Link title format. - * @param bool $in_same_cat Optional. Whether link should be in same category. + * @param bool $in_same_cat Optional. Whether link should be in a same category. * @param string $excluded_categories Optional. Excluded categories IDs. - * @param bool $start Optional, default is true. Whether display link to first or last post. + * @param bool $start Optional, default is true. Whether to display link to first or last post. * @return string */ function get_boundary_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '', $start = true) { @@ -2771,7 +2771,7 @@ function get_boundary_post_rel_link($title = '%title', $in_same_cat = false, $ex * @deprecated 3.3 * * @param string $title Optional. Link title format. - * @param bool $in_same_cat Optional. Whether link should be in same category. + * @param bool $in_same_cat Optional. Whether link should be in a same category. * @param string $excluded_categories Optional. Excluded categories IDs. */ function start_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '') { diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 1e0ee13679..d381cf3758 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -842,7 +842,7 @@ function wp_kses_hair($attr, $allowed_protocols) { * Performs different checks for attribute values. * * The currently implemented checks are "maxlen", "minlen", "maxval", "minval" - * and "valueless" with even more checks to come soon. + * and "valueless". * * @since 1.0.0 * @@ -887,7 +887,7 @@ function wp_kses_check_attr_val($value, $vless, $checkname, $checkvalue) { break; case 'minval' : - # The minval check checks that the attribute value is a positive integer, + # The minval check makes sure that the attribute value is a positive integer, # and that it is not smaller than the given value. if (!preg_match('/^\s{0,6}[0-9]{1,6}\s{0,6}$/', $value)) @@ -897,7 +897,7 @@ function wp_kses_check_attr_val($value, $vless, $checkname, $checkvalue) { break; case 'valueless' : - # The valueless check checks if the attribute has a value + # The valueless check makes sure if the attribute has a value # (like ) or not (