[wp-trac] [WordPress Trac] #41449: Calling a member function on a string object in class-wp-ajax-upgrader-skin.php

WordPress Trac noreply at wordpress.org
Wed Jul 26 13:21:15 UTC 2017


#41449: Calling a member function on a string object in class-wp-ajax-upgrader-
skin.php
-----------------------------+------------------------------
 Reporter:  yrpwayne         |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by yrpwayne):

 Looking at the line it should be counting the class variable $errors

 Change line 102 to:

 {{{
 $errors_count = count( $this->errors->get_error_codes() );
 }}}

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


More information about the wp-trac mailing list