Remove separate meta fields for image and gallery post formats. These are proving to be more confusing and labor-intensive from both a user and dev perspective than entering into the regular content editor. We will rely on good content parsing instead. See #19570, #23347.

git-svn-id: https://develop.svn.wordpress.org/trunk@23753 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2013-03-19 17:18:07 +00:00
parent 806002166b
commit 987251f582
4 changed files with 19 additions and 153 deletions
+13 -43
View File
@@ -3097,13 +3097,22 @@ input#link_url {
padding-bottom: 0;
}
.wp-format-standard .post-formats-fields,
.wp-format-aside .post-formats-fields,
.wp-format-chat .post-formats-fields,
.wp-format-status .post-formats-fields {
.post-formats-fields {
display: none;
}
.wp-format-link .post-formats-fields,
.wp-format-quote .post-formats-fields,
.wp-format-video .post-formats-fields,
.wp-format-audio .post-formats-fields,
.wp-format-chat .field.wp-format-chat,
.wp-format-link .field.wp-format-link,
.wp-format-quote .field.wp-format-quote,
.wp-format-video .field.wp-format-video,
.wp-format-audio .field.wp-format-audio {
display: block;
}
.post-formats-fields .field {
display: none;
margin-bottom: 10px;
@@ -3115,45 +3124,6 @@ input#link_url {
font-size: 1.2em;
}
.wp-format-chat .field.wp-format-chat,
.wp-format-gallery .field.wp-format-gallery,
.wp-format-link .field.wp-format-link,
.wp-format-image .field.wp-format-image,
.wp-format-quote .field.wp-format-quote,
.wp-format-video .field.wp-format-video,
.wp-format-audio .field.wp-format-audio {
display: block;
}
#wp-format-image-holder {
overflow: hidden;
width: 300px;
height: 200px;
border: 1px solid #dfdfdf;
background: #f5f5f5;
}
#wp-format-image-holder:hover {
background-color: #eee;
}
#wp-format-image-select {
display: block;
height: 200px;
text-align: center;
}
#wp-format-image-select img {
max-width: 100%;
max-height: 100%;
}
.empty #wp-format-image-select {
padding-top: 120px;
height: 80px;
background: url(../images/media-button-2x.png) no-repeat center;
}
/* Post Screen */
#post-body #normal-sortables {
min-height: 50px;