@@ -1216,6 +1216,11 @@ public function stream_metadata($path, $option, $value)
1216
1216
* Creates a directory.
1217
1217
*
1218
1218
* @see streamWrapper::mkdir
1219
+ *
1220
+ * @param string $path Directory which should be created.
1221
+ * @param int $mode The value passed to mkdir().
1222
+ * @param int $options A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.
1223
+ * @return bool True on success, false on failure.
1219
1224
*/
1220
1225
public function mkdir ($ path , $ mode , $ options )
1221
1226
{
@@ -3568,7 +3573,7 @@ public static function forcingKnownBugs()
3568
3573
{
3569
3574
}
3570
3575
}
3571
- /*
3576
+ /**
3572
3577
* Helper class for testing code that involves actions and filters.
3573
3578
*
3574
3579
* Typical use:
@@ -3725,7 +3730,7 @@ public function __call($name, $arguments)
3725
3730
{
3726
3731
}
3727
3732
}
3728
- /*
3733
+ /**
3729
3734
* A simple manually-instrumented profiler for WordPress.
3730
3735
*
3731
3736
* This records basic execution time, and a summary of the actions and SQL queries run within each block.
@@ -3976,6 +3981,15 @@ function _wp_rest_server_class_filter()
3976
3981
function _unhook_block_registration ()
3977
3982
{
3978
3983
}
3984
+ /**
3985
+ * After the init action has been run once, trying to re-register font collections can cause
3986
+ * errors. To avoid this, unhook the font registration functions.
3987
+ *
3988
+ * @since 6.5.0
3989
+ */
3990
+ function _unhook_font_registration ()
3991
+ {
3992
+ }
3979
3993
/**
3980
3994
* Helper method to return the global phpmailer instance defined in the bootstrap
3981
3995
*
@@ -4741,16 +4755,16 @@ function tests_make_plural_form_function($nplurals, $expression)
4741
4755
* Returns a string of the required length containing random characters. Note that
4742
4756
* the maximum possible string length is 32.
4743
4757
*
4744
- * @param int $len Optional. The required length. Default 32.
4758
+ * @param int $length Optional. The required length. Default 32.
4745
4759
* @return string The string.
4746
4760
*/
4747
- function rand_str ($ len = 32 )
4761
+ function rand_str ($ length = 32 )
4748
4762
{
4749
4763
}
4750
4764
/**
4751
4765
* Returns a string of the required length containing random characters.
4752
4766
*
4753
- * @param int $len The required length.
4767
+ * @param int $length The required length.
4754
4768
* @return string The string.
4755
4769
*/
4756
4770
function rand_long_str ($ length )
0 commit comments