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

WordPress Trac noreply at wordpress.org
Sun Nov 18 13:47:42 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.1
Component:  Posts, Post Types  |     Version:  4.5
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------

Comment (by Asphar):

 Hi everyone,

 I'm a WordPress user and I have been watching this thread since July 2,
 2018, when this warning first appeared on one of the websites I admin.

 Since I am not a "real" developer, I was reluctant to touch WordPress core
 files, thinking that might somehow mess up automatic updates in the
 future... So as this thread said that there was already a patch for this
 problem and it was planned as a milestone for the next release, I thought
 I'd just wait. But it was pushed back and further back again, from being
 planned to be fixed in WordPress 4.5 to currently planned to get fixed in
 WordPress 5.1, if I understand this correctly...?

 Today I just looked at the 42814.patch file provided by Shital Patel and
 deleted and added the corresponding lines by hand to post-template.php,
 because I don't know how else to apply this - SVN I presume? As I said,
 I'm not a real developer. Anyway, that worked, thank you, Shital!

 Just wanted to give my feedback, that from a user's point of view, I don't
 really understand why this fix is being pushed back again and again. This
 thread is 12 months old now. There are users out there that are seeing
 this annoying warning message and their only option is to edit core
 WordPress files by hand, quite likely not knowing what they are doing... I
 really don't understand why a bug known for a year with a working patch is
 not commited to the production version...

 Cheers,
 André

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


More information about the wp-trac mailing list