Plugin Directory

Changeset 1515152


Ignore:
Timestamp:
10/15/2016 12:09:33 AM (9 years ago)
Author:
yoihito
Message:

Fixed a syntax error at lower PHP version.

Location:
tapwarp
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • tapwarp/tags/0.1.9/tapwarp.php

    r1485656 r1515152  
    44Plugin URI: http://twdemo.qaon.net/
    55Description: Upload pictures from smartphone to wordpress easily.
    6 Version:     0.1.8
     6Version:     0.1.9
    77Author:      Yuxiang Mao
    88Author URI:  http://qaon.net
     
    478478        );
    479479
    480         $post_id=media_handle_upload(0, 0, array(), ['test_form' => false, 'test_upload'=>false, 'action' => 'tapwarp-upload']);
     480        $post_id=media_handle_upload(0, 0, array(), array('test_form' => false, 'test_upload'=>false, 'action' => 'tapwarp-upload'));
    481481        if (!is_integer($post_id))
    482482        {
  • tapwarp/trunk/tapwarp.php

    r1485656 r1515152  
    44Plugin URI: http://twdemo.qaon.net/
    55Description: Upload pictures from smartphone to wordpress easily.
    6 Version:     0.1.8
     6Version:     0.1.9
    77Author:      Yuxiang Mao
    88Author URI:  http://qaon.net
     
    478478        );
    479479
    480         $post_id=media_handle_upload(0, 0, array(), ['test_form' => false, 'test_upload'=>false, 'action' => 'tapwarp-upload']);
     480        $post_id=media_handle_upload(0, 0, array(), array('test_form' => false, 'test_upload'=>false, 'action' => 'tapwarp-upload'));
    481481        if (!is_integer($post_id))
    482482        {
Note: See TracChangeset for help on using the changeset viewer.