Changeset 8489
- Timestamp:
- 03/22/2019 06:40:28 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-language-pack.php
r8338 r8489 622 622 $zip_file = "{$export_directory}/{$filename}.zip"; 623 623 $build_zip_file = "{$build_directory}/{$wp_locale}.zip"; 624 $build_sig_file = "{$build_zip_file}.sig"; 624 625 625 626 // Update/create directories. … … 716 717 } 717 718 719 // Generate a signature for the ZIP file. 720 if ( false && function_exists( 'wporg_sign_file' ) ) { 721 $signatures = wporg_sign_file( $build_zip_file, 'translation' ); 722 if ( $signatures ) { 723 file_put_contents( $build_sig_file, implode( "\n", $signatures ) ); 724 } 725 } 726 718 727 // Insert language pack into database. 719 728 $result = $this->insert_language_pack( $data->type, $data->domain, $wp_locale, $data->version, $last_modified );
Note: See TracChangeset
for help on using the changeset viewer.