Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jibbius

    (@jibbius)

    Found a fix.

    For some reason, replacing this:

    $args = array(
    ...etc
    'menu_position'      => ! empty( $menu_position ) ? intval($menu_position) : 25,
    ...etc
    )
    register_post_type( 'google_maps', $args );

    with this:

    $args = array(
    ...etc
    'menu_position'      => ! empty( $menu_position ) ? intval(''.$menu_position) : 25,
    ...etc
    )
    register_post_type( 'google_maps', $args );

    solves the issue.

    The file you have to edit is public\class-wordpress-google-maps.php . The above fix didn’t work for me, i had to completely remove the 170th line:

    'menu_position' => ! empty( $menu_position ) ? intval($menu_position) : 25,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compatability with Multisite?’ is closed to new replies.