Ticket #2953: 2953.patch
File 2953.patch, 847 bytes (added by , 7 years ago) |
---|
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
85 85 // Determine the plugin slug based on the name of the plugin in the main plugin file. 86 86 $this->plugin_slug = remove_accents( $this->plugin['Name'] ); 87 87 $this->plugin_slug = preg_replace( '/[^a-z0-9 _.-]/i', '', $this->plugin_slug ); 88 $this->plugin_slug = str_replace( '_', '-', $this->plugin_slug ); 88 89 $this->plugin_slug = sanitize_title_with_dashes( $this->plugin_slug ); 89 90 90 91 if ( ! $this->plugin_slug ) {