Skip to content

Site Icon: Play nicely with Core's feature#2328

Closed
kraftbj wants to merge 3 commits intomasterfrom
add/core-site-icon-compat
Closed

Site Icon: Play nicely with Core's feature#2328
kraftbj wants to merge 3 commits intomasterfrom
add/core-site-icon-compat

Conversation

@kraftbj
Copy link
Copy Markdown
Contributor

@kraftbj kraftbj commented Jun 30, 2015

See #2326

  1. Adds a fallback for og:image tags.
  2. Kills output of Jetpack Site Icon when Core's icon is being used.

These methods should be considered temporary until a full-scale deprecation is possible when 4.3 is the minimum version of WordPress. The aim is something we can ship before 4.3 launches so we play nicely together while determining the long-term plan.

Idea: if ( function_exists( 'has_site_icon' ) && ! jetpack_has_site_icon() ). Serving as a 4.3 version check and if the user has already set our icon. If true, then hide our uploader and maybe filter jetpack_site_icon_url to Core's in the event someone is using us after a function_exists check?

@kraftbj kraftbj added Enhancement Changes to an existing feature — removing, adding, or changing parts of it General labels Jun 30, 2015
@kraftbj kraftbj added this to the 3.6.1 milestone Jun 30, 2015
@dereksmart dereksmart force-pushed the add/core-site-icon-compat branch from 69e71d8 to 0a0e7af Compare July 13, 2015 21:35
@dereksmart
Copy link
Copy Markdown
Contributor

I've rebased this so it's easier to test without all the 4.3 WP_Widget notices.

@jeherve jeherve closed this Jul 15, 2015
@kraftbj kraftbj deleted the add/core-site-icon-compat branch July 23, 2015 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Feature] Site Icon General

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants