WordPress.org

Plugin Directory

Changeset 1410519


Ignore:
Timestamp:
05/04/16 19:40:29 (20 months ago)
Author:
vladimir.s
Message:

Terms Descriptions. Version 3.2.4

  • WP 4.5.1 support
  • Pagination update
Location:
terms-descriptions/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • terms-descriptions/trunk/includes/td_admin_terms.php

    r1152193 r1410519  
    105105     * This method converts data to v.1.2.0 format. 
    106106     * 
    107      * @global type $wpdb wordpress database class 
     107     * @global wpdb $wpdb wordpress database class 
    108108     */ 
    109109    public function update_db() { 
     
    175175     * Creating admin menu 
    176176     * 
    177      * @global type $wpdb wordpress database class 
     177     * @global wpdb $wpdb wordpress database class 
    178178     */ 
    179179    public function admin_menu() { 
     
    203203     * Loading JS files 
    204204     * 
    205      * @global type $wpdb wordpress database class 
     205     * @global wpdb $wpdb wordpress database class 
    206206     */ 
    207207    public function load_scripts() { 
     
    450450        $html = '<div class="tablenav-pages">'; 
    451451        $html .= '<span class="pagination-links">'; 
    452         $html .= '<a class="first-page' . $prev_disabled . '" title="' . esc_attr__( 'Go to the first page' ) . '" href="' . $first_page_link . '">«</a>'; 
    453         $html .= '<a class="prev-page' . $prev_disabled . '" title="' . esc_attr__( 'Go to the previous page' ) . '" href="' . $prev_page_link . '">‹</a>'; 
     452        if (!empty($prev_disabled)) { 
     453            $html .= '<span class="tablenav-pages-navspan">«</span> '; 
     454            $html .= '<span class="tablenav-pages-navspan">‹</span> '; 
     455        } 
     456        else { 
     457            $html .= '<a class="first-page" title="' . esc_attr__( 'Go to the first page' ) . '" href="' . $first_page_link . '">«</a> '; 
     458            $html .= '<a class="prev-page" title="' . esc_attr__( 'Go to the previous page' ) . '" href="' . $prev_page_link . '">‹</a> '; 
     459        } 
    454460        $html .= '<span class="paging-input">'; 
    455461        $html .= '<span class="total-pages"> ' . $cur_page . '</span> ' . __('of') . ' <span class="total-pages">' . $total_pages . ' </span>'; 
    456462        $html .= '</span>'; 
    457         $html .= '<a class="next-page' . $next_disabled . '" title="' . esc_attr__( 'Go to the next page' ) . '" href="' . $next_page_link . '">›</a>'; 
    458         $html .= '<a class="last-page' . $next_disabled . '" title="' . esc_attr__( 'Go to the last page' ) . '" href="' . $last_page_link . '">»</a>'; 
     463        if (!empty($next_disabled)) { 
     464            $html .= '<span class="tablenav-pages-navspan">›</span> '; 
     465            $html .= '<span class="tablenav-pages-navspan">»</span> '; 
     466        } 
     467        else { 
     468            $html .= '<a class="next-page" title="' . esc_attr__( 'Go to the next page' ) . '" href="' . $next_page_link . '">›</a> '; 
     469            $html .= '<a class="last-page" title="' . esc_attr__( 'Go to the last page' ) . '" href="' . $last_page_link . '">»</a> '; 
     470        } 
    459471        $html .= '</span>'; 
    460472        $html .= '</div>'; 
  • terms-descriptions/trunk/readme.txt

    r1311133 r1410519  
    33Tags: post, page, links, plugin 
    44Requires at least: 4.1 
    5 Tested up to: 4.4 
     5Tested up to: 4.5.1 
    66Stable tag: trunk 
    77 
     
    7777== Changelog == 
    7878 
     79= 3.2.4 = 
     80 
     81* WP 4.5.1 support 
     82* Pagination update 
     83 
    7984= 3.2.3 = 
    8085 
  • terms-descriptions/trunk/terms-descriptions.php

    r1311133 r1410519  
    44Plugin URI: http://www.simplecoding.org/plagin-wordpress-terms-descriptions 
    55Description: This plugin allows you to create list of terms and assign links to them. Plugin automatically replaces terms occurrences in your posts with appropriate links. You can control the number of replacements. After activation you can create terms list on plugin administration page (Tools -> Terms Descriptions). 
    6 Version: 3.2.3 
     6Version: 3.2.4 
    77Author: Vladimir Statsenko 
    88Author URI: http://www.simplecoding.org 
Note: See TracChangeset for help on using the changeset viewer.