Fix to prevent contacting seller if the option that requires them to be logged in is enabled
Added a couple of osc_esc_html
Fix useless array() & implode() at every call
Added static for the sake of readability & optimization

Just nitpicking ;)
BUG - Two users with same search = 2 mails each

Hi,

So, I changed findByType by this function findByTypeGroup.

Using findByType function result to contact X users, X times if they have the same search.

For exemple, if 3 users have the same search, the first foreach will do 3 times the search and send 3 times a mail for each users.

But with findByTypeGroup, the search will be run one time and the result will be send to 3 users.
Fix Undefined variable: category in hSearch.php:osc_search_category_id
Merge pull request #1459 from emanwebdev/patch-10

Fix Undefined variable: category in hSearch.php:osc_search_category_id
Merge pull request #1456 from groomain/patch-7

BUG - Two users with same search = 2 mails each
Merge pull request #1454 from emanwebdev/patch-16

Added static for the sake of readability & optimization
Merge pull request #1453 from emanwebdev/patch-41

Fix useless array() & implode() at every call
Merge pull request #1452 from emanwebdev/patch-24

Added a couple of osc_esc_html
Merge pull request #1437 from trains58554/hotfixes

Fix to prevent contacting seller if the option that requires them to be ...
Update current page func and add missing location

I have add this function to get the code much more readable. 

```PHP
function osc_is_current_page($location, $section) {
        if( osc_get_osclass_location() === $location && osc_get_osclass_section() === $section ) {
            return true;
        }
        return false;
    }   
```

I added missing location
 * osc_is_edit_page()
 * osc_is_item_contact_page()
 * osc_is_list_alerts()
 * osc_is_contact_page()
 * osc_is_recover_page()
 * osc_is_forgot_page()
 * osc_is_recover_page()
 * osc_is_change_email_page()
 * osc_is_change_username_page(
 * osc_is_change_password_page()
 
I moved osc_is_homepage() in first.

I also moved some functions to regroup them by type (item, user).
Merge pull request #1506 from groomain/patch-8

Update current page func and add missing location
Merge pull request #1508 from osclass/hotfixes

Hotfixes