WordPress/wp-admin/includes
Scott Taylor da05f7435b For unit tests that call wpmu_create_blog(), Blog factory, or installation code that attempts to clear transients: suppress database errors on setUp and restore on tearDown.
There are a few places in core that were preventing this from working by explicity setting `$wpdb->suppress_errors` to `false`. Instead, they should inherit the value that existed before errors were suppressed.

This allows Multisite unit tests to run without explosive database errors, and allows `$wpdb->suppress_errors` to be overridden all the way down the chain.

Fixes #26102.

Built from https://develop.svn.wordpress.org/trunk@26252


git-svn-id: http://core.svn.wordpress.org/trunk@26158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:45:11 +00:00
..
admin.php Load the new admin and network admin mo files, if present. see #19852 2012-01-27 22:19:56 +00:00
ajax-actions.php Dash cleanup. 2013-11-15 20:15:10 +00:00
bookmark.php Inline documentation for hooks in wp-admin/includes/bookmark.php. 2013-10-07 02:19:09 +00:00
class-ftp-pure.php "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-ftp-sockets.php "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-ftp.php "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-pclzip.php
class-wp-comments-list-table.php Inline documentation for hooks in wp-admin/includes/class-wp-comments-list-table.php. 2013-11-13 19:47:10 +00:00
class-wp-filesystem-base.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-direct.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-ftpext.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-ftpsockets.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-ssh2.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-importer.php Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this. 2013-09-05 16:34:09 +00:00
class-wp-links-list-table.php Remove unused variables reset by wp_reset_vars(). Many of these haven't been used since b2. see #21767. 2013-02-16 18:28:41 +00:00
class-wp-list-table.php Saner CSS for row actions - now we can just target .row-actions instead of both .row-actions and .row-actions-visible. CSS for .row-actions-visible remains for now due to usage in plugins. Visibility is controlled by toggling a .visible class. fixes #25403. 2013-09-24 01:54:09 +00:00
class-wp-media-list-table.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
class-wp-ms-sites-list-table.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
class-wp-ms-themes-list-table.php Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465. 2013-11-06 22:40:08 +00:00
class-wp-ms-users-list-table.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
class-wp-plugin-install-list-table.php Inline documentation for hooks in wp-admin/includes/class-wp-plugin-install-list-table.php. 2013-09-26 02:48:09 +00:00
class-wp-plugins-list-table.php Avoid a PHP warning in network admin if a constant corresponding to a drop-in is not defined. fixes #25301. 2013-09-13 09:37:10 +00:00
class-wp-posts-list-table.php Remove debug cruft. props nbachiyski. see #25791. 2013-11-18 13:18:09 +00:00
class-wp-terms-list-table.php Terms list table: Only show 'View' links for public taxonomies. props SergeyBiryukov. fixes #24692. 2013-07-28 21:06:19 +00:00
class-wp-theme-install-list-table.php Fix docblock formatting. fixes #25893. 2013-11-11 13:32:10 +00:00
class-wp-themes-list-table.php Fix invalid markup when searching for installed themes. fixes #25288. 2013-09-12 00:03:10 +00:00
class-wp-upgrader-skins.php Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470 2013-11-05 05:48:10 +00:00
class-wp-upgrader.php Bacground Updates: Move the 'automatic_updates_complete' hook to only fire when some updates have actually been completed. Props nacin. Fixes #25841 2013-11-14 06:29:09 +00:00
class-wp-users-list-table.php Remove redundant echo calls from list tables. Don't mix string concatenation with direct output. see #24210. 2013-04-29 01:10:50 +00:00
comment.php Inline documentation for hooks in wp-admin/includes/comment.php. 2013-09-14 01:01:08 +00:00
continents-cities.php
dashboard.php Fix date comparison in dashboard_relative_date(). fixes #26033. 2013-11-17 03:30:09 +00:00
deprecated.php Dash cleanup. 2013-11-15 20:15:10 +00:00
export.php Pass $args to the export_wp action in export_wp(), which is currently passed no arguments. 2013-11-05 01:27:08 +00:00
file.php Only enforce disk free space checks when doing background updates. 2013-10-24 22:59:29 +00:00
image-edit.php Spell out duplicate hook locations. 2013-10-24 22:59:20 +00:00
image.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
import.php Move to JSON for three api.wordpress.org endpoints. see #25311. 2013-09-14 19:31:08 +00:00
list-table.php Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this. 2013-09-05 16:34:09 +00:00
media.php Use parens to ensure that RegEx OR matches the front when determining that mime-type matches audio|video in attachment_submitbox_metadata(). 2013-10-08 15:32:10 +00:00
menu.php Prevent an offset error if the first menu item is a separator. 2013-06-20 16:45:45 +00:00
meta-boxes.php Style and positioning fixes to form elements in the Publish box: 2013-11-18 18:53:10 +00:00
misc.php Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight. 2013-11-13 19:38:38 +00:00
ms-deprecated.php Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
ms.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
nav-menu.php Inline documentation for hooks in wp-admin/includes/nav-menu.php. 2013-10-26 17:48:11 +00:00
plugin-install.php When an HTTPS request to api.wordpress.org fails, try an insecure HTTP request and issue a warning. 2013-10-27 21:09:10 +00:00
plugin.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
post.php Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon. 2013-11-14 18:41:10 +00:00
revision.php Spell out duplicate hook locations. 2013-10-24 22:59:20 +00:00
schema.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
screen.php Remove post format icons next to header on edit post screen. fixes #24502. see #24452. 2013-06-06 14:45:25 +00:00
taxonomy.php Rather than adding a taxonomy arg to get_category(), convert all uses of get_category() in core to get_term(). By doing so, we negate the need to call _make_cat_compat() in a few places that are only looking for a single property. 2013-10-02 19:59:10 +00:00
template.php Style and positioning fixes to form elements in the Publish box: 2013-11-18 18:53:10 +00:00
theme-install.php Fix usage of undeclared variables. 2013-05-07 16:35:03 +00:00
theme.php Sort themes by name on the new themes.php page. see #25948. 2013-11-15 16:42:10 +00:00
update-core.php Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702. 2013-11-06 20:02:09 +00:00
update.php Updates: When a failed Background Update occurs, only show the failed update nag if the user hasn't yet updated if it was an early abort. Props SergeyBiryukov. Fixes #25887 for trunk 2013-11-15 02:31:11 +00:00
upgrade.php For unit tests that call wpmu_create_blog(), Blog factory, or installation code that attempts to clear transients: suppress database errors on setUp and restore on tearDown. 2013-11-18 20:45:11 +00:00
user.php Introduce wp_get_user_contact_methods() as a public version of _wp_get_user_contactmethods. 2013-09-24 18:14:09 +00:00
widgets.php Bring in the widgets component of MP6. See #25858. 2013-11-13 20:06:06 +00:00