[wp-trac] [WordPress Trac] #42814: PHP 7.2 Warning: ...wp-includes/post-template.php on line 284

WordPress Trac noreply at wordpress.org
Thu Feb 21 09:37:11 UTC 2019


#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.2
Component:  Posts, Post Types                    |     Version:  4.5
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch 2nd-opinion   |     Focuses:
  php73 needs-refresh needs-unit-tests           |
-------------------------------------------------+-------------------------

Comment (by DrLightman):

 My personal no-core """fixes""" have been:

 1 - make sure a post as an explicit excerpt

 2 - doing a {{{remove_filter( 'get_the_excerpt', 'wp_trim_excerpt' );}}}
 in theme's functions.php or a custom plugin to stop the automatic
 excerpt's generation for posts without an explicit excerpt.

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


More information about the wp-trac mailing list