-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Short description of the issue
After set $config->useMarkupRegions = true in config file, echo(i cannot confirm all functions act like the same) inside _init.php, _func.php and _main.php will print twice if markup region syntax is found inside template. If no markup region syntax found inside template, the echo will not be printed.
Steps to reproduce the issue
- Flesh install PW with default site profile.
- add echo "something" in line FieldtypePage: Selectability of unpublished pages depends on chosen input field class #2 in _main.php or somewhere inside _init.php or _func.php.
- set $config->useMarkupRegions = true inside config.php
- load homepage, no echo is found.
- add markup region syntax like div with pw-append='main' after closing php.
- load homepage, double echo is found.
Setup/Environment
- ProcessWire version: 3.0.57
- (Optional) PHP version: 7.0
Metadata
Metadata
Assignees
Labels
No labels