Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

492: Replace sanitize_title() with a function that allows periods #493

Merged
merged 5 commits into from Jul 7, 2016

Conversation

toolstack
Copy link
Contributor

Resolves #492.

@toolstack toolstack added this to the 2.1 milestone Jul 5, 2016
@toolstack toolstack force-pushed the 492-project-slug-sanitization branch from d51e7f5 to 4c92984 Compare July 5, 2016 21:30
* @return string The sanitized title.
*/
function gp_sanitize_project_name( $project_name ) {
$project_name = strip_tags( $project_name );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first line should be $project_name = remove_accents( $project_name );, see sanitize_title().

@ocean90 ocean90 merged commit ab81710 into develop Jul 7, 2016
@ocean90 ocean90 deleted the 492-project-slug-sanitization branch July 7, 2016 12:45
@ocean90 ocean90 self-assigned this Jul 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants