Support » Plugin: WordPress User Registration, Front-end Login & User Profile – ProfilePress » No space between attributes – HTML validation

  • Resolved malferov

    (@malferov)


    In global-shortcodes.php line 163 no space between attributes ‘href’ and ‘title’. Please fix it. Add space before {$title}

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Collins Agbonghama

    (@collizo4sky)

    Thanks for reporting. Next update will contain this fix.

    @collizo4sky And more.

    On the login, registration, and password reset pages, you insert custom styles into the body of the page. And it leads to HTML validation errors.

    https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fgroomershop.ru%2Fforgot-password%2F%3Fnocache#l340c7

    If it is in your power, please fix this bug so that the custom styles is inserted using the “wp_enqueue_scripts” hook and the wp_add_inline_style() function or using JS, which will create a new ‘style’ element with the added innerHTML property and add the object as a child of the HEAD container. Or otherwise insert a custom style into the HEAD.

    On the basis of:

    <script>
    var s = document.createElement('style');
    s.innerHTML = '.foo{color:white;}';
    document.head.appendChild(s);
    </script>

    Or on the basis of:

    function pp_add_inline_css() {
        $custom_css = in this place get a custom style...
        wp_add_inline_style('ppcore', $custom_css);
    }
    add_action('wp_enqueue_scripts', 'pp_add_inline_css');
    • This reply was modified 3 months, 3 weeks ago by  malferov. Reason: typos
    • This reply was modified 3 months, 3 weeks ago by  malferov. Reason: add a link
    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Noted but unfortunately I can’t give an ETA on this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.