[wp-trac] Re: [WordPress Trac] #5704: Pre-fill the new edit slug
box with current slug
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 25 07:10:24 GMT 2008
#5704: Pre-fill the new edit slug box with current slug
----------------------------+-----------------------------------------------
Reporter: johnbillion | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.5
Component: Administration | Version: 2.5
Severity: minor | Resolution:
Keywords: has-patch |
----------------------------+-----------------------------------------------
Comment (by nbachiyski):
The problem comes with post names, which contain lots of non-ascii
characters (cyrillic for example). Thus, they will get url encoded and the
url will look sth like: {{{%d0%b0%d1%80%d…87%d1%82%d0%b0}}}. I really
don't want my edit box the be pre-filled with this one.
So, here is a sample solution: we will pre-fill only if the %s are less
than a quarter of the length of the slug. Patch attached.
--
Ticket URL: <http://trac.wordpress.org/ticket/5704#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list