Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate the wpcom-helper.php from WordPress.com. #22

Merged
merged 1 commit into from Mar 4, 2016

Conversation

Projects
None yet
2 participants
@philipjohn
Copy link
Member

commented Mar 4, 2016

No description provided.

philipjohn added a commit that referenced this pull request Mar 4, 2016

Merge pull request #22 from Automattic/feature/wpcom-compat
Migrate the wpcom-helper.php from WordPress.com.

@philipjohn philipjohn merged commit bc9fa90 into master Mar 4, 2016

if( ! is_feed() )
return $content;
$web_bug = '<img alt="" border="0" src="' . esc_url( http() . '://pixel.wp.com/b.gif?host=' . $_SERVER[ 'HTTP_HOST' ] . '&blog=' . $current_blog->blog_id . '&post=' . $post->ID . '&subd=' . str_replace( '.wordpress.com', '', $current_blog->domain ) . '&ref=&feed=1' ) . '" width="1" height="1" />';

This comment has been minimized.

Copy link
@mjangda

mjangda Mar 4, 2016

Member

We can kill this line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.