<div dir="ltr">I just do a check if the post type exists rather than the function name myself.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 22, 2014 at 11:22 AM, Sami Keijonen <span dir="ltr"><<a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ah, never mind, found it.<div><br></div><div><a href="https://github.com/samikeijonen/kuorinka/blob/master/functions.php#L63" target="_blank">https://github.com/samikeijonen/kuorinka/blob/master/functions.php#L63</a><br></div><div><br></div><div>Is it possible to make the check that it would only check <i>register_post_type</i>, not <i>ccp_register_post_types </i>for example. </div><div><br></div><div>I'll remove that function check for now.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 22 October 2014 19:19, Sami Keijonen <span dir="ltr"><<a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi.</div><div><br></div><div>I was trying to send new .zip file in .org and theme check gives me register_post_type() message</div><div><br></div><ul style="margin:0px 0px 22px 16px;padding:0px;list-style:square;color:rgb(68,68,68);font-family:sans-serif;font-size:12.8000001907349px;line-height:22px"><li style="margin:0px;padding:0px"><span style="color:red">REQUIRED</span>: The theme uses the <strong>register_post_type()</strong> function, which is plugin-territory functionality.</li></ul><div><font color="#444444" face="sans-serif"><span style="line-height:22px">I would not register custom post type in a theme. The same message comes from Theme Check Plugin. Any idea why this message is coming?</span></font></div><div><font color="#444444" face="sans-serif"><span style="line-height:22px"><br></span></font></div><div><font color="#444444" face="sans-serif"><span style="line-height:22px">Theme is Kuorinka.</span></font></div><div><font color="#444444" face="sans-serif"><span style="line-height:22px"><br></span></font></div><div><font color="#444444" face="sans-serif"><span style="line-height:22px">- .org: <a href="https://wordpress.org/themes/kuorinka" target="_blank">https://wordpress.org/themes/kuorinka</a></span></font></div><div><font color="#444444" face="sans-serif"><span style="line-height:22px"><br></span></font></div><div>- Repo: <a href="https://github.com/samikeijonen/kuorinka/" target="_blank">https://github.com/samikeijonen/kuorinka/</a></div><div><br></div><div>- Commits: <a href="https://github.com/samikeijonen/kuorinka/commits/master" target="_blank">https://github.com/samikeijonen/kuorinka/commits/master</a></div><span><font color="#888888">-- <br><div dir="ltr">Sami Keijonen<br>Fox Holding Oy<br><a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a><br><a href="http://foxnet.fi" target="_blank">foxnet.fi</a><div><a href="https://foxland.fi/" target="_blank">https://foxland.fi/</a><br><div><br></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Sami Keijonen<br>Fox Holding Oy<br><a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a><br><a href="http://foxnet.fi" target="_blank">foxnet.fi</a><div><a href="https://foxland.fi/" target="_blank">https://foxland.fi/</a><br><div><br></div></div></div>
</div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>