Skip to:
Content
Pages
Categories
Search
Top
Bottom

The way to fix scripts in order to be compatible with WP3.1 and BP 1.2.8

  • Avatar of chestnut_jp
    chestnut_jp
    Member

    @chestnut_jp

    Hi @slaFFik,

    Though I have not yet verified everything in detail, the following changes are at least needed for the plugin to be used with WP 3.1 and BP 1.2.8:

    At line 16 of cd-ab-admin.php:
    `
    [ Original ]
    add_action( ‘admin_menu’, array( &$this, ‘on_admin_menu’ ) );

    [ Changed to ]
    add_action( ‘network_admin_menu’, array( &$this, ‘on_admin_menu’ ) );
    `

    At line 74 of cd-ab-admin.php:
    `
    [ Original ]
    <form action="” id=”cd-ab-form” method=”post”>

    [ Changed to ]
    <form action="” id=”cd-ab-form” method=”post”>
    `

    I hope this will work.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.