Changeset 53505
- Timestamp:
- 06/15/2022 10:34:07 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r53462 r53505 1569 1569 } 1570 1570 1571 wp_load_translations_early();1572 1573 1571 $caller = $this->get_caller(); 1574 1572 if ( $caller ) { 1575 / * translators: 1: Database error message, 2: SQL query, 3: Name of the calling function. */1576 $error_str = sprintf( __( 'WordPress database error %1$s for query %2$s made by %3$s' ), $str, $this->last_query, $caller );1573 // Not translated, as this will only appear in the error log. 1574 $error_str = sprintf( 'WordPress database error %1$s for query %2$s made by %3$s', $str, $this->last_query, $caller ); 1577 1575 } else { 1578 /* translators: 1: Database error message, 2: SQL query. */ 1579 $error_str = sprintf( __( 'WordPress database error %1$s for query %2$s' ), $str, $this->last_query ); 1576 $error_str = sprintf( 'WordPress database error %1$s for query %2$s', $str, $this->last_query ); 1580 1577 } 1581 1578 … … 1586 1583 return false; 1587 1584 } 1585 1586 wp_load_translations_early(); 1588 1587 1589 1588 // If there is an error then take note of it.
Note: See TracChangeset
for help on using the changeset viewer.