what3words / wordpress-autosuggest-plugin

what3words wordpress autosuggest plugin
https://wordpress.org/plugins/3-word-address-validation-field/
3 stars 3 forks source link

[TT-6471] Fix php variable assignment error #14

Closed c5haw closed 3 years ago

c5haw commented 3 years ago

Background

PHP was throwing an error due to the fact that explode was being passed directly as a parameter of the array_pop function, which causes an error because the return value of explode must be set against a variable before being passed to a function. See this article for more information/an example of where this occurs.

To fix this is now being set against a variable before being passed to the following function.