wpseek / wpseek-web

This repository is currently only used for issue tracking for wpseek.com
https://wpseek.com/
1 stars 0 forks source link

Mark functions as private or public in the api. #1

Closed olach closed 10 years ago

olach commented 10 years ago

Would be great if the api marked functions as public or private.

oliverschloebe commented 10 years ago

By functions you mean class methods? Or internal functions?

olach commented 10 years ago

I mean that all functions that mostly apply to the core WordPress code should be marked as private (or internal). Functions that not should be used in a custom plugin or a theme.

The rest of the functions that normally will be used in plugins or themes could be marked as public.

oliverschloebe commented 10 years ago

Added: http://wpseek.com/_add_post_type_submenus/?nocache

Will be staging to Live soon.

olach commented 10 years ago

Are you going to implement this to your api as well?

No information here yet: http://api.wpseek.com/?method=wordpress.getfunction&s=_add_post_type_submenus

oliverschloebe commented 10 years ago

Added. It's up to the dev how to use the 'access' or 'deprecated' info in their web app to display alerts or whatever.

olach commented 10 years ago

Thanks!