Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7647

Enforce consistency on default favicon

XMLWordPrintable

    • 3
    • Technical Debt
    • Sprint #251
    • tavros

      Summary

      We currently have a hardcoded favicon. At the same time we allow admins to change it through Appearance > Customize > Site Identity.

      That creates some inconsistencies, as in some places the default icon is shown and in others the selected one. The behavior is also inconsistent depending on whether the user is logged in or not.

      We can remove the functionality to avoid confusion and rely only on the provided default icon.

      Requirements

      • Remove the option for changing the Site icon. We can do that by adjusting our existing customize_register hook.
      • Create a migration to clean up the wp option site_icon from any existing value.

      Resources

      • Example using $wp_customize->remove_control('site_icon');

            mleray Maud Leray
            nroussos Nikos Roussos
            Osong Agberndifor Osong Agberndifor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: