-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme Check Refuse All Shortcode #84
Comments
I'd like to remove them all. Theme Check shouldn't be blocking all shortcodes though. I'll see if I can get in touch with the TRT about this because this is not something that the team has agreed to do. Right now, Slack is once again down for me and we no longer have the mailing list. It's kind of tough to communicate. |
actually, after thinking about it. you are right. it's easier for both HC user and TRT. |
But it should still be fixed. Removing shortcodes is not always possible. For example, Cakifo is still using |
|
How so? |
There is nothing to use there anymore, so if you want to update to current Core version you'll have to refactor it away anyway. |
Cakifo most likely won't be updated so that's not a problem. |
Then I am not following why is removing shortcodes from Core an issue for you? If you refer to general shortcodes situation context with TRT this probably isn't the best place for it. :) |
Oh, I meant that the Theme uploader should be fixed, not HC as answer to @turtlepod "it's better to just remove the shortcodes from HC." Sorry for the confusion |
Removing shortcodes from HC is something I want to do long term. I just noted it above. This issue should definitely be fixed in Theme Check. I've reported it, but I and the other TRT admins aren't in control of it. So, we'll have to wait and see. |
We discussed this for a moment in #themereview on Slack. The tentative decision is to ban all shortcodes, which I'm supportive of. However, there will be time for discussion on this on the Make Themes blog. As of right now, my plan is to remove all remaining shortcodes regardless of the final decision. |
What about overriding the core shortcodes like Gallery? Which your extension Cleaner Gallery overrides it, will it be not allowed as well? (In theme)? |
Filtering the gallery hook is different and allowed. Closing this ticket since shortcodes are now gone in the latest on the 2.0 branch. |
Just Info, I update a theme to wp.org and the result:
https://dl.dropboxusercontent.com/u/32880842/etc2/shortcode-reject.png
I remove shortcodes.php from HC and it's accepted.
So we no longer able to add any shortcode in theme (even for non-content shortcodes).
(it's frustrating, the same with
wp_title()
stuff.)The text was updated successfully, but these errors were encountered: