WordPress.org

Plugin Directory

advanced-excerpt

Opened 8 years ago

Closed 5 years ago

#1110 closed defect (fixed)

Typo in advanced-excerpt.php on line 170?

Reported by: walokra Owned by: basvd
Priority: low Severity: trivial
Plugin: advanced-excerpt Keywords: typo
Cc:

Description

There seems to be a typo on advanced-excerpt.php on line 170 which shows only when you show all PHP errors. Like:

error_reporting(E_ALL);
ini_set("display_errors", 1);

The error that the plugin gives is "Use of undefined constant in_tag - assumed 'in_tag' in ..."

And is fixed by the following change:

if(!in_tag + if(!$in_tag
strpos($chunk, '>') !== false)
strpos($chunk, '>') !== false)

Change History (1)

comment:1 @garyc405 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [586507]:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.