Support » Plugin: Peter's Post Notes » little UX bug

  • if( current_user_can( $ppn_general_notes_required_capability ) )
        {
            print '<label><input type="checkbox" name="ppn_private" /> ' . __('Private note', 'peters_post_notes') . '</label>' . "\n";
        }
        else
        {
            // Force the note to be private
            print '<label><input type="checkbox" name="ppn_private_forced" checked="checked" disabled="true" /> ' . __('Private note', 'peters_post_notes') . '</label>' . "\n";
            print '<input type="hidden" name="ppn_private" value="on" />' . "\n";
        }

    text next to the input should be inside label tag 🙂

    https://wordpress.org/plugins/peters-post-notes/

Viewing 1 replies (of 1 total)
  • Plugin Author Peter

    (@pkthree)

    Thanks! I’ve released a new version with this fix as well as for all the other checkboxes in the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘little UX bug’ is closed to new replies.