Changeset 54723 for trunk/tests/phpunit/tests/ajax/wpAjaxUpdateTheme.php
- Timestamp:
- 10/30/2022 02:52:04 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/wpAjaxUpdateTheme.php
r54722 r54723 113 113 $_POST['slug'] = 'twentyten'; 114 114 115 // Prevent wp_update_themes() from running. 116 wp_installing( true ); 117 115 118 // Make the request. 116 119 try { 117 118 // Prevent wp_update_themes() from running.119 wp_installing( true );120 120 $this->_handleAjax( 'update-theme' ); 121 wp_installing( false );122 123 121 } catch ( WPAjaxDieContinueException $e ) { 124 122 unset( $e ); 125 123 } 124 125 wp_installing( false ); 126 126 127 127 // Get the response.
Note: See TracChangeset
for help on using the changeset viewer.