Plugin Directory

Changeset 3186838


Ignore:
Timestamp:
11/13/2024 01:17:50 AM (17 months ago)
Author:
GregRoss
Message:

Update to version 1.5 from GitHub

Location:
smart-prev-next
Files:
3 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smart-prev-next/tags/1.5/readme.txt

    r3186831 r3186838  
    77Tested up to: 6.7
    88Requires PHP: 7.0
    9 Stable tag: 1.4
     9Stable tag: 1.5
    1010License: GPLv2
    1111
     
    4242
    4343== Changelog ==
     44= 1.5 =
     45* Release date: November 12, 2024
     46* More fixes for WP 6.7.
     47
    4448= 1.4 =
    4549* Release date: November 12, 2024
  • smart-prev-next/tags/1.5/smart-prev-next-functions.php

    r3186831 r3186838  
    324324    // Check to see which location we're placing the buttons.
    325325    // WP 6.1 changed the class for the settings box.
    326     // WP 6.7 made more changes to the location
    327     if( version_compare( $wp_version, '6.7' ) >= 0 ) {
    328         $location = 'div .editor-preview-dropdown';
    329     } else if( version_compare( $wp_version, '6.1' ) < 0 ) {
     326    if( version_compare( $wp_version, '6.1' ) < 0 ) {
    330327        $location = 'div .edit-post-header__settings';
    331328    } else {
     
    369366
    370367            if( typeof pinned_items === 'object' ) {
    371                 pinned_items.before( '<?php echo $first_post_button . $previous_post_button . $next_post_button . $last_post_button; ?>' );
     368                pinned_items.prepend( '<?php echo $first_post_button . $previous_post_button . $next_post_button . $last_post_button; ?>' );
    372369            } else {
    373370                setTimeout( 'SmartPrevNextAddPrevNext()', 250 );
  • smart-prev-next/tags/1.5/smart-prev-next.php

    r3186831 r3186838  
    22/*
    33Plugin Name: Smart Prev Next
    4 Version: 1.4
     4Version: 1.5
    55Plugin URI: http://toolstack.com/smart-prev-next
    66Author: Greg Ross
     
    2121*/
    2222
    23 define( 'SmartPrevNext', '1.4' );
     23define( 'SmartPrevNext', '1.5' );
    2424
    2525include_once( 'smart-prev-next-functions.php' );
  • smart-prev-next/trunk/readme.txt

    r3186831 r3186838  
    77Tested up to: 6.7
    88Requires PHP: 7.0
    9 Stable tag: 1.4
     9Stable tag: 1.5
    1010License: GPLv2
    1111
     
    4242
    4343== Changelog ==
     44= 1.5 =
     45* Release date: November 12, 2024
     46* More fixes for WP 6.7.
     47
    4448= 1.4 =
    4549* Release date: November 12, 2024
  • smart-prev-next/trunk/smart-prev-next-functions.php

    r3186831 r3186838  
    324324    // Check to see which location we're placing the buttons.
    325325    // WP 6.1 changed the class for the settings box.
    326     // WP 6.7 made more changes to the location
    327     if( version_compare( $wp_version, '6.7' ) >= 0 ) {
    328         $location = 'div .editor-preview-dropdown';
    329     } else if( version_compare( $wp_version, '6.1' ) < 0 ) {
     326    if( version_compare( $wp_version, '6.1' ) < 0 ) {
    330327        $location = 'div .edit-post-header__settings';
    331328    } else {
     
    369366
    370367            if( typeof pinned_items === 'object' ) {
    371                 pinned_items.before( '<?php echo $first_post_button . $previous_post_button . $next_post_button . $last_post_button; ?>' );
     368                pinned_items.prepend( '<?php echo $first_post_button . $previous_post_button . $next_post_button . $last_post_button; ?>' );
    372369            } else {
    373370                setTimeout( 'SmartPrevNextAddPrevNext()', 250 );
  • smart-prev-next/trunk/smart-prev-next.php

    r3186831 r3186838  
    22/*
    33Plugin Name: Smart Prev Next
    4 Version: 1.4
     4Version: 1.5
    55Plugin URI: http://toolstack.com/smart-prev-next
    66Author: Greg Ross
     
    2121*/
    2222
    23 define( 'SmartPrevNext', '1.4' );
     23define( 'SmartPrevNext', '1.5' );
    2424
    2525include_once( 'smart-prev-next-functions.php' );
Note: See TracChangeset for help on using the changeset viewer.