Fix post meta select label

This commit is contained in:
Robin Cornett
2021-10-23 08:27:27 -04:00
parent 03d6e72ef0
commit fc883ff066
3 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -259,7 +259,9 @@ Similar hooks:
### 3.2.2
* added: support for webp images
* fixed: user's custom column filter
* udpated: tested to version
* fixed: missing label for post meta select input
* updated: tested to version
### 3.2.1
* updated: shortcodes library
* fixed: dynamic term selector on widgets page
@@ -178,7 +178,7 @@ class Display_Featured_Image_Genesis_Post_Meta {
$value = '2048x2048';
}
$output = sprintf(
'<p>%1$s<select id="%2$s" name="%2$s">',
'<p><label for="%2$s">%1$s</label><select id="%2$s" name="%2$s">',
esc_attr( $args['label'] ),
esc_attr( $args['setting'] )
);
+2 -1
View File
@@ -225,7 +225,8 @@ Similar hooks:
= 3.2.2 =
* added: support for webp images
* fixed: user's custom column filter
* udpated: tested to version
* fixed: missing label for post meta select input
* updated: tested to version
= 3.2.1 =
* updated: shortcodes library