WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: ThreeWP Activity Monitor] "no title" bug (3 posts)

  1. Ov3rfly
    Member
    Posted 2 years ago #

    The plugin sets a variable $post_title and replaces an empty title of articles or pages by the text "no title".

    But due to a small bug it then does not use that variable for the message.

    Result: "admin wrote on Blogname" instead of "admin wrote no title on Blogname"

    ThreeWP_Activity_Monitor.php, line 1101

    wrong:

    $replacements['%post_title_with_link%'] = sprintf( '<a href="%s">%s</a>',
    	$post_link,
    	$post_data->post_title
    );

    fixed:

    $replacements['%post_title_with_link%'] = sprintf( '<a href="%s">%s</a>',
    	$post_link,
    	$post_title
    );

    ThreeWP Activity Monitor 2.9

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

  2. edward mindreantre
    Member
    Posted 2 years ago #

    Will be fixed in 2.10! Thanks for the help.

  3. Ov3rfly
    Member
    Posted 2 years ago #

    Now that was a quick update release... Thanks.

    Works as expected in Version 2.10

Topic Closed

This topic has been closed to new replies.

About this Topic