Changeset 51592 for trunk/src/wp-includes/php-compat/readonly.php
- Timestamp:
- 08/10/2021 01:44:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/php-compat/readonly.php
r51586 r51592 16 16 * Outputs the HTML readonly attribute. 17 17 * 18 * Compares the first two arguments and if identical marks as readonly 18 * Compares the first two arguments and if identical marks as readonly. 19 19 * 20 20 * This function is deprecated, and cannot be used on PHP >= 8.1. … … 25 25 * @see wp_readonly() 26 26 * 27 * @param mixed $readonly One of the values to compare 28 * @param mixed $current (true) The other value to compare if not just true 29 * @param bool $echo Whether to echo or just return the string 30 * @return string HTML attribute or empty string 27 * @param mixed $readonly One of the values to compare. 28 * @param mixed $current Optional. The other value to compare if not just true. 29 * Default true. 30 * @param bool $echo Optional. Whether to echo or just return the string. 31 * Default true. 32 * @return string HTML attribute or empty string. 31 33 */ 32 34 function readonly( $readonly, $current = true, $echo = true ) {
Note: See TracChangeset
for help on using the changeset viewer.