[theme-reviewers] Theme check when uploading
Justin Tadlock
justin at justintadlock.com
Wed Oct 22 16:54:29 UTC 2014
I just do a check if the post type exists rather than the function name
myself.
On Wed, Oct 22, 2014 at 11:22 AM, Sami Keijonen <sami.keijonen at foxnet.fi>
wrote:
> Ah, never mind, found it.
>
> https://github.com/samikeijonen/kuorinka/blob/master/functions.php#L63
>
> Is it possible to make the check that it would only check
> *register_post_type*, not *ccp_register_post_types *for example.
>
> I'll remove that function check for now.
>
> On 22 October 2014 19:19, Sami Keijonen <sami.keijonen at foxnet.fi> wrote:
>
>> Hi.
>>
>> I was trying to send new .zip file in .org and theme check gives me
>> register_post_type() message
>>
>>
>> - REQUIRED: The theme uses the *register_post_type()* function, which
>> is plugin-territory functionality.
>>
>> 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?
>>
>> Theme is Kuorinka.
>>
>> - .org: https://wordpress.org/themes/kuorinka
>>
>> - Repo: https://github.com/samikeijonen/kuorinka/
>>
>> - Commits: https://github.com/samikeijonen/kuorinka/commits/master
>> --
>> Sami Keijonen
>> Fox Holding Oy
>> sami.keijonen at foxnet.fi
>> foxnet.fi
>> https://foxland.fi/
>>
>>
>
>
> --
> Sami Keijonen
> Fox Holding Oy
> sami.keijonen at foxnet.fi
> foxnet.fi
> https://foxland.fi/
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20141022/a9efa01b/attachment.html>
More information about the theme-reviewers
mailing list