[wp-trac] [WordPress Trac] #42573: Templates not working properly

WordPress Trac noreply at wordpress.org
Sat Nov 25 14:15:07 UTC 2017


#42573: Templates not working properly
--------------------------+-----------------------
 Reporter:  precies       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  high          |   Milestone:  4.9.1
Component:  Themes        |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------

Comment (by BackuPs):

 I have been banging my head on this for hours. I deleted a file in my
 template as it was no longer needed because of changes in woocommerce and
 i got a warning message that the file was missing

 file_get_contents(/var/docs/website.tst/public/wp-content/themes/mytheme
 /single-product/product-image.php): failed to open stream:

 Thanks for this ! The fix on github works fine.
 https://gist.github.com/westonruter/6c2ca0e5a4da233bf4bd88a1871dd950

 Is this gonna be fixed in 4.9.1 or do we need to keep on adding that
 function?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42573#comment:87>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list