iframe - Version 2.4

Version Description

  • 2012-10-31 =
  • minor changes
Download this release

Release Info

Developer webvitaly
Plugin Icon wp plugin iframe
Version 2.4
Comparing to
See all releases

Code changes from version 2.3 to 2.4

Files changed (2) hide show
  1. iframe.php +15 -4
  2. readme.txt +7 -5
iframe.php CHANGED
@@ -1,14 +1,15 @@
1
  <?php
2
  /*
3
  Plugin Name: iframe
4
- Plugin URI: http://web-profile.com.ua/wordpress/plugins/iframe/
5
  Description: [iframe src="http://player.vimeo.com/video/819138" width="100%" height="480"] shortcode
6
- Version: 2.3
7
  Author: webvitaly
8
- Author URI: http://web-profile.com.ua/wordpress/
9
  License: GPLv2 or later
10
  */
11
 
 
12
  if ( !function_exists( 'iframe_embed_shortcode' ) ) :
13
 
14
  function iframe_enqueue_script() {
@@ -73,7 +74,7 @@ if ( !function_exists( 'iframe_embed_shortcode' ) ) :
73
  ';
74
  }
75
  }
76
- $html .= "\n".'<!-- iframe plugin v:2.3 - wordpress.org/extend/plugins/iframe/ -->'."\n";
77
  $html .= '<iframe';
78
  foreach ($atts as $attr => $value) {
79
  if( $attr != 'same_height_as' ){ // remove some attributes
@@ -90,3 +91,13 @@ if ( !function_exists( 'iframe_embed_shortcode' ) ) :
90
  add_shortcode('iframe', 'iframe_embed_shortcode');
91
 
92
  endif;
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  /*
3
  Plugin Name: iframe
4
+ Plugin URI: http://wordpress.org/extend/plugins/iframe/
5
  Description: [iframe src="http://player.vimeo.com/video/819138" width="100%" height="480"] shortcode
6
+ Version: 2.4
7
  Author: webvitaly
8
+ Author URI: http://profiles.wordpress.org/webvitaly/
9
  License: GPLv2 or later
10
  */
11
 
12
+
13
  if ( !function_exists( 'iframe_embed_shortcode' ) ) :
14
 
15
  function iframe_enqueue_script() {
74
  ';
75
  }
76
  }
77
+ $html .= "\n".'<!-- iframe plugin v.2.4 wordpress.org/extend/plugins/iframe/ -->'."\n";
78
  $html .= '<iframe';
79
  foreach ($atts as $attr => $value) {
80
  if( $attr != 'same_height_as' ){ // remove some attributes
91
  add_shortcode('iframe', 'iframe_embed_shortcode');
92
 
93
  endif;
94
+
95
+
96
+ function iframe_unqprfx_plugin_meta( $links, $file ) { // add 'Support' and 'Donate' links to plugin meta row
97
+ if ( strpos( $file, 'iframe.php' ) !== false ) {
98
+ $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/wordpress/plugins/iframe/" title="Need help?">' . __('Support') . '</a>' ) );
99
+ $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/donate/" title="Support the development">' . __('Donate') . '</a>' ) );
100
+ }
101
+ return $links;
102
+ }
103
+ add_filter( 'plugin_row_meta', 'iframe_unqprfx_plugin_meta', 10, 2 );
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webvitaly
3
  Donate link: http://web-profile.com.ua/donate/
4
  Tags: iframe, embed, youtube, vimeo, google-map, google-maps
5
  Requires at least: 3.0
6
- Tested up to: 3.4.2
7
- Stable tag: 2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -16,14 +16,13 @@ Use iframe to embed video from YouTube or Vimeo or to embed Google Map or just t
16
 
17
  Embed iframe using shortcode `[iframe src="http://player.vimeo.com/video/819138" width="100%" height="480"]`
18
 
19
- [All iframe params](http://wordpress.org/extend/plugins/iframe/other_notes/)
20
 
21
- [iframe plugin page](http://web-profile.com.ua/wordpress/plugins/iframe/)
22
 
23
  = Useful plugins: =
24
  * ["Page-list" - show list of pages with shortcodes](http://wordpress.org/extend/plugins/page-list/ "list of pages with shortcodes")
25
  * ["Anti-spam" - block spam in comments](http://wordpress.org/extend/plugins/anti-spam/ "no spam, no captcha")
26
- * ["Login-Logout" - default Meta widget replacement](http://wordpress.org/extend/plugins/login-logout/ "default Meta widget replacement")
27
  * ["Filenames to latin" - sanitize filenames to latin during upload](http://wordpress.org/extend/plugins/filenames-to-latin/ "sanitize filenames to latin")
28
 
29
  == Other Notes ==
@@ -50,6 +49,9 @@ Embed iframe using shortcode `[iframe src="http://player.vimeo.com/video/819138"
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 2.3 - 2012.09.09 =
54
  * small fixes
55
  * added (src="http://player.vimeo.com/video/819138") by default
3
  Donate link: http://web-profile.com.ua/donate/
4
  Tags: iframe, embed, youtube, vimeo, google-map, google-maps
5
  Requires at least: 3.0
6
+ Tested up to: 3.5
7
+ Stable tag: 2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
16
 
17
  Embed iframe using shortcode `[iframe src="http://player.vimeo.com/video/819138" width="100%" height="480"]`
18
 
19
+ **[All iframe params](http://wordpress.org/extend/plugins/iframe/other_notes/)**
20
 
21
+ [iframe support page](http://web-profile.com.ua/wordpress/plugins/iframe/)
22
 
23
  = Useful plugins: =
24
  * ["Page-list" - show list of pages with shortcodes](http://wordpress.org/extend/plugins/page-list/ "list of pages with shortcodes")
25
  * ["Anti-spam" - block spam in comments](http://wordpress.org/extend/plugins/anti-spam/ "no spam, no captcha")
 
26
  * ["Filenames to latin" - sanitize filenames to latin during upload](http://wordpress.org/extend/plugins/filenames-to-latin/ "sanitize filenames to latin")
27
 
28
  == Other Notes ==
49
 
50
  == Changelog ==
51
 
52
+ = 2.4 - 2012-10-31 =
53
+ * minor changes
54
+
55
  = 2.3 - 2012.09.09 =
56
  * small fixes
57
  * added (src="http://player.vimeo.com/video/819138") by default