Changeset 2583698
- Timestamp:
- 08/16/2021 06:13:47 PM (5 years ago)
- Location:
- jelly
- Files:
-
- 4 edited
- 1 copied
-
tags/1.2 (copied) (copied from jelly/trunk)
-
tags/1.2/jelly.php (modified) (5 diffs)
-
tags/1.2/readme.txt (modified) (1 diff)
-
trunk/jelly.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
jelly/tags/1.2/jelly.php
r2582769 r2583698 4 4 * Plugin URI: http://lumne.net/plugins/jelly 5 5 * Description: Slideshow designed and developed by Lumne. 6 * Version: 1. 16 * Version: 1.2 7 7 * Requires at least: 3.0.1 8 8 * Requires PHP 7.4 … … 26 26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 27 */ 28 29 /**30 * [2021-08-06 JLC] Fatal error found31 */32 28 33 29 function jelly_activation(){ … … 105 101 106 102 function jelly_images(array $args){ 107 $options = get_option('jelly_options'); 103 $options = []; 104 if ( get_option('jelly_options') ) { 105 $options = get_option('jelly_options'); 106 } 108 107 $path = plugin_dir_url(__FILE__); 109 108 … … 111 110 sort($images); 112 111 113 $c = ''; // Needs to have a placeholder to avoid PHP 8 warning112 $c = ''; 114 113 echo '<table class="jelly-image-table" data-delete-image="'.$path.'img/delete.png'.'">'; 115 114 foreach($images as $image){ … … 173 172 ), $atts, 'jelly' ) ); 174 173 175 // $active = (in_array('active', $atts)); // Original. Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array176 174 if (is_array($atts)) { 177 175 $active = (in_array('active', $atts)); -
jelly/tags/1.2/readme.txt
r2582768 r2583698 4 4 Requires at least: 3.0.1 5 5 Tested up to: 5.8 6 Stable tag: 1. 16 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
jelly/trunk/jelly.php
r2582769 r2583698 4 4 * Plugin URI: http://lumne.net/plugins/jelly 5 5 * Description: Slideshow designed and developed by Lumne. 6 * Version: 1. 16 * Version: 1.2 7 7 * Requires at least: 3.0.1 8 8 * Requires PHP 7.4 … … 26 26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 27 */ 28 29 /**30 * [2021-08-06 JLC] Fatal error found31 */32 28 33 29 function jelly_activation(){ … … 105 101 106 102 function jelly_images(array $args){ 107 $options = get_option('jelly_options'); 103 $options = []; 104 if ( get_option('jelly_options') ) { 105 $options = get_option('jelly_options'); 106 } 108 107 $path = plugin_dir_url(__FILE__); 109 108 … … 111 110 sort($images); 112 111 113 $c = ''; // Needs to have a placeholder to avoid PHP 8 warning112 $c = ''; 114 113 echo '<table class="jelly-image-table" data-delete-image="'.$path.'img/delete.png'.'">'; 115 114 foreach($images as $image){ … … 173 172 ), $atts, 'jelly' ) ); 174 173 175 // $active = (in_array('active', $atts)); // Original. Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array176 174 if (is_array($atts)) { 177 175 $active = (in_array('active', $atts)); -
jelly/trunk/readme.txt
r2582768 r2583698 4 4 Requires at least: 3.0.1 5 5 Tested up to: 5.8 6 Stable tag: 1. 16 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.