UI: Displaying sample shortcode not complete
-
When you create a shortcode, on the right at the top, it shows you what the shortcode will be. However, for me, at least, it is not showing the ending quote nor the closing square bracket. (See sample screenshot.)
Perhaps the input class sc_copy_field should use single quotes to wrap the value, since double quotes are used?
Line 445 of sc-admin.php, I see that esc_attr() is being used but it may be simpler to just use single quotes for the value.
<input type="text" value=' . "'". esc_attr( self::get_shortcode( $sc_name ) ) . "'" . '...The page I need help with: [log in to see the link]
The topic ‘UI: Displaying sample shortcode not complete’ is closed to new replies.