{"id":1286,"date":"2016-09-02T11:22:56","date_gmt":"2016-09-02T21:22:56","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=1286"},"modified":"2016-09-02T11:22:56","modified_gmt":"2016-09-02T21:22:56","slug":"wordpress-4-6-crashed-my-site","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/wordpress-4-6-crashed-my-site\/","title":{"rendered":"WordPress 4.6 crashed my site"},"content":{"rendered":"
This error occurs because\u00a0the_post_thumbnail_caption is a new function in WordPress 4.6. \u00a0However, people have been using this\u00a0function for over 5 years now. \u00a0How? \u00a0Stackoverflow and other WordPress forums are flooded with questions asking how they can print out the thumbnail caption. \u00a0Since this wasn’t a built-in function before,\u00a0the answer was to make your own function which was appropriately named the_post_thumbnail_caption.<\/p>\n
Many theme authors, myself included, are now guilty of simply copy-pasting this function without adding their own theme prefix. \u00a0To avoid errors like this,\u00a0functions within a theme should be prefixed with something unique to the theme like “mymonkeytheme_the_post_thumbnail_caption”.<\/p>\n
If you have this error, contact your theme author and ask them to fix the theme.<\/p>\n
<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[2],"tags":[18,64],"yoast_head":"\n