[theme-reviewers] Theme check when uploading

Sami Keijonen sami.keijonen at foxnet.fi
Wed Oct 22 16:22:43 UTC 2014


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20141022/0f682211/attachment.html>


More information about the theme-reviewers mailing list