Changeset 3874:ab8368569446 for plugins/fairTrackbacks
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- Location:
- plugins/fairTrackbacks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/fairTrackbacks/_define.php
r3731 r3874 17 17 "Olivier Meunier", // Author 18 18 '1.1', // Version 19 array(19 [ 20 20 'permissions' => 'usage,contentadmin', 21 21 'priority' => 200, 22 22 'type' => 'plugin' 23 )23 ] 24 24 ); -
plugins/fairTrackbacks/class.dc.filter.fairtrackbacks.php
r3731 r3874 37 37 try 38 38 { 39 $default_parse = array('scheme' => '', 'host' => '', 'path' => '', 'query' => '');39 $default_parse = ['scheme' => '', 'host' => '', 'path' => '', 'query' => '']; 40 40 $S = array_merge($default_parse, parse_url($site)); 41 41 … … 45 45 46 46 # Check incomink link page 47 $post = $this->core->blog->getPosts( array('post_id' => $post_id));47 $post = $this->core->blog->getPosts(['post_id' => $post_id]); 48 48 $post_url = $post->getURL(); 49 49 $P = array_merge($default_parse, parse_url($post_url));
Note: See TracChangeset
for help on using the changeset viewer.