Plugin Directory

Changeset 1483156


Ignore:
Timestamp:
08/25/2016 08:26:24 AM (9 years ago)
Author:
balessan
Message:

Fixing critical bug on resource viewing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-ldp/trunk/single-ldp_resource.php

    r1473123 r1483156  
    33<?php
    44  // Getting general information about the container associated with the current resource
    5   $fields = WpLdpUtils::getResourceFieldsList($post->ID);
     5  $fields = \WpLdp\WpLdpUtils::getResourceFieldsList($post->ID);
    66  $rdfType = isset($termMeta["ldp_rdf_type"]) ? $termMeta["ldp_rdf_type"] : null;
    77?>
     
    134134          <?php if (!empty($rdfType)) echo "\"@type\" : \"$rdfType\",\n"; ?>
    135135          <?php
    136           $resourceUri = WpLdpUtils::getResourceUri($post);
     136          $resourceUri = \WpLdp\WpLdpUtils::getResourceUri($post);
    137137
    138138          ?>
Note: See TracChangeset for help on using the changeset viewer.