Plugin Directory

Changeset 2111012


Ignore:
Timestamp:
06/23/2019 10:15:29 PM (7 years ago)
Author:
chrisy
Message:

Fully qualified method overrides did not work

  • The method override was not working as expected if you fully qualified the method name.
Location:
tfo-graphviz/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tfo-graphviz/trunk/readme.txt

    r2110968 r2111012  
    210210
    211211= 1.19 =
    212 * Nothing yet!
     212* The method override was not working as expected if you fully qualified the method name.
    213213
    214214= 1.18 =
  • tfo-graphviz/trunk/tfo-graphviz.php

    r2110968 r2111012  
    296296        // Override the rendering method
    297297        if (!empty($atts['method']))
    298             if (!empty('TFO_Graphviz_' . $this->methods[$atts['method']])) {
     298            if (!empty($this->methods['TFO_Graphviz_' . $atts['method']])) {
    299299                # Shorthand
    300300                $gv_method = 'TFO_Graphviz_' . $atts['method'];
Note: See TracChangeset for help on using the changeset viewer.