Plugin Directory

Changeset 1441719


Ignore:
Timestamp:
06/22/2016 11:43:45 AM (10 years ago)
Author:
affiliatesolutions
Message:

statistics shorter stringlength url

Location:
nm404/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nm404/trunk/nm404.php

    r1431423 r1441719  
    55Plugin URI:     https://www.affiliate-solutions.xyz/
    66Description:    Avoid any 404 errors on your WordPress-Site by redirecting the request to the closest match found in the sitemap.xml
    7 Version:        2.0.7
     7Version:        2.0.8
    88Author:         Affiliate solutions SLU
    99Author URI:     https://www.affiliate-solutions.xyz/
  • nm404/trunk/pages/statistics.php

    r1357237 r1441719  
    2020                                    <tr>
    2121                                        <td><?php echo $i; ?></td>
    22                                         <td><?php echo htmlentities($url); ?></td>
     22                                        <?php if ((strlen(htmlentities($url)) > 50)){
     23                                            echo "<td title = \"".htmlentities($url)."\">".substr(htmlentities($url),0,51)." (...)"."</td>";
     24                                        } else {
     25                                            echo "<td>".htmlentities($url)."</td>";
     26                                        } ?>
    2327                                        <td><?php echo $count; ?></td>
    2428                                    </tr>
  • nm404/trunk/readme.txt

    r1431423 r1441719  
    55Requires at least: 3.0
    66Tested up to: 4.5
    7 Stable tag: 2.0.3
     7Stable tag: 2.0.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.