Changeset 1645429
- Timestamp:
- 04/26/2017 04:22:36 AM (9 years ago)
- Location:
- islamic-graphics/trunk
- Files:
-
- 2 edited
-
islamic_graphics.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
islamic-graphics/trunk/islamic_graphics.php
r1645389 r1645429 5 5 Plugin URI: http://plugins.muslimmatters.org 6 6 Description: Shortcodes for the insertion of graphics representing the common Islamic phrases, e.g., SAW, RA, SWT and AS, into Wordpress posts and pages. 7 Version: 1.2. 07 Version: 1.2.1 8 8 Author: Mehzabeen Ibrahim 9 9 Author URI: http://imuslim.tv … … 27 27 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 28 28 */ 29 30 /* IMPORTANT: PREVENT PHOTON FROM SERVING ISLAMIC GRAPHIC IMAGES */ 31 32 function islamic_graphics_photon_exception( $val, $src, $tag ) { 33 if (strpos($src, 'islamic-graphics') !== false ){ 34 return true; 35 } 36 return $val; 37 } 38 add_filter( 'jetpack_photon_skip_image', 'islamic_graphics_photon_exception', 10, 3 ); 29 39 30 40 -
islamic-graphics/trunk/readme.txt
r1645392 r1645429 5 5 Requires at least: 2.7.0 6 6 Tested up to: 4.7.4 7 Stable tag: 1.2. 07 Stable tag: 1.2.1 8 8 9 9 Shortcode for the insertion of graphics representing the common Islamic phrases: SAW, RA, SWT and AS, into Wordpress posts and pages. … … 119 119 == Changelog == 120 120 121 = 1.2.1 = 122 Fixed image size bug by preventing Jetpack Photon from serving Islamic Graphic images. 123 121 124 = 1.2.0 = 122 125 - A new set of images has been added in the form of SVG files for a more consistent look across articles and for smoother scaling. PNG fallback is included for older browsers.
Note: See TracChangeset
for help on using the changeset viewer.