Make WordPress Core


Ignore:
Timestamp:
02/22/2013 04:50:40 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Eleven: ensure twentyeleven_url_grabber() is pluggable by wrapping in a function_exists check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/functions.php

    r23000 r23474  
    459459endif; // twentyeleven_content_nav
    460460
     461if ( ! function_exists( 'twentyeleven_url_grabber' ) ) :
    461462/**
    462463 * Return the URL for the first link found in the post content.
     
    471472    return esc_url_raw( $matches[1] );
    472473}
     474endif;
    473475
    474476/**
Note: See TracChangeset for help on using the changeset viewer.