[wp-trac] [WordPress Trac] #42814: PHP 7.2 Warning: ...wp-includes/post-template.php on line 284
WordPress Trac
noreply at wordpress.org
Mon Dec 3 10:42:55 UTC 2018
#42814: PHP 7.2 Warning: ...wp-includes/post-template.php on line 284
-------------------------------------------------+-------------------------
Reporter: internetwerk | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.0.1
Component: Posts, Post Types | Version: 4.5
Severity: normal | Resolution:
Keywords: dev-feedback has-patch 2nd-opinion | Focuses:
needs-testing php73 |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
@spacedmonkey I don't think it's impossible to use `get_the_content()`.
Last time I worked on a patch there I felt it was really close. Also quite
a change, but perhaps not as big as not using `get_the_content()` at all
anymore.
Since both #36934 and this one are about the same issue, perhaps we can
close this one as a duplicate? Alternatively, we could run with
[attachment:"42814.2.diff"] as a temporary fix and then continue working
on getting rid of the globals in #36934
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42814#comment:72>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list