Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update private method comment
  • Loading branch information
SantosGuillamot committed Jul 1, 2024
commit 1c4ac7278d9fe57a65d7af4322681e720fb1af1a
8 changes: 4 additions & 4 deletions src/wp-includes/class-wp-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,11 +339,11 @@ private function replace_html( string $block_content, string $attribute_name, $s
/**
* Replace the inner content of a figcaption element with the passed content.
*
* THIS IS A TEMPORARY SOLUTION IN CORE NOT TO BE EMULATED.
* IT IS A TEMPORARY SOLUTION THAT JUST WORKS FOR THIS SPECIFIC
* USE CASE UNTIL THE HTML PROCESSOR PROVIDES ITS OWN METHOD.
* DO NOT COPY THIS METHOD.
* THE HTML PROCESSOR WILL HAVE A PROPER METHOD.
* USE IT INSTEAD.
*
* @since 6.6.0
* @since 6.7.0
*
* @param string $new_content New content to insert in the figcaption element.
* @return bool Whether the inner content was properly replaced.
Expand Down