Skip to content

Commit bd142f1

Browse files
committed
Docs standards fixes.
1 parent 38a28a2 commit bd142f1

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/wp-includes/cache-compat.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ function wp_cache_supports( $feature ) {
206206
*
207207
* @since 6.9.0
208208
*
209-
* @param string $cache_key The cache key used for storage and retrieval.
210-
* @param string $group The cache group used for organizing data.
209+
* @param string $cache_key The cache key used for storage and retrieval.
210+
* @param string $group The cache group used for organizing data.
211211
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
212212
* @return mixed|false The cached data if valid, or false if the cache does not exist or is outdated.
213213
*/
@@ -233,12 +233,12 @@ function wp_cache_get_salted( $cache_key, $group, $salt ) {
233233
*
234234
* @since 6.9.0
235235
*
236-
* @param string $cache_key The cache key under which to store the data.
237-
* @param mixed $data The data to be cached.
238-
* @param string $group The cache group to which the data belongs.
236+
* @param string $cache_key The cache key under which to store the data.
237+
* @param mixed $data The data to be cached.
238+
* @param string $group The cache group to which the data belongs.
239239
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
240-
* @param int $expire Optional. When to expire the cache contents, in seconds.
241-
* Default 0 (no expiration).
240+
* @param int $expire Optional. When to expire the cache contents, in seconds.
241+
* Default 0 (no expiration).
242242
*/
243243
function wp_cache_set_salted( $cache_key, $data, $group, $salt, $expire = 0 ) {
244244
$salt = is_array( $salt ) ? implode( ':', $salt ) : $salt;
@@ -260,8 +260,8 @@ function wp_cache_set_salted( $cache_key, $data, $group, $salt, $expire = 0 ) {
260260
*
261261
* @since 6.9.0
262262
*
263-
* @param array $cache_keys Array of cache keys to retrieve.
264-
* @param string $group The group of the cache to check.
263+
* @param array $cache_keys Array of cache keys to retrieve.
264+
* @param string $group The group of the cache to check.
265265
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
266266
* @return array An associative array containing cache values. Values are `false` if they are not found or outdated.
267267
*/
@@ -291,11 +291,11 @@ function wp_cache_get_multiple_salted( $cache_keys, $group, $salt ) {
291291
*
292292
* @since 6.9.0
293293
*
294-
* @param mixed $data Data to be stored in the cache for all keys.
295-
* @param string $group Group to which the cached data belongs.
294+
* @param mixed $data Data to be stored in the cache for all keys.
295+
* @param string $group Group to which the cached data belongs.
296296
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
297-
* @param int $expire Optional. When to expire the cache contents, in seconds.
298-
* Default 0 (no expiration).
297+
* @param int $expire Optional. When to expire the cache contents, in seconds.
298+
* Default 0 (no expiration).
299299
*/
300300
function wp_cache_set_multiple_salted( $data, $group, $salt, $expire = 0 ) {
301301
$salt = is_array( $salt ) ? implode( ':', $salt ) : $salt;

src/wp-includes/class-wp-user-query.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,11 +1046,11 @@ protected function parse_orderby( $orderby ) {
10461046
*
10471047
* @since 6.3.0
10481048
* @since 6.9.0 The `$args` parameter was deprecated and renamed to `$deprecated`.
1049-
*
1049+
*
10501050
* @global wpdb $wpdb WordPress database abstraction object.
10511051
*
1052-
* @param array $deprecated Unused.
1053-
* @param string $sql SQL statement.
1052+
* @param array $deprecated Unused.
1053+
* @param string $sql SQL statement.
10541054
* @return string Cache key.
10551055
*/
10561056
protected function generate_cache_key( array $deprecated, $sql ) {

0 commit comments

Comments
 (0)