Author | Replies |
---|---|
sitesurety | # Posted on November 8, 2014 at 3:30 pm |
ok, i’ve gone through the filter code and it will include any match.. I’ve reversed the loop so that it will do an ‘and’ match (1 or more must be true to be added). Any chance this could be added in a future release as a variable to the function? i.e. Exclusive filter function filterExclusive($args, $case_sensitive = FALSE) { if (!is_array($args)) { // extract the arguments foreach ($this->_items as $set_item) { foreach ($args as $arg) { $m = array(); preg_match ( “/^([\w\-]+)(\#?\=|\#?[\>\<\$\^\*\~\!]=|\#?\>|\#?\<)(.*)$/” , $arg, $m ); if ($m && count($m) == 4) { if ($case_sensitive) { $f = $set_item->f($fn); $fields = array(); $fields[] = $f; foreach ($fields as $f) { if ($include) { $nv = 0; if ($case_sensitive) { if (is_numeric($fv)) { if (is_numeric($val)) { // Check each item for match individually switch ($op) { } // endif $include } // endforeach } } if ($include) { } } |
Ability to deactivate licence domains within MasterPress account management
25th October 2024
We have just rolled out an account management feature which allows licence holders to have better control over the domains that use their licence key. From the MasterPress Account Management page, the list of Active Sites that use your licence now includes a function that allows you to remove a domain from your licence. Simply…