Plugin Directory

Changeset 1389474


Ignore:
Timestamp:
04/07/2016 03:01:34 PM (10 years ago)
Author:
quanganhdo
Message:

Test against WP 4.4.2

Location:
nicer-permalinks-for-vietnamese
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • nicer-permalinks-for-vietnamese/trunk/np4v.php

    r27174 r1389474  
    22/*
    33Plugin Name: Nicer permalinks for Vietnamese
    4 Plugin URI: http://onetruebrace.com/nicer-permalinks-for-vietnamese
    5 Description: A simple plugin to remove Vietnamese accents from permalinks
     4Plugin URI: https://wordpress.org/plugins/nicer-permalinks-for-vietnamese/
     5Description: A simple plugin to remove Vietnamese diacritics from permalinks
    66Author: Quang Anh Do
    7 Version: 1.0
    8 Author URI: http://onetruebrace.com
     7Version: 1.0.1
     8Author URI: http://anh.lv
    99*/
    1010
    11 function qad_remove_accents($string) {
     11function anh_remove_diacritics($string) {
    1212  $trans = array(
    1313    'à'=>'a','á'=>'a','ả'=>'a','ã'=>'a','ạ'=>'a',
     
    4040}
    4141
    42 add_filter('sanitize_title', 'qad_remove_accents', 1);
     42add_filter('sanitize_title', 'anh_remove_diacritics', 1);
    4343
    4444?>
  • nicer-permalinks-for-vietnamese/trunk/readme.txt

    r27174 r1389474  
    11=== Plugin Name ===
    22Contributors: quanganhdo
    3 Donate link: http://onetruebrace.com/
    4 Tags: vietnamese, permalink
     3Donate link: http://anh.lv
     4Tags: vietnamese, permalink, diacritic
    55Requires at least: 2.0
    6 Tested up to: 2.3.1
     6Tested up to: 4.4.2
    77Stable tag: 1.0
     8License: GPLv2 or later
     9License URI: http://www.gnu.org/licenses/gpl-2.0.html
    810
    911Remove ugly characters like %xx from your permalink
     
    17191. Upload `np4v.php` to the `/wp-content/plugins/` directory
    18201. Activate the plugin through the 'Plugins' menu in WordPress
    19 
    20 More Info: [Click here to read my blog post](http://onetruebrace.com/nicer-permalinks-for-vietnamese np4v)
Note: See TracChangeset for help on using the changeset viewer.