WordPress.org

Plugin Directory

adi-adsense

Opened 8 years ago

#363 new defect

User input for Reference Production

Reported by: mattyrob Owned by: Oodi
Priority: normal Severity: normal
Plugin: adi-adsense Keywords:
Cc:

Description

I love the plugin but I didn't like the list of references made from the links contained in the post. I can disable this in the plugin myself but how about letting all user access this level of functionality?

Add something like:

define('REFERENCE', FALSE);

near the top and insert:

if ( defined('REFERENCE') && TRUE === REFERENCE ) {

immediately before:

for ($i=0; $i < count($matches[0]); $i++) {

with a closing bracket later on in the appropriate place.

I can provide my edited source if needed.

Change History (0)

Note: See TracTickets for help on using tickets.