Skip to content

Commit

Permalink
[ #786 ] removed title attr from image links
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoAlex committed Aug 3, 2023
1 parent 18ce6c7 commit edc3964
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ Changed: Removed settings sidebar upseells & added Whitelabel upsell tab.
Changed: Removed "Powered By Modula" meta option.
Changed: Removed "Earn Money" tab.
Changed: Reorganised admin menu.
Changed: Removed title from image links.
Added: "Dashboard" page.


= 2.7.4 - 28.03.2023 =
Fixed: Undefined index if default value for gallery setting input fields not set
Fixed: Lightbox error if image caption has '"' and thumbnails navigation on
Expand Down
2 changes: 0 additions & 2 deletions includes/public/modula-helper-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ function modula_check_lightboxes_and_links( $item_data, $item, $settings ) {
$item_data['link_attributes']['class'][] = 'modula-simple-link';
$item_data['item_classes'][] = 'modula-simple-link';
$item_data['link_attributes']['aria-label'] = esc_html__('Open attachment page', 'modula-best-grid-gallery');
$item_data['link_attributes']['title'] = esc_html__('Open attachment page', 'modula-best-grid-gallery');
if ( '' != $item['link'] ) {
$item_data['link_attributes']['href'] = $item['link'];
if ( isset( $item['target'] ) && '1' == $item['target'] ) {
Expand All @@ -124,7 +123,6 @@ function modula_check_lightboxes_and_links( $item_data, $item, $settings ) {
$item_data['link_attributes']['class'][] = 'modula-simple-link';
$item_data['item_classes'][] = 'modula-simple-link';
$item_data['link_attributes']['aria-label'] = esc_html__('Open image', 'modula-best-grid-gallery');
$item_data['link_attributes']['title'] = esc_html__('Open image', 'modula-best-grid-gallery');

} else {
if( modula_href_required() ){
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ Fixed: "Save Gallery" text should be "Publish Gallery" if gallery is a draft. (
Fixed: Show changes to image's alignment in backend ( [#663](https://github.com/WPChill/modula-lite/issues/663) )
Added: "Dashboard" page. ( [#800](https://github.com/WPChill/modula-lite/issues/800) )
Changed: Reorganised admin menu ( [#633](https://github.com/WPChill/modula-lite/issues/633) )
Changed: Removed title from image links ( [#786](https://github.com/WPChill/modula-lite/issues/786) )

= 2.7.4 - 28.03.2023 =
Fixed: Undefined index if default value for gallery setting input fields not set ( [#788](https://github.com/WPChill/modula-lite/issues/788) )
Expand Down

0 comments on commit edc3964

Please sign in to comment.