Forums

[Plugin: ThreeWP Activity Monitor] Bug: Link to post in activities overview (2 posts)

  1. Ov3rfly
    Member
    Posted 6 months ago #

    ThreeWP Activity Monitor Version 2.3

    Bug 3: In list of activities on page Overview the link to the changed post is hardcoded with ?p=id and does not work if you use pretty permalinks and have disabled redirect_guess_404_permalink.

    Locate this code in file ThreeWP_Activity_Monitor.php near line 1030:

    $post_link = $bloginfo_url . '?p=' . $post_data->ID;

    Replace with this:

    $post_link = get_permalink($post_data->ID);

    Note: Already saved activities will still have the old format, only new added activities after this patch will get the correct permalink.

    Also, the ?p=id link-format does not support pages or custom post types. Version 2.3 of the plugin actually does not support these, but if you use the patch for pages and custom post types, you want to use this permalink-fix as well.

    http://wordpress.org/extend/plugins/threewp-activity-monitor/

  2. edward mindreantre
    Member
    Posted 5 months ago #

    Will be fixed in 2.5

Reply

You must log in to post.

About this Topic