Skip to content

Commit 4785931

Browse files
committed
external links and text/description fix
1 parent 0b5398b commit 4785931

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/admin-tab-galleries.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838

3939
<small><strong><em><?php _e( 'Custom expression guidelines:', 'mfbfw' ); ?></em></strong></small><br />
4040

41-
<small><em><?php _e( '&middot; The custom expression has to apply <code>class="fancybox"</code> to the links where you want to use FancyBox. Do not call the <code>fancybox()</code> function here, the plugin does this for you.', 'mfbfw' ); ?></em></small><br />
41+
<small><em><?php _e( '&middot; The custom expression has to apply <code>data-fancybox</code> attribute to the links where you want to use FancyBox. Do not call the <code>fancybox()</code> function here, the plugin does this for you.', 'mfbfw' ); ?></em></small><br />
4242

43-
<small><em><?php _e( '&middot; The jQuery <code>addClass()</code> function is a good way to add the class to the desired links conserving any existing class.', 'mfbfw' ); ?></em></small><br />
43+
<small><em><?php _e( '&middot; The jQuery <code>attr()</code> function is a good way to add attributes to the desired links conserving any existing attribute.', 'mfbfw' ); ?></em></small><br />
4444

4545
<small><em><?php _e( '&middot; You can use <code>getTitle()</code> in your expression to copy the title attribute from the <code>IMG</code> tag to the <code>A</code> tag, so that FancyBox can show captions.', 'mfbfw' ); ?></em></small><br />
4646

@@ -52,9 +52,9 @@
5252

5353
<small><strong><em><?php _e( 'Examples:', 'mfbfw' ); ?></em></strong></small><br />
5454

55-
<small><em><code>jQuery(thumbnails).addClass(&quot;fancybox&quot;).attr(&quot;rel&quot;,&quot;fancybox&quot;).getTitle();</code></em></small><br />
55+
<small><em><code>jQuery(thumbnails).attr(&quot;data-fancybox&quot;).getTitle();</code></em></small><br />
5656

57-
<small><em><code>jQuery&quot;a:has(img)[href$='.jpg']&quot;).addClass&quot;fancybox&quot;).attr(&quot;rel&quot;,&quot;fancybox&quot;).getTitle();</code></em></small><br /><br />
57+
<small><em><code>jQuery&quot;a:has(img)[href$='.jpg']&quot;).attr(&quot;data-fancybox&quot;).getTitle();</code></em></small><br /><br />
5858

5959
</div>
6060

lib/admin-tab-info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h3><?php _e( 'Information', 'mfbfw' ); ?></h3>
22

3-
<p><?php _e( '<a target="_blank" href="http://fancybox.net">FancyBox</a> developed by <a target="_blank" href="http://fancybox.net">Janis Skarnelis</a>, ported to WordPress by <a target="_blank" href="http://twitter.com/moskis">Jos&eacute; Pardilla</a>. Licensed under the <a target="_blank" href="http://en.wikipedia.org/wiki/MIT_License">MIT License</a>.', 'mfbfw' ); ?></p>
3+
<p><?php _e( '<a target="_blank" href="http://fancyapps.com/fancybox/3/">FancyBox</a> developed by <a target="_blank" href="http://fancybox.net">Janis Skarnelis</a>, ported to WordPress by <a target="_blank" href="http://twitter.com/moskis">Jos&eacute; Pardilla</a>. Licensed under the <a target="_blank" href="http://en.wikipedia.org/wiki/MIT_License">MIT License</a>.', 'mfbfw' ); ?></p>
44

55
<p><?php _e( 'As you can see, this plugin has many options you can edit, but have no fear, you can leave everything as it is if you don\'t want to get your hands dirty, since the default options should be a good start... :)', 'mfbfw' ); ?></p>
66

0 commit comments

Comments
 (0)