Skip to content

Commit ea4f9a9

Browse files
committed
Added fix for potential fatal error in PHP < 8.0 due to use of null safe operator
1 parent 0324f46 commit ea4f9a9

3 files changed

Lines changed: 23 additions & 8 deletions

File tree

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
# Instant Images
22

3-
One-click uploads from [Unsplash](https://unslash.com), [Openverse](https://wordpress.org/openverse/), [Pixabay](https://pixabay.com) & [Pexels](https://pexels.com) directly to your WordPress media library.
3+
Instantly upload photos from Unsplash, Openverse, Pixabay, Pexels, and Giphy to your website all without ever leaving WordPress!
44

55
![Instant Images Banner](https://github.com/dcooney/instant-images/blob/main/.wordpress-org/banner-772x250.jpg?raw=true)
66

7-
Instant Images is the fastest and easiest way to upload high quality FREE photos from Unsplash, Openverse, Pixabay and Pexels directly to your media library.
7+
## Supported Image Providers
8+
9+
- [Unsplash](https://unslash.com)
10+
- [Openverse](https://wordpress.org/openverse/)
11+
- [Pixabay](https://pixabay.com)
12+
- [Pexels](https://pexels.com)
13+
- [Giphy](https://giphy.com)
14+
15+
Instant Images is the fastest way to find and upload high-quality, free stock images directly from inside WordPress.
16+
17+
No downloads.
18+
No switching tabs.
19+
No copy-paste workflow.
820

921
**[View on WordPress](https://wordpress.org/plugins/instant-images/)**
1022

@@ -18,6 +30,6 @@ Instant Images is the fastest and easiest way to upload high quality FREE photos
1830
- Media Modal: Instant Images is available as a tab in the WordPress Media Modal.
1931
- Page Builders – Instant Images integrates with page builders such as Elementor, Beaver Builder, Gutenberg, Brizy and Divi.
2032
- Edit Image Metadata: Easily edit image filename, alt text and caption prior to uploading to your media library.
21-
- Accessibility: Automatically include a relevant alt description for screen readers, visually reduced users, and SEO.
33+
- Accessibility: Automatically include a relevant alt description for screen readers, visually reduced users, and SEO.
2234
- Easy to Use: It couldn’t get much more simple, just click an image and it’s automatically uploaded to your media library for use on your site.
2335
- No Account Needed: An Unsplash account is not required for use of this plugin. Just activate and you’re ready to go.

README.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: dcooney, connekthq
33
Tags: stock photos, unsplash, free images, media library, pixabay
44
Requires at least: 6.0
55
Tested up to: 6.9
6-
Stable tag: 7.1.0
6+
Stable tag: 7.1.0.1
77
License: GPLv2 or later
88
License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
99

@@ -180,6 +180,9 @@ How to install Instant Images.
180180

181181
== Changelog ==
182182

183+
= 7.1.0.1 - February 13, 2026 =
184+
* HOTFIX: Added fix for potential fatal error in PHP < 8.0 due to use of null safe operator.
185+
183186
= 7.1.0 - February 12, 2026 =
184187
* NEW: Added new feature to allow for disabling and reordering of the image providers.
185188
* FIX: Fixed issue with image resize not working with Pixabay and Giphy. This is resolved by using the core WordPress image editor to resize images before upload to media library.

instant-images.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Twitter: @connekthq
88
* Author URI: https://connekthq.com
99
* Text Domain: instant-images
10-
* Version: 7.1.0
10+
* Version: 7.1.0.1
1111
* License: GPL
1212
* Copyright: Darren Cooney & Connekt Media
1313
*
@@ -18,8 +18,8 @@
1818
exit;
1919
}
2020

21-
define( 'INSTANT_IMAGES_VERSION', '7.1.0' );
22-
define( 'INSTANT_IMAGES_RELEASE', 'February 12, 2026' );
21+
define( 'INSTANT_IMAGES_VERSION', '7.1.0.1' );
22+
define( 'INSTANT_IMAGES_RELEASE', 'February 13, 2026' );
2323
define( 'INSTANT_IMAGES_STORE_URL', 'https://getinstantimages.com' );
2424

2525
/**
@@ -292,7 +292,7 @@ public function enqueue_block_editor() {
292292
*/
293293
public function enqueue_media() {
294294
$show_tab = $this::instant_img_show_tab( 'media_modal_display' ); // Show Tab Setting.
295-
$current_screen = is_admin() && function_exists('get_current_screen') ? get_current_screen()?->base : ''; // Current admin screen.
295+
$current_screen = is_admin() && function_exists('get_current_screen') ? get_current_screen()->base : ''; // Current admin screen.
296296
if ( $this::instant_img_has_access() && $show_tab && $current_screen !== 'upload' ) {
297297
$media_modal_asset_file = require INSTANT_IMAGES_PATH . 'build/media-modal/index.asset.php'; // Get webpack asset file.
298298
wp_enqueue_script(

0 commit comments

Comments
 (0)