{"id":6286496,"date":"2015-07-01T12:39:30","date_gmt":"2015-07-01T12:39:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/bug-on-multiple-include\/"},"modified":"2016-08-30T15:02:20","modified_gmt":"2016-08-30T15:02:20","slug":"bug-on-multiple-include","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/bug-on-multiple-include\/","title":{"rendered":"Bug on multiple include"},"content":{"rendered":"<p>Hello, I have the case where I have to do multiple include, such as :<\/p>\n<pre><code>Page A: [include page B]\nPage B: [include page C]\nPage C: [include page D]\n...<\/code><\/pre>\n<p>I had a bug with displaying the title of the &#8220;next page&#8217;s&#8221; title, it was always displaying the &#8220;Page A&#8221; title.<\/p>\n<p>to fix it, I replaced around line 107<br \/>\n<code>get_the_title()<\/code><br \/>\nby<br \/>\n<code>get_the_title($id)<\/code><\/p>\n<p>Everything else is working fine, thank you<\/p>\n<p>https:\/\/wordpress.org\/plugins\/include\/<\/p>\n","protected":false},"template":"","class_list":["post-6286496","topic","type-topic","status-closed","hentry","topic-tag-title"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6286496","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\/6286496\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6286496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}