[wp-hackers] A Humble Request
Russ Gilbert
russgilbert at gmail.com
Wed Nov 18 21:53:20 UTC 2009
Oh that's perfect. I will add to my foundation plugin - thanks!!!
Trac ticket entered.
-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Andrew Nacin
Sent: Wednesday, November 18, 2009 1:51 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] A Humble Request
See also:
http://core.trac.wordpress.org/ticket/2702
http://core.trac.wordpress.org/ticket/6362
Here's a quick way to remove that text:
add_filter('gettext', 'remove_janky_page_order');
function remove_janky_page_order($translated) {
$janky = 'Pages are usually ordered alphabetically, but you can put a
number above to change the order pages appear in. (We know this is a little
janky, it’ll be better in future releases.)';
if ($translated == $janky)
return 'Pages are usually ordered alphabetically, but you can put a
number above to change the order pages appear in.';
return $translated;
}
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list