WordPress.org

Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #1698, comment 1


Ignore:
Timestamp:
05/07/2016 07:16:22 AM (4 years ago)
Author:
Nikschavan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1698, comment 1

    initial v1  
    11After looking into the code, it seems that this specifically issues for the meta-environment. The database in this environment does not have the required terms.
     2
     3{{{#!php
     4<?php
     5$version = get_terms( 'wp-parser-since', array(
     6        'number' => '1',
     7        'order'  => 'DESC',
     8        'name'   => $current_version,
     9) );
     10}}}