Changeset 4520 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
- Timestamp:
- 12/13/2016 09:44:54 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r4505 r4520 160 160 // Update all readme meta 161 161 foreach ( $this->readme_fields as $readme_field ) { 162 $value = ( 'tested' == $readme_field ) ? $tested : $readme-> field;162 $value = ( 'tested' == $readme_field ) ? $tested : $readme->$readme_field; 163 163 update_post_meta( $plugin->ID, $readme_field, wp_slash( $value ) ); 164 164 }
Note: See TracChangeset
for help on using the changeset viewer.