Skip to content
Public Ticket #15232

media.php implode function

Conversation thread

Penci Design replied

Staff Reply

Hi,

Thank you for your all feedback.

I update the fixed to the latest update version of PenNews theme

Best Regards,

PenciDesign

mtnetadmin started the conversation

Conversation Start

Hello

Just a heads up...


The PHP implode() function in "/wp-content/themes/pennews/inc/media.php" is throwing a notice because the order of arguments is incorrect - for now is automatically being correct by PHP but this will probably break in future versions of PHP and result in a fatal error.

Changing:

$string_end = implode( $array_end, ':300,300italic,400,400italic,500,500italic,700,700italic,800,800italic|' );

to:

$string_end = implode( ':300,300italic,400,400italic,500,500italic,700,700italic,800,800italic|', $array_end );

Seems to fix it.  

Regards

Want to join this conversation or access attachments? Sign in first.