Plugin Directory

Changeset 2026621


Ignore:
Timestamp:
02/07/2019 02:50:09 PM (7 years ago)
Author:
vashkatsi
Message:

fix phpQuery loading too much

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbq/tags/1.4.4/includes/BbqHelper.php

    r1961346 r2026621  
    103103            }
    104104            $tempString .= $paragraphs[$index];
    105             $doc = phpQuery::newDocument($tempString);
    106105
    107106            if ($paragraphId === $index + 1) {
     
    116115                }
    117116                if ($excludedAdvertisementContainerClasses) {
     117                    $doc = phpQuery::newDocument($tempString);
    118118                    $elem = $doc->find($tag . ':last');
    119119                    if (self::checkWrapperClassExist($excludedAdvertisementContainerClasses, $elem)) {
Note: See TracChangeset for help on using the changeset viewer.