WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Category Excluder
Warning & Patch to Fix (1 post)

  1. Jose Luis SAYAGO
    Member
    Posted 8 months ago #

    Hi,

    I found there are some single quotes missing for two text domain strings. I just fixed them to avoid warning notices when WordPress debug mode is on:

    // Before
    $ace_targets = array('is_archive'=>__('Archive','ace'),'is_home'=>__('Home','ace'),'is_feed'=>__('RSS Posts','ace'),'is_comment_feed'=>__('RSS Comments','ace'),'is_search'=>__('Search','ace'), 'is_page'=>__('Pages', ace), 'is_single'=>__('Single Posts', ace),'norobots'=>__('Disable robots','ace'));

    Fix:

    // After
    // Line 309
    // File: advanced-category-excluder.php
    $ace_targets = array('is_archive'=>__('Archive','ace'),'is_home'=>__('Home','ace'),'is_feed'=>__('RSS Posts','ace'),'is_comment_feed'=>__('RSS Comments','ace'),'is_search'=>__('Search','ace'), 'is_page'=>__('Pages', 'ace'), 'is_single'=>__('Single Posts', 'ace'),'norobots'=>__('Disable robots','ace'));

    Cheers.

    http://wordpress.org/plugins/advanced-category-excluder/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by Jose Luis SAYAGO
  • This topic is not resolved
  • WordPress version: 3.5.2

Tags