| @@ -191,9 +191,9 @@ | ||
| 191 | 191 | register_setting( 'maxbuttons_settings', 'maxbuttons_minify' ); |
| 192 | 192 | register_setting( 'maxbuttons_settings', 'maxbuttons_hidedescription' ); |
| 193 | 193 | register_setting( 'maxbuttons_settings', 'maxbuttons_forcefa') ; |
| 194 | 194 | register_setting( 'maxbuttons_settings', 'maxbuttons_borderbox'); |
| 195 | - register_setting( 'maxbuttons_settings', 'maxbuttons_protocol'); | |
| 195 | + register_setting( 'maxbuttons_settings', 'maxbuttons_protocol'); | |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | protected function checkbox_option($options) |
| 199 | 199 | { |
| @@ -254,13 +254,8 @@ | ||
| 254 | 254 | $submenu_slug = 'maxbuttons-controller&action=edit'; |
| 255 | 255 | //$submenu_function = 'maxbuttons_button'; |
| 256 | 256 | $admin_pages[] = add_submenu_page($menu_slug, $submenu_page_title, $submenu_title, $capability, $submenu_slug, $submenu_function); |
| 257 | 257 | |
| 258 | - // Now add the submenu page for the Export page | |
| 259 | - $submenu_page_title = __('MaxButtons: Social Share', 'maxbuttons'); | |
| 260 | - $submenu_title = __('Social Share', 'maxbuttons'); | |
| 261 | - $submenu_slug = 'maxbuttons-collections'; | |
| 262 | - $admin_pages[] = add_submenu_page($menu_slug, $submenu_page_title, $submenu_title, $capability, $submenu_slug, $submenu_function); | |
| 263 | 258 | |
| 264 | 259 | // Now add the submenu page for the Go Pro page |
| 265 | 260 | $submenu_page_title = __('MaxButtons: Upgrade to Pro', 'maxbuttons'); |
| 266 | 261 | $submenu_title = __('Upgrade to Pro', 'maxbuttons'); |
| @@ -280,8 +275,14 @@ | ||
| 280 | 275 | $submenu_title = __('Support', 'maxbuttons'); |
| 281 | 276 | $submenu_slug = 'maxbuttons-support'; |
| 282 | 277 | //$submenu_function = 'maxbuttons_support'; |
| 283 | 278 | $admin_pages[] = add_submenu_page($menu_slug, $submenu_page_title, $submenu_title, $admin_capability, $submenu_slug, $submenu_function); |
| 279 | + | |
| 280 | + // Now add the submenu page for the Export page | |
| 281 | + $submenu_page_title = __('MaxButtons: Share Buttons', 'maxbuttons'); | |
| 282 | + $submenu_title = __('Share Buttons', 'maxbuttons'); | |
| 283 | + $submenu_slug = 'maxbuttons-collections'; | |
| 284 | + $admin_pages[] = add_submenu_page($menu_slug, $submenu_page_title, $submenu_title, $capability, $submenu_slug, $submenu_function); | |
| 284 | 285 | |
| 285 | 286 | } |
| 286 | 287 | |
| 287 | 288 | function load_admin_page($page) |