Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Removed the priority from the_content() filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Aug 9, 2012
1 parent 710633e commit 40411ee
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pronamic-page-teasers.php
Expand Up @@ -40,13 +40,6 @@ class PronamicPageTeasers {
*/
const META_KEY_TEASERS = '_pronamic_page_teasers';

/**
* The default 'the_content' priority
*
* @var int
*/
const FILTER_THE_CONTENT_PRIORITY = 20;

////////////////////////////////////////////////////////////

/**
Expand All @@ -68,7 +61,7 @@ public static function init() {

add_action('admin_init', array(__CLASS__, 'adminInitialize'));

add_filter('the_content', 'pronamic_page_teasers_the_content', self::FILTER_THE_CONTENT_PRIORITY);
add_filter( 'the_content', 'pronamic_page_teasers_the_content' );
}

////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 40411ee

Please sign in to comment.