[wp-trac] [WordPress Trac] #32315: $wpdb->insert fails without error msg

WordPress Trac noreply at wordpress.org
Wed Nov 17 04:03:39 UTC 2021


#32315: $wpdb->insert fails without error msg
--------------------------------------+-----------------------------
 Reporter:  dlt101                    |       Owner:  hellofromTonya
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  5.9
Component:  Database                  |     Version:  4.2.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"52195" 52195]:
 {{{
 #!CommitTicketReference repository="" revision="52195"
 WPDB: Call `wp_load_translations_early()` in `wpdb::_real_escape()`.

 This follows the pattern used in other `wpdb` methods to make sure the
 i18n functions are available.

 Follow-up to [29840].

 Props nacin, johnbillion.
 See #32315.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32315#comment:92>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list