Changes between Initial Version and Version 1 of Ticket #41057, comment 78
- Timestamp:
- 11/08/2017 05:51:51 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41057, comment 78
initial v1 1 1 Another error in line 509. Noticed because it's breaking the plugin directory screens on WordPress.org. 2 2 3 ``` 3 {{{ 4 4 foreach ( $attributes as $attribute ) { 5 5 if ( ! empty( $node->meta[ $attribute ] ) ) { … … 7 7 } 8 8 } 9 ``` 9 }}} 10 10 11 11 Note the mismatched quoting on the HTML attribute. It starts with a single quote, but closes with a double quote. … … 13 13 Change the echo to this to fix: 14 14 15 ``` 15 {{{ 16 16 echo " $attribute='" . esc_attr( $node->meta[ $attribute ] ) . "'"; 17 ``` 17 }}} 18 18