Plugin Directory

Changeset 1765558


Ignore:
Timestamp:
11/14/2017 02:04:34 AM (8 years ago)
Author:
hotsource
Message:

Fixed JS loading issues API

Location:
trigger-happy
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trigger-happy/tags/1.0/src/api/FlowHooksController.php

    r1765556 r1765558  
    149149        $data = array();
    150150        foreach ( $items as $type => $nodeData ) {
    151             die (sanitize_title( $nodeData['plugin'] ));
    152             if ( $byplugin && ( ! isset( $nodeData['plugin'] ) || sanitize_title( $nodeData['plugin'] ) != $byplugin ) )  {
     151           
     152            if ( $byplugin && ( ! isset( $nodeData['plugin'] ) || $nodeData['plugin'] == '' || sanitize_title( $nodeData['plugin'] ) != $byplugin ) )  {
    153153                continue;
    154154            }
  • trigger-happy/tags/1.0/trigger-happy.php

    r1765556 r1765558  
    44Plugin URI: http://hotsource.io/
    55Description: Connect your plugins and automate your workflow with Trigger Happy - a powerful flow-based visual scripting and automation tool
    6 Version: 1.0.1.2
     6Version: 1.0.1.3
    77Text Domain: trigger-happy
    88*/
  • trigger-happy/trunk/src/api/FlowHooksController.php

    r1765556 r1765558  
    149149        $data = array();
    150150        foreach ( $items as $type => $nodeData ) {
    151             die (sanitize_title( $nodeData['plugin'] ));
    152             if ( $byplugin && ( ! isset( $nodeData['plugin'] ) || sanitize_title( $nodeData['plugin'] ) != $byplugin ) )  {
     151           
     152            if ( $byplugin && ( ! isset( $nodeData['plugin'] ) || $nodeData['plugin'] == '' || sanitize_title( $nodeData['plugin'] ) != $byplugin ) )  {
    153153                continue;
    154154            }
  • trigger-happy/trunk/trigger-happy.php

    r1765556 r1765558  
    44Plugin URI: http://hotsource.io/
    55Description: Connect your plugins and automate your workflow with Trigger Happy - a powerful flow-based visual scripting and automation tool
    6 Version: 1.0.1.2
     6Version: 1.0.1.3
    77Text Domain: trigger-happy
    88*/
Note: See TracChangeset for help on using the changeset viewer.