Changeset 47922 for trunk/src/wp-admin/includes/bookmark.php
- Timestamp:
- 06/07/2020 09:22:07 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/bookmark.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/bookmark.php
r47851 r47922 206 206 if ( false === $wpdb->update( $wpdb->links, compact( 'link_url', 'link_name', 'link_image', 'link_target', 'link_description', 'link_visible', 'link_owner', 'link_rating', 'link_rel', 'link_notes', 'link_rss' ), compact( 'link_id' ) ) ) { 207 207 if ( $wp_error ) { 208 return new WP_Error( 'db_update_error', __( 'Could not update link in the database ' ), $wpdb->last_error );208 return new WP_Error( 'db_update_error', __( 'Could not update link in the database.' ), $wpdb->last_error ); 209 209 } else { 210 210 return 0; … … 214 214 if ( false === $wpdb->insert( $wpdb->links, compact( 'link_url', 'link_name', 'link_image', 'link_target', 'link_description', 'link_visible', 'link_owner', 'link_rating', 'link_rel', 'link_notes', 'link_rss' ) ) ) { 215 215 if ( $wp_error ) { 216 return new WP_Error( 'db_insert_error', __( 'Could not insert link into the database ' ), $wpdb->last_error );216 return new WP_Error( 'db_insert_error', __( 'Could not insert link into the database.' ), $wpdb->last_error ); 217 217 } else { 218 218 return 0;
Note: See TracChangeset
for help on using the changeset viewer.