WordPress.org

Make WordPress Core

Ticket #3976: functions_php.patch

File functions_php.patch, 381 bytes (added by harkos, 13 years ago)

Adds l() and le()

  • functions.php

     
    14431443        }
    14441444}
    14451445
     1446// Support theme translation
     1447function __l($text) {
     1448   return apply_filters('translate', $text);
     1449}
     1450
     1451function __le($text) {
     1452   echo __l($text);
     1453}
     1454
    14461455?>
     1456 No newline at end of file