[wp-trac] [WordPress Trac] #46481: Empty response if page template return zero
WordPress Trac
noreply at wordpress.org
Wed Mar 13 15:37:52 UTC 2019
#46481: Empty response if page template return zero
--------------------------+-----------------------------
Reporter: pattyland | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello together, for an API that pulls data from WordPress, I created a
page template that outputs a certain number based on the requested
parameters. As long as this number is not equal to zero, everything is
fine. But if the page template should output only "0", the WordPress page
is completely empty. As soon as a space is added, e.g. "0 ", the output
works again.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46481>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list