Merge pull request #158 from mainwp/bogdan01-cf-autofix

Apply fixes from CodeFactor
This commit is contained in:
Thang Hoang Van 2020-05-21 20:32:46 +07:00 committed by GitHub
commit f5acc21b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ class MainWP_Pages {
*
* @param $child_menu_title New MainWP Child Plugin title defined in branding settings.
* @param $child_page_title New MainWP Child Plugin page title defined in branding settings.
*/
*/
private function init_pages( $child_menu_title, $child_page_title ) {
$settingsPage = add_submenu_page( 'options-general.php', $child_page_title, $child_menu_title, 'manage_options', 'mainwp_child_tab', array( &$this, 'render_pages' ) );