Unit Tests :: formatting function get_url_in_content
|Reported by:||mdbitz||Owned by:|
Attached are unit tests of the get_url_in_content formatting function.
During review the function had different return values for cases when no links are found.
empty content => return ""
no links => return false;
I've attached a diff of the formatting.php file that normalizes this behavior to return false in all cases.