[wp-trac] [WordPress Trac] #28361: Twenty Ten, Eleven and Twelve: PHP notices due to undefined vars in attachment template
WordPress Trac
noreply at wordpress.org
Sun May 25 22:39:53 UTC 2014
#28361: Twenty Ten, Eleven and Twelve: PHP notices due to undefined vars in
attachment template
---------------------------+--------------------
Reporter: nabil_kadimi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Bundled Theme | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
---------------------------+--------------------
Comment (by nabil_kadimi):
Replying to [comment:3 lancewillett]:
> Thanks for the report. Can you tell us how to repeat, maybe what kind of
attachment you were viewing? Was it an image or something else?
I tried with an image and got these errors.
To reproduce:
- Enable E_NOTICE errors
- Enable Twentyten or Twentytwelve
- Go to the page for an image like http://example.com/?attachment_id=115
(I didn't test with other types)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28361#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list