Twenty Seventeen: Sticky icon fix to stop appearing in regular post flow

The sticky icon was appearing in posts it shouldn't have, not just when stuck. This fixes that.

Props laurelfulford, mageshp, davidakennedy
Fixes #38534


Built from https://develop.svn.wordpress.org/trunk@39080


git-svn-id: http://core.svn.wordpress.org/trunk@39022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2016-11-01 20:56:30 +00:00
parent 2b611c2b1d
commit 9cf5aa4381
2 changed files with 2 additions and 2 deletions

View File

@ -1814,7 +1814,7 @@ body:not(.has-header-image) .custom-header-image {
position: relative;
}
.icon-thumb-tack {
.post:not(.sticky) .icon-thumb-tack {
display: none;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta1-39079';
$wp_version = '4.7-beta1-39080';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.