[wp-trac] [WordPress Trac] #41933: Undefined offset -1 in $pages array when post without pages is requested

WordPress Trac noreply at wordpress.org
Wed Jul 18 21:52:50 UTC 2018


#41933: Undefined offset -1 in $pages array when post without pages is requested
--------------------------+------------------------------
 Reporter:  ComputerGuru  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.8.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by birgire):

 Hi @ComputerGuru

 It's always risky to trust global variables, as plugins and themes can
 override it.

 Can we reproduce this notice on a vanilla install (default theme and no
 installed plugins) ?

 What steps should we take to reproduce it?

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


More information about the wp-trac mailing list