Changeset 2450551
- Timestamp:
- 01/05/2021 11:39:21 AM (5 years ago)
- Location:
- wp-image-sizes
- Files:
-
- 14 added
- 4 edited
-
tags/1.1.1 (added)
-
tags/1.1.1/assets (added)
-
tags/1.1.1/assets/css (added)
-
tags/1.1.1/assets/css/wpis-style.css (added)
-
tags/1.1.1/assets/js (added)
-
tags/1.1.1/assets/js/api-request.min.js (added)
-
tags/1.1.1/assets/js/wpis.js (added)
-
tags/1.1.1/includes (added)
-
tags/1.1.1/includes/tab-templates (added)
-
tags/1.1.1/includes/tab-templates/image-sizes.php (added)
-
tags/1.1.1/includes/wpis-settings.php (added)
-
tags/1.1.1/readme.txt (added)
-
tags/1.1.1/wp-image-sizes.php (added)
-
tags/1.1.1/wpis-init.php (added)
-
trunk/assets/css/wpis-style.css (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-image-sizes.php (modified) (2 diffs)
-
trunk/wpis-init.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-image-sizes/trunk/assets/css/wpis-style.css
r2449936 r2450551 1 1 .text-red{ 2 2 color: #e80000 !important; 3 } 4 .text-green{ 5 color: #2b9d0b !important; 3 6 } 4 7 .fw-5{ -
wp-image-sizes/trunk/readme.txt
r2449936 r2450551 4 4 Requires at least: 4.7 5 5 Requires PHP: 5.2.4 6 Stable tag: 1.1. 06 Stable tag: 1.1.1 7 7 Tested up to: 5.6 8 8 License: GPLv2 or later … … 66 66 67 67 == Changelog == 68 = 1.1.1 = 69 * Code changes for compatibility with pro version 70 68 71 = 1.1.0 = 69 72 * Media uploader image size checkboxes position changed -
wp-image-sizes/trunk/wp-image-sizes.php
r2449936 r2450551 4 4 * Plugin URI: https://aiwatech.com/wp-image-sizes 5 5 * Description: Save server space by creating selected image sizes for every post type. It allows to select registered image sizes in media uploader and helps to avoid creation of unneccessary images. 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Requires at least: 4.7 8 8 * Tested up to: 5.6 … … 55 55 } 56 56 57 //==== Add Plugin Menu Page ===// 58 if(!function_exists("wpis_menu_pages")): 59 add_action("admin_menu", "wpis_menu_pages", 80 ); 60 function wpis_menu_pages(){ 61 add_options_page( 62 __("WP Image Sizes", "wpis"), 63 __("WP Image Sizes", "wpis"), 64 "manage_options", 65 "wpis", 66 "draw_wpis_page" 67 ); 68 } 69 70 function draw_wpis_page(){ 71 include_once( WPIS_PLUGIN_PATH . "includes/wpis-settings.php" ); 72 } 73 endif; 74 57 75 include_once( "wpis-init.php" ); -
wp-image-sizes/trunk/wpis-init.php
r2449936 r2450551 24 24 endif; 25 25 26 27 //==== Add Plugin Menu Page ===//28 if(!function_exists("wpis_menu_pages")):29 add_action("admin_menu", "wpis_menu_pages", 80 );30 function wpis_menu_pages(){31 add_options_page(32 __("WP Image Sizes", "wpis"),33 __("WP Image Sizes", "wpis"),34 "manage_options",35 "wpis",36 "draw_wpis_page"37 );38 }39 40 function draw_wpis_page(){41 include_once( WPIS_PLUGIN_PATH . "includes/wpis-settings.php" );42 }43 endif;44 26 45 27 if(!function_exists("wpis_get_attachment_image_src")): … … 288 270 endif; 289 271 272 //=== Load Image Sizes Uploader UI ===// 273 if( !function_exists("wpis_load_uploader_sizes")): 290 274 add_action("wp_ajax_wpis_load_uploader_sizes", "wpis_load_uploader_sizes"); 291 275 function wpis_load_uploader_sizes(){ … … 414 398 die( json_encode($res)); 415 399 } 400 endif; 416 401 417 402 //=== Hooked update wpis settings
Note: See TracChangeset
for help on using the changeset viewer.