WordPress.org

Ready to get started?Download WordPress

Forums

Simple Adsense Inserter
[resolved] Little bug when "title" is empty (2 posts)

  1. necro1970
    Member
    Posted 1 year ago #

    To correct the code, I changed the lines @ line 147:

    Original -
    $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);

    Modified -
    $title = empty($instance['title']) ? <strong>''</strong> : apply_filters('widget_title', $instance['title']);

    http://wordpress.org/extend/plugins/simple-adsense-inserter/

  2. necro1970
    Member
    Posted 1 year ago #

    To correct the code, I changed the lines @ line 147:

    Original -
    $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);

    Modified -
    $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.