Changeset 1962166
- Timestamp:
- 10/24/2018 02:34:29 PM (7 years ago)
- Location:
- simple-multiple-featured-images/trunk
- Files:
-
- 5 edited
-
. (modified) (2 props)
-
admin/js/jquery.smfi.js (modified) (4 diffs)
-
includes/smfi-js-importer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
simple-multiple-featured-images.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simple-multiple-featured-images/trunk
-
Property
svn:global-ignores
set to
plugin_thumbnail
-
Property
svn:ignore
set to
ToDo.txt
-
Property
svn:global-ignores
set to
-
simple-multiple-featured-images/trunk/admin/js/jquery.smfi.js
r1955179 r1962166 289 289 }, 290 290 291 /** 292 * Adds a new image by the specified image ID. 293 * 294 * @since 1.0.0 295 * @access private 296 * 297 * @param {number} newImgID The image ID of the new image. 298 * @param {jQuery} imgContainer The image container which contains all images. 299 * @param {jQuery} errorContainer The error container which can be used for reporting ocurred errors to the user. 300 */ 291 301 addNewImg : function( newImgID, imgContainer, errorContainer) { 292 302 … … 449 459 450 460 // Open the media frame if button was clicked. 451 btn.click( function( ) {461 btn.click( function( event ) { 452 462 event.preventDefault(); 453 463 mediaFrame.open(); … … 495 505 496 506 // Open the media frame if image was clicked. 497 img.click( function( ) {507 img.click( function( event ) { 498 508 event.preventDefault(); 499 509 mediaFrame.open(); … … 568 578 */ 569 579 removeImgOnBtnClick : function( removeBtn ) { 570 removeBtn.click( function( ) {580 removeBtn.click( function( event ) { 571 581 572 582 event.preventDefault(); -
simple-multiple-featured-images/trunk/includes/smfi-js-importer.php
r1955179 r1962166 32 32 */ 33 33 public static function import_js( $unique_file_identifier = "", $path = "", $use_minimized_version = false, $translation_object_name = '', $translation_array = array() ) { 34 35 //TODO Add dependency parameter. 36 34 37 /* 35 38 * Check if sub path should be change the minimized version. -
simple-multiple-featured-images/trunk/readme.txt
r1955179 r1962166 4 4 Tested up to: 4.9 5 5 Requires PHP: 7.1 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 License: GPL2 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 20 20 1. Activate the plugin through the \'Plugins\' menu in WordPress. 21 21 1. Now you can attach multiple featured images to posts and pages. To visualize the images on the website, a theme must support it! Currently, there are no shortcodes that allow the integration of the images into the website via wordpress editor. 22 23 == Changelog == 24 25 = 1.0.1 = 26 * Fixed a problem with firefox. 27 * Added more code documentation. 28 29 == Upgrade Notice == 30 31 = 1.0.1 = 32 Update the plugin to make it work properly in Firefox. -
simple-multiple-featured-images/trunk/simple-multiple-featured-images.php
r1955179 r1962166 4 4 Plugin URI: https://roman-bauer-web.de/wordpress-plugin-smfi 5 5 Description: Allows to add multiple featured images. 6 Version: 1.0. 06 Version: 1.0.1 7 7 Author: Roman Bauer 8 8 Author URI: https://roman-bauer-web.de/
Note: See TracChangeset
for help on using the changeset viewer.