{"id":14723587,"date":"2021-08-01T07:01:58","date_gmt":"2021-08-01T07:01:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-deprecated-code-2\/"},"modified":"2021-08-01T07:01:58","modified_gmt":"2021-08-01T07:01:58","slug":"php-deprecated-code-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-deprecated-code-2\/","title":{"rendered":"PHP deprecated code"},"content":{"rendered":"<p>Hello,<br \/>\nPlease fix the following deprecated code:<\/p>\n<pre><code>FILE: \/wp-content\/plugins\/image-tag-manager\/admin\/core.php\n-----------------------------------------------------------------------------------------\nFOUND 3 ERRORS AFFECTING 3 LINES\n-----------------------------------------------------------------------------------------\n 76 | ERROR | &quot;$this&quot; can no longer be used in a plain function or method since PHP 7.1.\n 80 | ERROR | &quot;$this&quot; can no longer be used in a plain function or method since PHP 7.1.\n 84 | ERROR | &quot;$this&quot; can no longer be used in a plain function or method since PHP 7.1.\n-----------------------------------------------------------------------------------------<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-14723587","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14723587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14723587\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14723587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}