WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: ThreeWP Activity Monitor] "no title" bug

[Resolved] [Plugin: ThreeWP Activity Monitor] "no title" bug

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: ThreeWP Activity Monitor] "no title" bug’ is closed to new replies.
Skip to toolbar