-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Questions to signup template #4055
Comments
@Jimmi08 On new themes you can remove The intended behavior is that old themes/templates that use only Ideally, |
@CaMer0n problem is in signup.php, not in templates
After changing it to: Those new array templates are not used at all, after loading templates there is missing something like And this: |
Thank you @Jimmi08 !! Would you like to make the above changes and submit a pull-request? |
@CaMer0n can I change the test of defined in signup template to empty? (isset is not enough, it could be empty string) |
#4055 signup template correct implementation of GDPR shortcode
why is used defined and not isset() for variables? (empty is better choise in fact)
if(!defined($SIGNUP_BEGIN))
at the end of template is correct template array used:
but inside signup.php are variables used:
$text = $tp->parseTemplate($SIGNUP_BEGIN.$SIGNUP_BODY.$SIGNUP_END, TRUE, $signup_shortcodes);
Couldn't be they changed to new array?
Why do I ask? Thank require_once there is the way how to extend template with another plugin. But it fails with signup page because those variables are hardcoded at the beginning of the file:
Thanks
The text was updated successfully, but these errors were encountered: