WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Custom Post types form broken

[Resolved] Custom Post types form broken

  • Joost
    Member

    @jberculo

    When I install the plugin, everything works fine. But when I then try to add a custom post type, everything falls apart. There isn’t even a broadcast box anymore next to the default post types.

    Turns out there’s a mistake in ThreeWP_Broadcast.php, in the root of the plugin.

    Find the function “admin_post_types” on line 381. And replace line 394:
    $input_post_types = array(
    with
    $input_post_types = array(array(

    and also add an extra closing bracket on line 402, so change

    );
    to
    ));

    http://wordpress.org/extend/plugins/threewp-broadcast/

Viewing 4 replies - 1 through 4 (of 4 total)
  • bdd
    Participant

    @bws-online

    Thanks — I was getting multiple errors about this when I clicked on the “Post types” option in Settings/Broadcast. Your fix removed the errors and I see the proper Settings screen now.

    Hope this gets fixed in an update!

    Brilliant thanks : )

    Joost – THANK YOU!

    andrebalza
    Member

    @andrebalza

    Had the same issue, wp 3.5.1 and plugin v1.13
    Now ThreeWP_Broadcast_post_types gets filled correctly.
    I suggest this patch, waiting for an official update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Custom Post types form broken’ is closed to new replies.