Opened 10 months ago
Last modified 10 months ago
#60418 new defect (bug)
Unwanted commented code
Reported by: | asgmehra | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.4.3 |
Component: | General | Keywords: | has-screenshots needs-testing-info |
Focuses: | ui, javascript, css, administration, template | Cc: |
Description
There are unwanted PHP commented code line showing when I update the wordpress theme. Test case: I have commented html code with PHP comment syntax in theme's functions.php file and then I start the theme to update on the "Updates" page. But when theme is updated, that commented code showing at top (Screenshot attached). I don't know it is a bug or not.
Attachments (1)
Change History (4)
This ticket was mentioned in Slack in #core-test by ankit-k-gupta. View the logs.
10 months ago
#3
@
10 months ago
- Focuses administration added
- Keywords needs-testing-info added
Hi @asgmehra,
Could you please check the same by deactivating all the plugins and see if the error still persists at your end? Also, if you can share the test environment details then it would be helpful us to further investigate the issue.
Thanks
Note: See
TracTickets for help on using
tickets.
Hi asgmehra,
What plugins and theme are you using? I think this issue may be caused by custom code or a 3rd party plugin.
Could you please confirm that the issue occurs with only the WooCommerce plugin enabled and a core theme active?
If modifying a theme it's best to use a child-theme rather than updating the theme directly; because future updates to the theme could override your edits.