Changeset 34912 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 10/07/2015 05:11:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r34778 r34912 166 166 167 167 if ( ini_get('zlib.output_compression') || 'ob_gzhandler' == ini_get('output_handler') ) { 168 update_ network_option( 'can_compress_scripts', 0);168 update_site_option('can_compress_scripts', 0); 169 169 wp_die( 0 ); 170 170 } … … 197 197 wp_die(); 198 198 } elseif ( 'no' == $_GET['test'] ) { 199 update_ network_option( 'can_compress_scripts', 0);199 update_site_option('can_compress_scripts', 0); 200 200 } elseif ( 'yes' == $_GET['test'] ) { 201 update_ network_option( 'can_compress_scripts', 1);201 update_site_option('can_compress_scripts', 1); 202 202 } 203 203 }
Note: See TracChangeset
for help on using the changeset viewer.