Changeset 4325 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-language-pack.php
- Timestamp:
- 11/03/2016 10:10:35 AM (8 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
r4013 r4325 88 88 } 89 89 90 /** 91 * Filters the arguments passed to the WP-CLI command. 92 * 93 * @param array $args CLI arguments. 94 * @param string $slug Slug of the theme. 95 */ 96 $args = apply_filters( 'wporg_translate_language_pack_plugin_args', $args, $slug ); 97 90 98 if ( $args['locale'] ) { 91 99 $translation_sets = wp_list_filter( $translation_sets, [ … … 149 157 WP_CLI::error( 'No translation sets available.' ); 150 158 } 159 160 /** 161 * Filters the arguments passed to the WP-CLI command. 162 * 163 * @param array $args CLI arguments. 164 * @param string $slug Slug of the theme. 165 */ 166 $args = apply_filters( 'wporg_translate_language_pack_theme_args', $args, $slug ); 151 167 152 168 if ( $args['locale'] ) {
Note: See TracChangeset
for help on using the changeset viewer.