Plugin Directory

Changeset 1962166


Ignore:
Timestamp:
10/24/2018 02:34:29 PM (7 years ago)
Author:
roba87
Message:

roba87: Fixed problem with firefox. Added more code documentation. Updated changelog. Updated plugin version.

Location:
simple-multiple-featured-images/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • simple-multiple-featured-images/trunk

    • Property svn:global-ignores set to
      plugin_thumbnail
    • Property svn:ignore set to
      ToDo.txt
  • simple-multiple-featured-images/trunk/admin/js/jquery.smfi.js

    r1955179 r1962166  
    289289            },
    290290           
     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             */
    291301            addNewImg : function( newImgID, imgContainer, errorContainer) {
    292302               
     
    449459               
    450460                // Open the media frame if button was clicked.
    451                 btn.click( function() {
     461                btn.click( function( event ) {
    452462                    event.preventDefault();
    453463                    mediaFrame.open();
     
    495505               
    496506                // Open the media frame if image was clicked.
    497                 img.click( function() {
     507                img.click( function( event ) {
    498508                    event.preventDefault();
    499509                    mediaFrame.open();
     
    568578             */
    569579            removeImgOnBtnClick : function( removeBtn ) {
    570                 removeBtn.click( function() {
     580                removeBtn.click( function( event ) {
    571581                   
    572582                    event.preventDefault();
  • simple-multiple-featured-images/trunk/includes/smfi-js-importer.php

    r1955179 r1962166  
    3232         */
    3333        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           
    3437            /*
    3538             * Check if sub path should be change the minimized version.
  • simple-multiple-featured-images/trunk/readme.txt

    r1955179 r1962166  
    44Tested up to: 4.9
    55Requires PHP: 7.1
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77License: GPL2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    20201. Activate the plugin through the \'Plugins\' menu in WordPress.
    21211. 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 =
     32Update the plugin to make it work properly in Firefox.
  • simple-multiple-featured-images/trunk/simple-multiple-featured-images.php

    r1955179 r1962166  
    44Plugin URI:   https://roman-bauer-web.de/wordpress-plugin-smfi
    55Description:  Allows to add multiple featured images.
    6 Version:      1.0.0
     6Version:      1.0.1
    77Author:       Roman Bauer
    88Author URI:   https://roman-bauer-web.de/
Note: See TracChangeset for help on using the changeset viewer.