Skip to content

Commit 1c4ac72

Browse files
Update private method comment
1 parent 88df640 commit 1c4ac72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wp-includes/class-wp-block.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,11 @@ private function replace_html( string $block_content, string $attribute_name, $s
339339
/**
340340
* Replace the inner content of a figcaption element with the passed content.
341341
*
342-
* THIS IS A TEMPORARY SOLUTION IN CORE NOT TO BE EMULATED.
343-
* IT IS A TEMPORARY SOLUTION THAT JUST WORKS FOR THIS SPECIFIC
344-
* USE CASE UNTIL THE HTML PROCESSOR PROVIDES ITS OWN METHOD.
342+
* DO NOT COPY THIS METHOD.
343+
* THE HTML PROCESSOR WILL HAVE A PROPER METHOD.
344+
* USE IT INSTEAD.
345345
*
346-
* @since 6.6.0
346+
* @since 6.7.0
347347
*
348348
* @param string $new_content New content to insert in the figcaption element.
349349
* @return bool Whether the inner content was properly replaced.

0 commit comments

Comments
 (0)