• Dane Morgan

    (@dane-morgan)


    Including a textarea in the shortcode, or breaks on save.

    return '<textarea rows="4"><p><a href="http://dev.safesmartliving.com/appliance-repair-costs/"><img src="http://dev.safesmartliving.com/wp-content/uploads/average-appliance-cost-infographic-png.png" alt="Average Appliance Repair Costs" width="560" /></a><br/>Source: <a href="http://dev.safesmartliving.com/appliance-repair-costs/">SafeSmartLiving.com</a></p></textarea>';

    Becomes

    return '<textarea rows="4"><p><a href="http://dev.safesmartliving.com/appliance-repair-costs/"><img src="http://dev.safesmartliving.com/wp-content/uploads/average-appliance-cost-infographic-png.png" alt="Average Appliance Repair Costs" width="560" /></a><br/>Source: <a href="http://dev.safesmartliving.com/appliance-repair-costs/">SafeSmartLiving.com</a></p>

    and the final ‘; is printed on the form below the shortcode entry textarea box.

    https://wordpress.org/plugins/add-actions-and-filters/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Dane Morgan

    (@dane-morgan)

    I can insert the textarea into the database and it will display correctly thereafter, but any attempt to save from the plugin form, breaks it again.

    Plugin Author Michael Simpson

    (@msimpson)

    Bug fix in 2.0.7 available shortly.

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

The topic ‘elements in code break saves’ is closed to new replies.