[wp-hackers] A Humble Request

Andrew Nacin anacin at gwhatchet.com
Wed Nov 18 21:51:15 UTC 2009


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;
}


More information about the wp-hackers mailing list