| @@ -2,8 +2,9 @@ | ||
| 2 | 2 | namespace MBSocial; |
| 3 | 3 | defined('ABSPATH') or die('No direct access permitted'); |
| 4 | 4 | |
| 5 | 5 | use \MaxButtons\MaxUtils as MaxUtils; |
| 6 | +use \MaxButtons\simple_html_dom as simple_html_dom; | |
| 6 | 7 | |
| 7 | 8 | abstract class mbNetwork |
| 8 | 9 | { |
| 9 | 10 | |
| @@ -275,9 +276,9 @@ | ||
| 275 | 276 | "; |
| 276 | 277 | |
| 277 | 278 | $html .= "</a></span>"; |
| 278 | 279 | |
| 279 | - $button = str_get_html($html); | |
| 280 | + $button = \MaxButtons\str_get_html($html); | |
| 280 | 281 | return $button; |
| 281 | 282 | } |
| 282 | 283 | |
| 283 | 284 | public function getRemoteShareCount($share_url) |