[wp-meta] [Making WordPress.org] #6591: Add Note or Feedback comment Add/Editor not working
Making WordPress.org
noreply at wordpress.org
Wed Nov 23 13:55:50 UTC 2022
#6591: Add Note or Feedback comment Add/Editor not working
--------------------------------+-----------------------------
Reporter: mayur8991 | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone:
Component: WordPress.org Site | Keywords: has-screenshots
--------------------------------+-----------------------------
Go to Any function of wordpress
For Ex :
https://developer.wordpress.org/reference/functions/wp_get_attachment_url/
Try to Add comment which having some php code
for test i'm trying to add
Ex :
<?php
$media = get_attached_media('image', $post->ID);
foreach($media as $post_images) { ?>
<img src="<?php echo esc_url(wp_get_attachment_url( $post_images->ID
)); ?>" />
<?php } ?>
After adding above code switch to preview and it display completely wrong
code
i have tried with inbuilt [php] & [code] none works
Check the screenshot attached
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6591>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list