Ticket #60581: 60581.diff
| File 60581.diff, 552 bytes (added by , 2 years ago) |
|---|
-
src/wp-includes/media.php
5065 5065 $srcs = array(); 5066 5066 5067 5067 $shortcode_attrs = shortcode_parse_atts( $shortcode[3] ); 5068 if ( ! is_array( $shortcode_attrs ) ) {5069 $shortcode_attrs = array();5070 }5071 5068 5072 5069 // Specify the post ID of the gallery we're viewing if the shortcode doesn't reference another post already. 5073 5070 if ( ! isset( $shortcode_attrs['id'] ) ) {