Changeset 13090
- Timestamp:
- 01/05/2024 03:38:40 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-markdown/inc/class-importer.php
r13089 r13090 312 312 if ( class_exists( 'WP_CLI' ) ) { 313 313 if ( is_wp_error( $ret ) ) { 314 WP_CLI::warning( $ret->get_error_message() );314 WP_CLI::warning( "{$id} returned an error: " . $ret->get_error_message() ); 315 315 } elseif ( false === $ret ) { 316 316 WP_CLI::log( "No updates for {$id}" ); … … 398 398 399 399 // Check to see if this differs from the actual post. 400 if ( $ post_data ) {400 if ( $do_update && $post_data ) { 401 401 $post = get_post( $post_id ); 402 402 foreach ( $post_data as $field => $value ) {
Note: See TracChangeset
for help on using the changeset viewer.