���� JFIF �� �
"" $(4,$&1'-=-157:::#+?D?8C49:7
7%%77777777777777777777777777777777777777777777777777�� { �" �� �� 5 !1AQa"q�2��BR��#b������� �� �� ? ��D@DDD@DDD@DDkK��6 �UG�4V�1��
�����릟�@�#���RY�dqp�
����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Æ��ܯsO"B�c>;
�e�4��5�k��/CB��.
�J?��;�҈�������������������~�<�VZ�ê¼2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ
B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r�����
Ď0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�?
�0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA׾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��
"; _e( "JetPack's Photon module breaks features built in WP Retina 3x (as Photos moves the files away). A common and better alternative to Photon is to use MaxCDN (very popular), CloudFlare or Fastly.", 'wp-retina-3x' ); echo "
"; } } static function activate() { global $wp_rewrite; $wp_rewrite->flush_rules(); } static function deactivate() { remove_filter( 'generate_rewrite_rules', array( 'Meow_wr3x_Admin', 'generate_rewrite_rules' ) ); global $wp_rewrite; $wp_rewrite->flush_rules(); } static function generate_rewrite_rules( $wp_rewrite, $flush = false ) { global $wp_rewrite; $method = get_option( "wr3x_method" ); if ( $method == "Retina-Images" ) { // MODIFICATION: docwhat // get_home_url() -> trailingslashit(site_url()) // REFERENCE: http://wordpress.org/support/topic/plugin-wp-retina-3x-htaccess-generated-with-incorrect-rewriterule // MODIFICATION BY h4ir9 // .*\.(jpg|jpeg|gif|png|bmp) -> (.+.(?:jpe?g|gif|png)) // REFERENCE: http://wordpress.org/support/topic/great-but-needs-a-little-update $handlerurl = str_replace( trailingslashit( site_url()), '', plugins_url( 'wr3x_image.php', __FILE__ ) ); add_rewrite_rule( '(.+.(?:jpe?g|gif|png))', $handlerurl, 'top' ); } if ( $flush == true ) { $wp_rewrite->flush_rules(); } } function common_url( $file ) { return trailingslashit( plugin_dir_url( __FILE__ ) ) . 'common/' . $file; } function app_menu() { // SUBMENU > Settings add_submenu_page( 'meowapps-main-menu', 'Retina', 'Retina', 'manage_options', 'wr3x_settings-menu', array( $this, 'admin_settings' ) ); // SUBMENU > Settings > Basic Settings add_settings_section( 'wr3x_settings', null, null, 'wr3x_settings-menu' ); add_settings_field( 'wr3x_ignore_sizes', __( "Disabled Sizes", 'wp-retina-3x' ), array( $this, 'admin_ignore_sizes_callback' ), 'wr3x_settings-menu', 'wr3x_settings' ); add_settings_field( 'wr3x_method', __( "Method", 'wp-retina-3x' ), array( $this, 'admin_method_callback' ), 'wr3x_settings-menu', 'wr3x_settings' ); add_settings_field( 'wr3x_full_size', __( "Full Size Retina", 'wp-retina-3x' ) . "" . __( "Current method:", 'wp-retina-3x' ) . " " . __( "HTML Rewrite", 'wp-retina-3x' ) . "."; if ( $method == 'retina.js' ) echo "
" . __( "Current method:", 'wp-retina-3x' ) . " " . __( "Retina.js", 'wp-retina-3x' ) . "."; if ( $method == 'Picturefill' ) echo "
" . __( "Current method:", 'wp-retina-3x' ) . " " . __( "PictureFill", 'wp-retina-3x' ) . "."; if ( $method == 'Responsive' ) echo "
" . __( "Current method:", 'wp-retina-3x' ) . " " . __( "Responsive Images", 'wp-retina-3x' ) . "."; if ( $method == 'Retina-Images' ) { echo "
" . __( "Current method:", 'wp-retina-3x' ) . " " . __( "HTML Rewrite", 'wp-retina-3x' ) . "."; if ( defined( 'MULTISITE' ) && MULTISITE == true ) { if ( get_site_option( 'ms_files_rewriting' ) ) { // MODIFICATION: Craig Foster // 'ms_files_rewriting' support echo " " . __( "By the way, you are using a WordPress Multi-Site installation! You must edit your .htaccess manually and add 'RewriteRule ^files/(.+) wp-content/plugins/wp-retina-3x/wr3x_image.php?ms=true&file=$1 [L]' as the first RewriteRule if you want the server-side to work.", 'wp-retina-3x' ) . ""; } else echo " " . __( "By the way, you are using a WordPress Multi-Site installation! You must edit your .htaccess manually and add 'RewriteRule ^(wp-content/.+\.(png|gif|jpg|jpeg|bmp|PNG|GIF|JPG|JPEG|BMP)) wp-content/plugins/wp-retina-3x/wr3x_image.php?ms=true&file=$1 [L]' as the first RewriteRule if you want the server-side to work.", 'wp-retina-3x' ) . ""; } echo "
"; if ( !get_option('permalink_structure') ) echo "" . __( "The permalinks are not enabled. They need to be enabled in order to use the server-side method.", 'wp-retina-3x' ) . ""; } ?>