Make WordPress Core


Ignore:
Timestamp:
06/29/2009 08:48:12 PM (15 years ago)
Author:
ryan
Message:

Check that token_get_all() exists before creating documentation links. fixes #10261 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/misc.php

    r11578 r11671  
    273273        return array();
    274274
     275    if ( !function_exists('token_get_all') )
     276        return array();
     277
    275278    $tokens = token_get_all( $content );
    276279    $functions = array();
Note: See TracChangeset for help on using the changeset viewer.