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

Update functions.js #87

Merged
merged 4 commits into from
Oct 9, 2019
Merged

Update functions.js #87

merged 4 commits into from
Oct 9, 2019

Conversation

asidirop
Copy link
Contributor

@asidirop asidirop commented Oct 4, 2019

Disable the multilingual library (temporarily)

Disable the multilingual  library (temporarily)
@apavlidi apavlidi self-requested a review October 8, 2019 07:32
Copy link
Owner

@apavlidi apavlidi left a comment

Choose a reason for hiding this comment

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

Please remove any commended code. Commends on this case provide no value so they should be deleted.

@asidirop
Copy link
Contributor Author

asidirop commented Oct 8, 2019

We need to keep the code.
It will be re-enabled when the site becomes multilingual again.

@asidirop
Copy link
Contributor Author

asidirop commented Oct 8, 2019

Otherwise, we need an option for the wordpress site "is_multilingual". (This is better)

@apavlidi
Copy link
Owner

apavlidi commented Oct 8, 2019

Version control systems is for that reason, git helps keep track of old changes without commending code in the codebase for historical reasons.

Multilanguage is a great feature that`s been on "issues" section here #7

Add option for multilingual wordpress site.
Take into account the config option for wordpress
@@ -49,6 +49,7 @@ const OWASP_CONFIG = {

const WORDPRESS_CREDENTIALS = {
url: 'https://www.iee.ihu.gr',
is_multilingual: false,
Copy link
Owner

Choose a reason for hiding this comment

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

The code style convection we follow is camel cased, so please try follow this for consistency.
In this case "is_multilingual" shloud be "isMultilingual"

Copy link
Owner

@apavlidi apavlidi left a comment

Choose a reason for hiding this comment

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

Please try following the code style for naming variables, functions etc.
Other than that, the PR looks fine.

@apavlidi apavlidi merged commit b6a8951 into apavlidi:master Oct 9, 2019
@asidirop
Copy link
Contributor Author

Do whatever changes on code you wish!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants