WordPress.org

Plugin Directory

Changeset 1768548


Ignore:
Timestamp:
11/16/17 17:36:28 (2 months ago)
Author:
petersplugins
Message:

v1.2 - faulty display in WP 4.9 fixed

Location:
smart-attachment-page-remove
Files:
10 added
3 edited

Legend:

Unmodified
Added
Removed
  • smart-attachment-page-remove/trunk/inc/class-smart-attachment-page-remove.php

    r1685509 r1768548  
    3535      $this->plugin_name = 'smart Attachment Page Remove'; 
    3636      $this->plugin_slug = 'smart-attachment-page-remove'; 
    37       $this->version = '1.1'; 
     37      $this->version = '1.2'; 
    3838      $this->init(); 
    3939    }  
     
    4646       
    4747      $this->wp_url = 'https://wordpress.org/plugins/' . $this->plugin_slug; 
    48       $this->my_url = 'http://petersplugins.com/free-wordpress-plugins/' . $this->plugin_slug; 
    49       $this->dc_url = 'http://petersplugins.com/docs/' . $this->plugin_slug; 
     48      $this->my_url = 'https://petersplugins.com/free-wordpress-plugins/' . $this->plugin_slug; 
     49      $this->dc_url = 'https://petersplugins.com/docs/' . $this->plugin_slug; 
    5050       
    5151      add_action( 'wp', array( $this, 'remove_attachment_page' ) ); 
     
    9191      ?>     
    9292      <div class="wrap"> 
    93         <h1 id="pp-plugin-info-smart-attachment-page-remove"><?php echo $this->plugin_name; ?><span><a class="dashicons dashicons-star-filled" href="https://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>/reviews/" title="<?php _e( 'Please rate plugin', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-wordpress" href="<?php echo $this->wp_url; ?>/" title="<?php _e( 'wordpress.org plugin directory', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-admin-home" href="http://petersplugins.com/" title="<?php _e( 'Author homepage', 'smart-attachment-page-remove' );?>"></a> <a class="dashicons dashicons-googleplus" href="http://g.petersplugins.com/" title="<?php _e( 'Authors Google+ Page', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-facebook-alt" href="http://f.petersplugins.com/" title="<?php _e( 'Authors facebook Page', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-editor-help" href="http://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>/" title="<?php _e( 'Support', 'smart-attachment-page-remove'); ?>"></a> <a class="dashicons dashicons-admin-comments" href="http://petersplugins.com/contact/" title="<?php _e( 'Contact Author', 'smart-attachment-page-remove' ); ?>"></a></span></h1> 
     93        <h1 id="pp-plugin-info-smart-attachment-page-remove"><?php echo $this->plugin_name; ?><span><a class="dashicons dashicons-star-filled" href="https://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>/reviews/" title="<?php _e( 'Please rate plugin', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-wordpress" href="<?php echo $this->wp_url; ?>/" title="<?php _e( 'wordpress.org plugin directory', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-admin-home" href="https://petersplugins.com/" title="<?php _e( 'Author homepage', 'smart-attachment-page-remove' );?>"></a> <a class="dashicons dashicons-googleplus" href="https://plus.google.com/+petersplugins" title="<?php _e( 'Authors Google+ Page', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-facebook-alt" href="https://www.facebook.com/petersplugins/" title="<?php _e( 'Authors facebook Page', 'smart-attachment-page-remove' ); ?>"></a> <a class="dashicons dashicons-editor-help" href="https://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>/" title="<?php _e( 'Support', 'smart-attachment-page-remove'); ?>"></a> <a class="dashicons dashicons-admin-comments" href="https://petersplugins.com/contact/" title="<?php _e( 'Contact Author', 'smart-attachment-page-remove' ); ?>"></a></span></h1> 
    9494        <?php settings_errors(); ?> 
    9595         
     
    110110     */ 
    111111    function add_links( $links ) { 
    112       return array_merge( $links, array( '<a class="dashicons dashicons-admin-tools" href="' . menu_page_url( $this->plugin_slug, false ) . '" title="' . __( 'Show plugin info', 'smart-attachment-page-remove' ) . '"></a>', '<a class="dashicons dashicons-star-filled" href="https://wordpress.org/support/plugin/' . $this->plugin_slug . '/reviews/" title="' . __( 'Please rate plugin', 'smart-attachment-page-remove' ) . '"></a>' ) ); 
     112      return array_merge( $links, array( '<a href="' . menu_page_url( $this->plugin_slug, false ) . '" title="' . __( 'Show plugin info', 'smart-attachment-page-remove' ) . '">' . __( 'Show plugin info', 'smart-attachment-page-remove' ) . '</a>', '<a href="https://wordpress.org/support/plugin/' . $this->plugin_slug . '/reviews/" title="' . __( 'Please rate plugin', 'smart-attachment-page-remove' ) . '">' . __( 'Please rate plugin', 'smart-attachment-page-remove' ) . '</a>' ) ); 
    113113    } 
    114114     
  • smart-attachment-page-remove/trunk/readme.txt

    r1686375 r1768548  
    11=== smart Attachment Page Remove === 
    22Contributors: petersplugins 
    3 Donate link: http://petersplugins.com/make-a-donation/ 
     3Donate link: https://petersplugins.com/make-a-donation/ 
    44Tags: attachment page, attachment pages, remove attachment pages, delete attachment pages, hide attachment pages 
    55Requires at least: 3.0 
    6 Tested up to: 4.8 
     6Tested up to: 4.9 
    77Stable tag: 1.1 
     8Requires PHP: 5.4 
    89License: GPLv2+ 
    910License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    1314== Description == 
    1415 
    15 This Plugin allows you to remove Attachment Pages automatically generated by WordPress 
     16<strong>The [smart Attachment Page Remove](https://petersplugins.com/free-wordpress-plugins/smart-attachment-page-remove/) Plugin allows you to remove Attachment Pages automatically generated by WordPress</strong> 
     17 
     18<blockquote> 
     19If you like this plugin please do me favor and leave a review here on wordpress.org so that other people know it is helpful for you. Thanks! 
     20</blockquote> 
    1621 
    1722= Usage = 
     
    1924WordPress automatically generates a page for every file you upload to your Media Library. Even if you do not want to use these Pages and never link media files to their attachment page these pages exist and can be accessed by their automated generated URL. The smart Attachment Page Remove Plugin blocks access to Attachment Pages and causes an 404 page not found error. There are not settings, just activate the Plugin. 
    2025 
    21 = Need more information? = 
     26= Docs & Support = 
    2227 
    23 **See also [Plugin Homepage](http://petersplugins.com/free-wordpress-plugins/smart-attachment-page-remove/) and [Plugin Doc](http://petersplugins.com/docs/smart-attachment-page-remove/)** 
    24  
    25 = Do you like the smart Attachment Page Remove Plugin? = 
    26  
    27 Thanks, I appreciate that. You don’t need to make a donation. No money, no beer, no coffee. Please, just [tell the world that you like what I’m doing](http://petersplugins.com/make-a-donation/)! And that’s all. 
     28More detailed information about the smart Attachment Page Remove plugin can be found in the [Plugin Manual](https://petersplugins.com/docs/smart-attachment-page-remove/). For support check the [Support Forum](https://wordpress.org/support/plugin/smart-attachment-page-remove). 
    2829 
    2930= More plugins from Peter = 
    3031 
    3132* **[smart Archive Page Remove](https://wordpress.org/plugins/smart-archive-page-remove/)** - Completely remove unwanted Archive Pages from your Blog 
    32 * **[404page](https://wordpress.org/plugins/404page/)** Define any of your WordPress pages as 404 error page  
     33* **[404page](https://wordpress.org/plugins/404page/)** - Define any of your WordPress pages as 404 error page  
    3334* **[hashtagger](https://wordpress.org/plugins/hashtagger/)** - Tag your posts by using #hashtags 
    3435* [See all](https://profiles.wordpress.org/petersplugins/#content-plugins) 
     
    4243== Changelog == 
    4344 
     45= 1.2 (2017-11-16) = 
     46* faulty display in WP 4.9 fixed 
     47 
    4448= 1.1 (2017-06-26) = 
    4549* redesigned admin interface 
     
    5155== Upgrade Notice == 
    5256 
     57= 1.2 = 
     58faulty display in WP 4.9 fixed 
     59 
    5360= 1.1 = 
    5461unified admin interface 
  • smart-attachment-page-remove/trunk/smart-attachment-page-remove.php

    r1685509 r1768548  
    88 * @wordpress-plugin 
    99 * Plugin Name: smart Attachment Page Remove 
    10  * Plugin URI: http://petersplugins.com/free-wordpress-plugins/smart-attachment-page-remove/ 
     10 * Plugin URI: https://petersplugins.com/free-wordpress-plugins/smart-attachment-page-remove/ 
    1111 * Description: Completely remove Attachment Pages from your Blog 
    12  * Version: 1.1 
     12 * Version: 1.2 
    1313 * Author: Peter Raschendorfer 
    14  * Author URI: http://petersplugins.com 
     14 * Author URI: https://petersplugins.com 
    1515 * Text Domain: smart-attachment-page-remove 
    1616 * License: GPL2+ 
Note: See TracChangeset for help on using the changeset viewer.