Changeset 10971 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
- Timestamp:
- 05/13/2021 07:20:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r10726 r10971 297 297 /** 298 298 * Action that fires after a plugin is imported. 299 * 299 * 300 300 * @param WP_Post $plugin The plugin updated. 301 301 * @param string $stable_tag The new stable tag for the plugin. … … 680 680 * @return string The plugin readme.txt or readme.md filename. 681 681 */ 682 static function find_readme_file( $directory ) {682 public static function find_readme_file( $directory ) { 683 683 $files = Filesystem::list_files( $directory, false /* non-recursive */, '!(?:^|/)readme\.(txt|md)$!i' ); 684 684 … … 700 700 * @return object The plugin headers. 701 701 */ 702 static function find_plugin_headers( $directory ) {702 public static function find_plugin_headers( $directory ) { 703 703 $files = Filesystem::list_files( $directory, false, '!\.php$!i' ); 704 704
Note: See TracChangeset
for help on using the changeset viewer.