Changeset 56687 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 09/25/2023 09:03:19 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r56635 r56687 1367 1367 if ( current_user_can( 'unfiltered_html' ) ) { 1368 1368 wp_nonce_field( 'unfiltered-html-comment_' . $post_id, '_wp_unfiltered_html_comment_disabled', false ); 1369 echo "<script>(function(){if(window===window.parent){document.getElementById('_wp_unfiltered_html_comment_disabled').name='_wp_unfiltered_html_comment';}})();</script>\n";1369 wp_print_inline_script_tag( "(function(){if(window===window.parent){document.getElementById('_wp_unfiltered_html_comment_disabled').name='_wp_unfiltered_html_comment';}})();" ); 1370 1370 } 1371 1371 }
Note: See TracChangeset
for help on using the changeset viewer.