[wp-trac] [WordPress Trac] #42429: Incorrect access level on $message property in class getid3_exception

WordPress Trac noreply at wordpress.org
Fri Nov 3 22:05:35 UTC 2017


#42429: Incorrect access level on $message property in class getid3_exception
-------------------------------+------------------------------
 Reporter:  yrpwayne           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  4.8.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by yrpwayne):

 Yes well, that seems to be what's happening. I assume it was done for
 testing because I cannot find any use of the exposed property or reason
 for it.

 Also, you can call getMessage() if you need to read the contents and you
 should create a new instance if you need to modify it.

 Looking with a clearer head in the morning I see it is a 3rd party
 library, so I’ll move this issue over there and see if there’s a good
 reason.

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


More information about the wp-trac mailing list