WordPress.org

Plugin Directory

podpress

Opened 4 years ago

#1060 new enhancement

props: enhancement for the variables tempFileSystemPath and tempFileURLPath

Reported by: ntm Owned by: seek3r
Priority: low Severity: minor
Plugin: podpress Keywords: podpress, tempFileSystemPath, tempFileURLPath, absolute path, absolute URL
Cc: seek3r, azaozz, ntm

Description

These variables are used in the podPress_class function of the podPress_class class in the file podPress_class.php.

tempFileSystemPath is the folder ... /wp-content/uploads/podpress_temp were the stats chart images are stored. This variable should contain the absolute path name to this folder.

Originally the folder name is assembled this way

$this->tempFileSystemPath = ABSPATH.get_option('upload_path').'/podpress_temp';

The folder name will be always constructed out of the ABSPATH const and the upload_path. On the other hand it seems to be no problem to enter the absolute path for the upload folder at the Miscellaneous Settings page of WP. And if someone does that then there would be no stats charts.

The attachment of this ticket contains a patch for this.

But this is a limited enhancement and maybe it would be better to think a about more sophisticated solutions. Or what did you think about this?

Attachments (1)

podpress_class_enhancement.diff (2.4 KB) - added by ntm 4 years ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.