@@ -114,8 +114,8 @@ function get_option( $option, $default = false ) {
114114 *
115115 * The dynamic portion of the hook name, `$option`, refers to the option name.
116116 *
117- * Returning a truthy value from the filter will effectively short-circuit retrieval
118- * and return the passed value instead.
117+ * Returning a value other than false from the filter will short-circuit retrieval
118+ * and return that value instead.
119119 *
120120 * @since 1.5.0
121121 * @since 4.4.0 The `$option` parameter was added.
@@ -832,8 +832,8 @@ function get_transient( $transient ) {
832832 *
833833 * The dynamic portion of the hook name, `$transient`, refers to the transient name.
834834 *
835- * Returning a truthy value from the filter will effectively short-circuit retrieval
836- * and return the passed value instead.
835+ * Returning a value other than false from the filter will short-circuit retrieval
836+ * and return that value instead.
837837 *
838838 * @since 2.8.0
839839 * @since 4.4.0 The `$transient` parameter was added
@@ -1004,6 +1004,8 @@ function set_transient( $transient, $value, $expiration = 0 ) {
10041004/**
10051005 * Deletes all expired transients.
10061006 *
1007+ * Note that this function won't do anything if an external object cache is in use.
1008+ *
10071009 * The multi-table delete syntax is used to delete the transient record
10081010 * from table a, and the corresponding transient_timeout record from table b.
10091011 *
@@ -1132,9 +1134,9 @@ function get_user_setting( $name, $default = false ) {
11321134/**
11331135 * Adds or updates user interface setting.
11341136 *
1135- * Both $name and $value can contain only ASCII letters, numbers, hyphens, and underscores.
1137+ * Both ` $name` and ` $value` can contain only ASCII letters, numbers, hyphens, and underscores.
11361138 *
1137- * This function has to be used before any output has started as it calls setcookie().
1139+ * This function has to be used before any output has started as it calls ` setcookie()` .
11381140 *
11391141 * @since 2.8.0
11401142 *
@@ -1159,7 +1161,7 @@ function set_user_setting( $name, $value ) {
11591161 *
11601162 * Deleting settings would reset them to the defaults.
11611163 *
1162- * This function has to be used before any output has started as it calls setcookie().
1164+ * This function has to be used before any output has started as it calls ` setcookie()` .
11631165 *
11641166 * @since 2.7.0
11651167 *
@@ -1389,8 +1391,8 @@ function get_network_option( $network_id, $option, $default = false ) {
13891391 *
13901392 * The dynamic portion of the hook name, `$option`, refers to the option name.
13911393 *
1392- * Returning a truthy value from the filter will effectively short-circuit retrieval
1393- * and return the passed value instead.
1394+ * Returning a value other than false from the filter will short-circuit retrieval
1395+ * and return that value instead.
13941396 *
13951397 * @since 2.9.0 As 'pre_site_option_' . $key
13961398 * @since 3.0.0
@@ -1420,7 +1422,7 @@ function get_network_option( $network_id, $option, $default = false ) {
14201422 if ( is_array ( $ notoptions ) && isset ( $ notoptions [ $ option ] ) ) {
14211423
14221424 /**
1423- * Filters a specific default network option.
1425+ * Filters the value of a specific default network option.
14241426 *
14251427 * The dynamic portion of the hook name, `$option`, refers to the option name.
14261428 *
0 commit comments