Support » Plugin: TinyMCE Smiley Button » No smilies in dropdown Version 2.0.4

  • missveronica

    (@missveronicatv)


    I had problems with this plugin Version 2.0.4 and the Asgaros forum:
    At first no smilies in the dropdown then only some smilies.

    Solved by adding ‘relative’ to line 42 in tinymce-smiley-button.php

    'src_url' => apply_filters('smilies_src', includes_url('images/smilies/', 'relative'), '', site_url())

    Reference:
    https://developer.wordpress.org/reference/functions/includes_url/

    Second parameter $scheme in includes_url defaults to null
    and you will get your site URL ie http/https …
    and the ‘relative’ address will get: /wp-includes/images/smilies/

    Site URL is probably bad because my development site has directory privacy active.

  • The topic ‘No smilies in dropdown Version 2.0.4’ is closed to new replies.