Changeset 8640
- Timestamp:
- 04/16/2019 07:04:32 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-make-core-pot.php
r7810 r8640 52 52 WP_CLI::error( 'Unsupported WordPress version. Use makepot.php.' ); 53 53 } 54 55 $extract_js = version_compare( $wp_version, '5.0-beta', '>=' );56 54 57 55 $dry_run = Utils\get_flag_value( $assoc_args, 'dry-run', false ); … … 114 112 $command .= ' --ignore-domain'; 115 113 116 if ( ! $extract_js) {114 if ( version_compare( $wp_version, '5.0-beta', '<' ) ) { 117 115 $command .= ' --skip-js'; 118 116 } … … 161 159 $command .= ' --headers=' . escapeshellarg( $headers ); 162 160 $command .= ' --file-comment=' . escapeshellarg( $file_comment ); 163 $command .= ' --skip-js'; // TODO: No use of wp.i18n, yet. 164 $command .= ' --skip-audit'; 165 $command .= ' --ignore-domain'; 161 $command .= ' --skip-audit'; 162 $command .= ' --ignore-domain'; 163 164 if ( version_compare( $wp_version, '5.2-beta', '<' ) ) { 165 $command .= ' --skip-js'; 166 } 166 167 167 168 WP_CLI::line( $command );
Note: See TracChangeset
for help on using the changeset viewer.