[wp-trac] [WordPress Trac] #47824: get_the_content() still causes a PHP warning outside of the loop

WordPress Trac noreply at wordpress.org
Tue May 5 19:19:12 UTC 2020


#47824: get_the_content() still causes a PHP warning outside of the loop
--------------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)                    |      Status:  reopened
 Priority:  normal                          |   Milestone:  5.5
Component:  Posts, Post Types               |     Version:  5.2
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch has-unit-tests early  |     Focuses:
--------------------------------------------+-----------------------------
Changes (by davidbaumwald):

 * keywords:  has-patch has-unit-tests needs-refresh early => has-patch has-
     unit-tests early


Comment:

 Latest patch applies cleanly and seems to be a suitable fix.  Removing
 `needs-refresh`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47824#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list