Version Description
Download this release
Release Info
Developer | takayukister |
Plugin | Contact Form 7 |
Version | 1.10.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.10 to 1.10.0.1
- README.txt +1 -1
- wp-contact-form-7.php +11 -2
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://pledgie.com/campaigns/3117
|
|
4 |
Tags: contact, contact form, email, ajax, captcha, akismet
|
5 |
Requires at least: 2.5
|
6 |
Tested up to: 2.8-beta2
|
7 |
-
Stable tag: 1.10
|
8 |
|
9 |
Just another contact form plugin. Simple but flexible.
|
10 |
|
4 |
Tags: contact, contact form, email, ajax, captcha, akismet
|
5 |
Requires at least: 2.5
|
6 |
Tested up to: 2.8-beta2
|
7 |
+
Stable tag: 1.10.0.1
|
8 |
|
9 |
Just another contact form plugin. Simple but flexible.
|
10 |
|
wp-contact-form-7.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form 7
|
|
4 |
Plugin URI: http://ideasilo.wordpress.com/2007/04/30/contact-form-7/
|
5 |
Description: Just another contact form plugin. Simple but flexible.
|
6 |
Author: Takayuki Miyoshi
|
7 |
-
Version: 1.10
|
8 |
Author URI: http://ideasilo.wordpress.com/
|
9 |
*/
|
10 |
|
@@ -25,7 +25,7 @@ Author URI: http://ideasilo.wordpress.com/
|
|
25 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26 |
*/
|
27 |
|
28 |
-
define( 'WPCF7_VERSION', '1.10' );
|
29 |
|
30 |
if ( ! defined( 'WP_CONTENT_DIR' ) )
|
31 |
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
|
@@ -69,6 +69,15 @@ if ( ! defined( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY' ) )
|
|
69 |
|
70 |
function wpcf7_plugin_url( $path = '' ) {
|
71 |
if ( function_exists( 'plugins_url' ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
return plugins_url( $path, __FILE__ );
|
73 |
} else { // Older than WP 2.6
|
74 |
$url = WPCF7_PLUGIN_URL;
|
4 |
Plugin URI: http://ideasilo.wordpress.com/2007/04/30/contact-form-7/
|
5 |
Description: Just another contact form plugin. Simple but flexible.
|
6 |
Author: Takayuki Miyoshi
|
7 |
+
Version: 1.10.0.1
|
8 |
Author URI: http://ideasilo.wordpress.com/
|
9 |
*/
|
10 |
|
25 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26 |
*/
|
27 |
|
28 |
+
define( 'WPCF7_VERSION', '1.10.0.1' );
|
29 |
|
30 |
if ( ! defined( 'WP_CONTENT_DIR' ) )
|
31 |
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
|
69 |
|
70 |
function wpcf7_plugin_url( $path = '' ) {
|
71 |
if ( function_exists( 'plugins_url' ) ) {
|
72 |
+
|
73 |
+
if ( version_compare( $wp_version, '2.8-beta', '<' ) ) { // Using WordPress 2.6 - 2.7.x
|
74 |
+
$folder = dirname( plugin_basename( __FILE__ ) );
|
75 |
+
if ( '.' != $folder )
|
76 |
+
$path = path_join( ltrim( $folder, '/' ), $path );
|
77 |
+
|
78 |
+
return plugins_url( $path );
|
79 |
+
}
|
80 |
+
|
81 |
return plugins_url( $path, __FILE__ );
|
82 |
} else { // Older than WP 2.6
|
83 |
$url = WPCF7_PLUGIN_URL;
|