File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -583,9 +583,13 @@ public function render( $options = array() ) {
583583class PrivateProcessor extends WP_HTML_Processor {
584584
585585 /**
586- * @param string $html
586+ * Set the inner HTML of the currrent node.
587587 *
588- * @return bool
588+ * @todo This method needs to check if the inner HTML can leak out of the current node.
589+ *
590+ * @param string $html The inner HTML to set.
591+ *
592+ * @return bool True if the inner HTML was set, false otherwise.
589593 */
590594 public function set_inner_html ( string $ html ): bool {
591595 if ( $ this ->is_virtual () ) {
@@ -659,6 +663,7 @@ public function set_inner_html( string $html ): bool {
659663
660664 /**
661665 * @todo check for self-closing foreign content tags
666+ * @todo document
662667 */
663668 public function proceed_to_matching_closer (): bool {
664669 $ tag_name = $ this ->get_tag ();
You can’t perform that action at this time.
0 commit comments