Skip to content

Commit d61b0fe

Browse files
committed
Placing initial files.
0 parents  commit d61b0fe

17 files changed

+5295
-0
lines changed

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/test export-ignore
2+
/tool export-ignore
3+
_note export-ignore
4+
5+
.gitattributes export-ignore
6+
.gitignore export-ignore
7+
*.vbs export-ignore
8+
*.ini export-ignore
9+
*.bak export-ignore
10+
*.old export-ignore
11+
*.idea export-ignore

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Externals
2+
# /tool
3+
/v2
4+
5+
# Editor Files
6+
.idea
7+
_memos
8+
9+
# backup files.
10+
*.old
11+
*.bak
12+
13+
# Compiled source #
14+
###################
15+
*.com
16+
*.class
17+
*.dll
18+
*.exe
19+
*.o
20+
*.so
21+
22+
# Packages #
23+
############
24+
# it's better to unpack these files and commit the raw source
25+
# git has its own built in compression methods
26+
*.7z
27+
*.dmg
28+
*.gz
29+
*.iso
30+
*.jar
31+
*.rar
32+
*.tar
33+
*.zip
34+
35+
# Logs and databases #
36+
######################
37+
*.log
38+
*.sql
39+
*.sqlite
40+
41+
# OS generated files #
42+
######################
43+
.DS_Store
44+
.DS_Store?
45+
._*
46+
.Spotlight-V100
47+
.Trashes
48+
ehthumbs.db
49+
Thumbs.db

_fix-simplepie-errors.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
/**
3+
* Plugin Name: Fix - SimplePie Errors
4+
* Plugin URI: http://en.michaeluno.jp/
5+
* Description: Fixes an incompatibility issue of the built-in library, SimplePie 1.3.1, with PHP 7.1 or above.
6+
* Author: Michael Uno
7+
* Author URI: http://en.michaeluno.jp/
8+
* Version: 1.0.0
9+
*/
10+
11+
if ( class_exists( 'SimplePie' ) ) {
12+
return;
13+
}
14+
15+
class Registry_FixSimplePieErrors {
16+
17+
static public $sFilePath = __FILE__;
18+
static public $sDirPath = '';
19+
20+
static public function setUp() {
21+
self::$sDirPath = dirname( self::$sFilePath );
22+
}
23+
}
24+
Registry_FixSimplePieErrors::setUp();
25+
26+
27+
include( dirname( __FILE__ ) . '/include/class-simplepie.php' );

0 commit comments

Comments
 (0)