Ticket #2821: 2821.patch
File 2821.patch, 821 bytes (added by , 8 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
83 83 } 84 84 85 85 // Determine the plugin slug based on the name of the plugin in the main plugin file. 86 $this->plugin_slug = sanitize_title _with_dashes( $this->plugin['Name'] );86 $this->plugin_slug = sanitize_title( $this->plugin['Name'] ); 87 87 88 88 // Make sure it doesn't use a slug deemed not to be used by the public. 89 89 if ( $this->has_reserved_slug() ) {