Changeset 53635
- Timestamp:
- 07/02/2022 06:27:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/functions.php
r53634 r53635 153 153 * Handles the WP die handler by outputting the given values as text. 154 154 * 155 * @since UT (3.7.0) 156 * @since 6.1.0 The `$message` parameter can accept a `WP_Error` object. 157 * 155 158 * @param string|WP_Error $message Error message or WP_Error object. 156 159 * @param string $title Error title. … … 167 170 /** 168 171 * Disables the WP die handler. 172 * 173 * @since UT (3.7.0) 169 174 */ 170 175 function _disable_wp_die() { … … 174 179 /** 175 180 * Enables the WP die handler. 181 * 182 * @since UT (3.7.0) 176 183 */ 177 184 function _enable_wp_die() { … … 182 189 * Returns the die handler. 183 190 * 191 * @since UT (3.7.0) 192 * 184 193 * @return string The die handler. 185 194 */ … … 191 200 * Returns the die handler. 192 201 * 202 * @since 4.9.0 203 * 193 204 * @return string The die handler. 194 205 */ … … 199 210 /** 200 211 * Dies without an exit. 212 * 213 * @since 4.0.0 214 * @since 6.1.0 The `$message` parameter can accept a `WP_Error` object. 201 215 * 202 216 * @param string|WP_Error $message Error message or WP_Error object. … … 228 242 /** 229 243 * Dies with an exit. 244 * 245 * @since 4.9.0 246 * @since 6.1.0 The `$message` parameter can accept a `WP_Error` object. 230 247 * 231 248 * @param string|WP_Error $message Error message or WP_Error object.
Note: See TracChangeset
for help on using the changeset viewer.