Skip to content
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

Check for Hardcoded Urls #28

Closed
wants to merge 2 commits into from
Closed

Check for Hardcoded Urls #28

wants to merge 2 commits into from

Conversation

khacoder
Copy link
Contributor

This pull request looks at detecting hard coded urls in theme files.

close #14

<!-- No PHP short open tags allowed. -->
<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/phpshort.php -->
<rule ref="Generic.PHP.DisallowShortOpenTag" />


<rule ref="WordPress-Theme" />
Copy link
Member

@grappler grappler Jul 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you leave this out for the moment as it will make it easier to merge in the future as it may be added in another PR before hand?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jrf walked me through this and included it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine. Listen to @jrfnl. She's the Boss! :P

@grappler grappler force-pushed the feature/theme-review-sniffs branch 2 times, most recently from 563cd1d to 6671823 Compare September 27, 2016 12:28
khacoder added 2 commits October 14, 2016 11:21
Added exemption for theme and author urls by using the WordPress_AbstractThemeSniff class.
@grappler
Copy link
Member

grappler commented Jan 18, 2017

PR is not ready to be merged as we wish to add theme and author URLS to the whitelist. related #101

@jrfnl
Copy link

jrfnl commented May 31, 2018

Closing for now, we may revisit this in another form in the future.

@jrfnl jrfnl closed this May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants