| @@ -11,10 +11,8 @@ | ||
| 11 | 11 | protected $plugin_url; |
| 12 | 12 | protected $plugin_path; |
| 13 | 13 | protected $version; |
| 14 | 14 | |
| 15 | - protected $url; // pageURL | |
| 16 | - | |
| 17 | 15 | protected $networks; |
| 18 | 16 | protected $admin; |
| 19 | 17 | |
| 20 | 18 | public function __construct() |
| @@ -287,13 +285,8 @@ | ||
| 287 | 285 | { |
| 288 | 286 | return trailingslashit(plugin_dir_url(MBSOCIAL_ROOT_FILE)); |
| 289 | 287 | } |
| 290 | 288 | |
| 291 | - public function get_page_url() | |
| 292 | - { | |
| 293 | - return $this->url; | |
| 294 | - } | |
| 295 | - | |
| 296 | 289 | public function get_version() |
| 297 | 290 | { |
| 298 | 291 | return MBSOCIAL_VERSION_NUM; |
| 299 | 292 | } |
| @@ -302,12 +295,9 @@ | ||
| 302 | 295 | { |
| 303 | 296 | if (Install::getIssue() == 'mb-wrong-version') |
| 304 | 297 | include_once($this->plugin_path . 'admin/update_mb.php'); |
| 305 | 298 | else |
| 306 | - { | |
| 307 | - $this->url = admin_url('?page=maxbuttons-social'); | |
| 308 | 299 | include_once($this->plugin_path . 'admin/page_editor.php'); |
| 309 | - } | |
| 310 | 300 | } |
| 311 | 301 | |
| 312 | 302 | public function load_settings_page() |
| 313 | 303 | { |
| @@ -313,11 +303,8 @@ | ||
| 313 | 303 | { |
| 314 | 304 | if (Install::getIssue() == 'mb-wrong-version') |
| 315 | 305 | include_once($this->plugin_path . 'admin/update_mb.php'); |
| 316 | 306 | else |
| 317 | - { | |
| 318 | - $this->url = admin_url('?page=maxbuttons-social-settings'); | |
| 319 | 307 | include_once($this->plugin_path . 'admin/page_settings.php'); |
| 320 | - } | |
| 321 | 308 | } |
| 322 | 309 | |
| 323 | 310 | } |