Version Description
No
Download this release
Release Info
Developer | takien |
Plugin | Easy Table |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- easy-table.php +6 -51
- readme.txt +6 -2
easy-table.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Easy Table
|
|
4 |
Plugin URI: http://takien.com/
|
5 |
Description: Create table in post, page, or widget in easy way.
|
6 |
Author: Takien
|
7 |
-
Version: 1.5.
|
8 |
Author URI: http://takien.com/
|
9 |
*/
|
10 |
|
@@ -106,7 +106,7 @@ function __construct(){
|
|
106 |
private function easy_table_base($return){
|
107 |
$easy_table_base = Array(
|
108 |
'name' => 'Easy Table',
|
109 |
-
'version' => '1.5.
|
110 |
'plugin-domain' => 'easy-table'
|
111 |
);
|
112 |
return $easy_table_base[$return];
|
@@ -345,7 +345,8 @@ ai head, text to shown in the table head row, default is No.
|
|
345 |
* Add attribute for each cell
|
346 |
* @since 0.5
|
347 |
*/
|
348 |
-
preg_match('/\['.$this->option('attrtag').' ([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)/',$cell,$matchattr);
|
|
|
349 |
$attr = isset($matchattr[1]) ? $matchattr[1] : '';
|
350 |
/**
|
351 |
* extract $attr value
|
@@ -952,7 +953,7 @@ no,head1,head2,head3,head4
|
|
952 |
[/table] ';
|
953 |
$tableexample = $defaulttableexample;
|
954 |
if(isset($_POST['test-easy-table'])){
|
955 |
-
$tableexample = $_POST['easy-table-test-area'];
|
956 |
}
|
957 |
|
958 |
if(isset($_POST['test-easy-table-reset'])){
|
@@ -1074,53 +1075,7 @@ col4,col5,col6
|
|
1074 |
</div>
|
1075 |
|
1076 |
<?php elseif($_GET['gettab'] == 'support') : ?>
|
1077 |
-
<p
|
1078 |
-
<p><?php _e('You can use this discussion to get support, request feature or reporting bug.','easy-table');?></p>
|
1079 |
-
<p><a target="_blank" href="http://takien.com/plugins/easy-table"><?php _e('Before you ask something, make sure you have read documentation here!','easy-table');?></a></p>
|
1080 |
-
|
1081 |
-
<div id="disqus_thread"></div>
|
1082 |
-
<script type="text/javascript">
|
1083 |
-
/* <![CDATA[ */
|
1084 |
-
var disqus_url = 'http://takien.com/1126/easy-table-is-the-easiest-way-to-create-table-in-wordpress.php';
|
1085 |
-
var disqus_identifier = '1126 http://takien.com/?p=1126';
|
1086 |
-
var disqus_container_id = 'disqus_thread';
|
1087 |
-
var disqus_domain = 'disqus.com';
|
1088 |
-
var disqus_shortname = 'takien';
|
1089 |
-
var disqus_title = "Easy Table is The Easiest Way to Create Table in WordPress";
|
1090 |
-
var disqus_config = function () {
|
1091 |
-
var config = this;
|
1092 |
-
config.callbacks.preData.push(function() {
|
1093 |
-
// clear out the container (its filled for SEO/legacy purposes)
|
1094 |
-
document.getElementById(disqus_container_id).innerHTML = '';
|
1095 |
-
});
|
1096 |
-
config.callbacks.onReady.push(function() {
|
1097 |
-
// sync comments in the background so we don't block the page
|
1098 |
-
DISQUS.request.get('?cf_action=sync_comments&post_id=1126');
|
1099 |
-
});
|
1100 |
-
};
|
1101 |
-
var facebookXdReceiverPath = 'http://takien.com/wp-content/plugins/disqus-comment-system/xd_receiver.htm';
|
1102 |
-
/* ]]> */
|
1103 |
-
</script>
|
1104 |
-
|
1105 |
-
<script type="text/javascript">
|
1106 |
-
/* <![CDATA[ */
|
1107 |
-
var DsqLocal = {
|
1108 |
-
'trackbacks': [
|
1109 |
-
],
|
1110 |
-
'trackback_url': "http:\/\/takien.com\/1126\/easy-table-is-the-easiest-way-to-create-table-in-wordpress.php\/trackback" };
|
1111 |
-
/* ]]> */
|
1112 |
-
</script>
|
1113 |
-
|
1114 |
-
<script type="text/javascript">
|
1115 |
-
/* <![CDATA[ */
|
1116 |
-
(function() {
|
1117 |
-
var dsq = document.createElement('script'); dsq.type = 'text/javascript';
|
1118 |
-
dsq.async = true;
|
1119 |
-
dsq.src = 'http' + '://' + disqus_shortname + '.' + disqus_domain + '/embed.js?pname=wordpress&pver=2.72';
|
1120 |
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
1121 |
-
})();
|
1122 |
-
/* ]]> */
|
1123 |
-
</script>
|
1124 |
<?php elseif ($_GET['gettab'] == 'about') : ?>
|
1125 |
<?php
|
1126 |
require_once(ABSPATH.'wp-admin/includes/plugin-install.php');
|
4 |
Plugin URI: http://takien.com/
|
5 |
Description: Create table in post, page, or widget in easy way.
|
6 |
Author: Takien
|
7 |
+
Version: 1.5.3
|
8 |
Author URI: http://takien.com/
|
9 |
*/
|
10 |
|
106 |
private function easy_table_base($return){
|
107 |
$easy_table_base = Array(
|
108 |
'name' => 'Easy Table',
|
109 |
+
'version' => '1.5.3',
|
110 |
'plugin-domain' => 'easy-table'
|
111 |
);
|
112 |
return $easy_table_base[$return];
|
345 |
* Add attribute for each cell
|
346 |
* @since 0.5
|
347 |
*/
|
348 |
+
//preg_match('/\['.$this->option('attrtag').' ([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)/',$cell,$matchattr);
|
349 |
+
preg_match('/\['.$this->option('attrtag').' ([^\\]]*)/',$cell,$matchattr);
|
350 |
$attr = isset($matchattr[1]) ? $matchattr[1] : '';
|
351 |
/**
|
352 |
* extract $attr value
|
953 |
[/table] ';
|
954 |
$tableexample = $defaulttableexample;
|
955 |
if(isset($_POST['test-easy-table'])){
|
956 |
+
$tableexample = strip_tags($_POST['easy-table-test-area'],'<p><a><img>');
|
957 |
}
|
958 |
|
959 |
if(isset($_POST['test-easy-table-reset'])){
|
1075 |
</div>
|
1076 |
|
1077 |
<?php elseif($_GET['gettab'] == 'support') : ?>
|
1078 |
+
<p>To ask question, please visit this plugin support on WordPress.org</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1079 |
<?php elseif ($_GET['gettab'] == 'about') : ?>
|
1080 |
<?php
|
1081 |
require_once(ABSPATH.'wp-admin/includes/plugin-install.php');
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: takien
|
|
3 |
Donate link: http://takien.com/donate
|
4 |
Tags: table,csv,csv-to-table,post,excel,csv file,widget,tablesorter
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -248,6 +248,10 @@ No
|
|
248 |
|
249 |
== Changelog ==
|
250 |
|
|
|
|
|
|
|
|
|
251 |
= 1.5.2 =
|
252 |
* Fixed: Bug on 1.5/1.5.1, Easy Table does not work in WordPress prior to version 3.6
|
253 |
|
3 |
Donate link: http://takien.com/donate
|
4 |
Tags: table,csv,csv-to-table,post,excel,csv file,widget,tablesorter
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.2.4
|
7 |
+
Stable tag: 1.5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
248 |
|
249 |
== Changelog ==
|
250 |
|
251 |
+
= 1.5.2 =
|
252 |
+
* Fixed security problems
|
253 |
+
* Removed Disqus comment on support tab
|
254 |
+
|
255 |
= 1.5.2 =
|
256 |
* Fixed: Bug on 1.5/1.5.1, Easy Table does not work in WordPress prior to version 3.6
|
257 |
|