{"id":431,"date":"2010-06-19T13:22:38","date_gmt":"2010-06-19T18:22:38","guid":{"rendered":"http:\/\/www.patrioticfederalist.com\/Wordpress\/?p=431"},"modified":"2010-08-31T12:20:49","modified_gmt":"2010-08-31T17:20:49","slug":"wordpress-3-0-images-disappear-after-upgrade","status":"publish","type":"post","link":"http:\/\/patrioticfederalist.com\/wp\/?p=431","title":{"rendered":"WordPress 3.0 images disappear after upgrade"},"content":{"rendered":"<p>I updated WordPress on here to version 3.0 and all my internal images disappeared from the posts.\u00a0 After a painful search I figured out WordPress was <a href=\"http:\/\/en.wikipedia.org\/wiki\/CamelCase\" target=\"_blank\">camel-casing<\/a> &#8220;Word<strong>p<\/strong>ress&#8221; to &#8220;Word<strong>P<\/strong>ress.&#8221; So my WordPress was installed by my hosting service as Word<strong>p<\/strong>ress NOT Word<strong>P<\/strong>ress. So all pictures were now stored in a directory that WordPress couldn&#8217;t see.\u00a0 Changing the upload location with the Admin, Misc area didn&#8217;t work either.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" title=\"camelcase\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/e\/ef\/CamelCase.svg\/250px-CamelCase.svg.png\" alt=\"\" width=\"250\" height=\"207\" \/><\/p>\n<p>Well anyway, on to fixing this.\u00a0 This bug (yes its a bug in case some idiot thinks this was helpful) is known and being address by the good folks that work on WordPress or should I say WordPress. \u00a0\u00a0 Should be fixed by their next update. In the mean time, there is a plug-in which disables camel-casing in WordPress.\u00a0 In the Admin section, add new plug-in and search for<\/p>\n<p>&#8220;remove-wordpress-to-wordpress-filter&#8221; then install. Or go here to FTP it. <a title=\"WPfix\" href=\"http:\/\/wordpress.org\/extend\/plugins\/remove-wordpress-to-wordpress-filter\/\" target=\"_blank\">http:\/\/wordpress.org\/extend\/plugins\/remove-wordpress-to-wordpress-filter\/<\/a><\/p>\n<p>This should restore your images once active.<\/p>\n<p>Another possible solution is getting rid of the\u00a0 &#8220;capital_P_dangit&#8221; function. Add this code to your functions.php file.<\/p>\n<pre>remove_filter('the_content','capital_P_dangit');\r\nremove_filter('the_title','capital_P_dangit');\r\nremove_filter('comment_text','capital_P_dangit');<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I updated WordPress on here to version 3.0 and all my internal images disappeared from the posts.\u00a0 After a painful search I figured out WordPress was camel-casing &#8220;Wordpress&#8221; to &#8220;WordPress.&#8221; So my WordPress was installed by my hosting service as Wordpress NOT WordPress. So all pictures were now stored in a directory that WordPress couldn&#8217;t &#8230; <a title=\"WordPress 3.0 images disappear after upgrade\" class=\"read-more\" href=\"http:\/\/patrioticfederalist.com\/wp\/?p=431\" aria-label=\"Read more about WordPress 3.0 images disappear after upgrade\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54,55],"tags":[133,135,134,137,136],"class_list":["post-431","post","type-post","status-publish","format-standard","hentry","category-computers-technology","category-wordpress","tag-wordpress-3-0-images-disappear","tag-wordpress-camel-case","tag-wordpress-camelcase","tag-wordpress-images-not-appearing","tag-wordpress-pictures-gone"],"_links":{"self":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=431"}],"version-history":[{"count":4,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":433,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions\/433"}],"wp:attachment":[{"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/patrioticfederalist.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}