Skip to content

Commit 3feaf8b

Browse files
committed
Document that null may be passed to wxr_cdata() in practice
1 parent 5d3398c commit 3feaf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/export.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function export_wp( $args = array() ) {
239239
*
240240
* @since 2.1.0
241241
*
242-
* @param string $str String to wrap in XML CDATA tag.
242+
* @param string|null $str String to wrap in XML CDATA tag. May be null.
243243
* @return string
244244
*/
245245
function wxr_cdata( $str ) {

0 commit comments

Comments
 (0)