[wp-trac] [WordPress Trac] #28843: Fatal error: Call to protected method ... on PHP 5.2.5

WordPress Trac noreply at wordpress.org
Sat Jul 12 03:53:35 UTC 2014


#28843: Fatal error: Call to protected method ... on PHP 5.2.5
--------------------------+--------------------
 Reporter:  Ipstenu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.0
Component:  General       |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"29119"]:
 {{{
 #!CommitTicketReference repository="" revision="29119"
 The 2nd argument to `array_unique()` was added to PHP in 5.2.9, so don't
 use it. We have to use our own code to return unique terms when `fields =>
 all` in `wp_get_object_terms()`.

 See #28843 and [28583].
 }}}

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


More information about the wp-trac mailing list