Support » Plugin: WP Awesome FAQ Plugin » php 7.2 support

  • wp-content/plugins/wp-awesome-faq/index.php +233

    
    $links[] = 
    
    needs to be
    
    $links = array( '<a href="'.WP_AWESOME_FAQ_PRO_URL.'" target="_blank" rel="noopener noreferrer">'._x('Upgrade', 'Plugin action link label.', 'jeweltheme').'</a>');
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Liton Arefin

    (@litonice13)

    Fixed and updated.

    Wrong fix in the new release. Line 233 should not be:

    $links[] = '<a href="'.WP_AWESOME_FAQ_PRO_URL.'" style="color:#fff; padding:3px 10px; background: red;" target="_blank">'. array(". _x('Upgrade', 'Plugin action link label.', 'jeweltheme') ").'</a>';

    but:

    $links = array('<a href="'.WP_AWESOME_FAQ_PRO_URL.'" style="color:#fff; padding:3px 10px; background: red;" target="_blank">'. _x('Upgrade', 'Plugin action link label.', 'jeweltheme') .'</a>');

    Please check and update.

    Best Regards

    In fact it should simply be:

    $links[] = '<a href="'.WP_AWESOME_FAQ_PRO_URL.'" style="color:#fff; padding:3px 10px; background: red;" target="_blank">'. _x('Upgrade', 'Plugin action link label.', 'jeweltheme') .'</a>';

    In order to keep other links as well.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.