Plugin Directory

Changeset 2949274


Ignore:
Timestamp:
08/08/2023 10:48:48 AM (3 years ago)
Author:
awsmin
Message:

Changelog added as , = V 2.7.4 - 2023-08-07 =

  • Added: Cookie Policy section.
  • Code improvements.
Location:
embed-any-document/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • embed-any-document/trunk/awsm-embed.php

    r2940168 r2949274  
    44 * Plugin URI: http://awsm.in/embed-any-documents
    55 * Description: Embed Any Document WordPress plugin lets you upload and embed your documents easily in your WordPress website without any additional browser plugins like Flash or Acrobat reader. The plugin lets you choose between Google Docs Viewer and Microsoft Office Online to display your documents.
    6  * Version: 2.7.3
     6 * Version: 2.7.4
    77 * Author: Awsm Innovations
    88 * Author URI: https://awsm.in
     
    2020
    2121if ( ! defined( 'AWSM_EMBED_VERSION' ) ) {
    22     define( 'AWSM_EMBED_VERSION', '2.7.3' );
     22    define( 'AWSM_EMBED_VERSION', '2.7.4' );
    2323}
    2424
     
    587587    }
    588588
     589    /**
     590     * Register Privacy Policy Content
     591     */
     592    public function register_privacy_policy_content() {
     593        if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
     594            return;
     595        }
     596
     597        $content = __( 'The third party tools we are using to display your documents easily may use cookies or similar technologies for technical purposes.These third-party services may set their own cookies on your device to provide additional functionality or integrate certain features.The use of third-party cookies is subject to the respective third party privacy and cookie policies.', 'embed-any-document' );
     598
     599        wp_add_privacy_policy_content(
     600            'Embed Any Document',
     601            wp_kses_post( wpautop( $content, false ) )
     602        );
     603    }
     604
     605    /**
     606     * Admin init functions
     607     */
     608    public function admin_init_functions(){
     609        $this->register_eadsettings();
     610        $this->register_privacy_policy_content();
     611    }
     612
    589613    /**
    590614     * Admin Functions init
     
    594618            add_action( 'wp_enqueue_media', array( $this, 'embed_helper' ) );
    595619            add_action( 'admin_menu', array( $this, 'admin_menu' ) );
    596             add_action( 'admin_init', array( $this, 'register_eadsettings' ) );
     620            add_action( 'admin_init', array( $this, 'admin_init_functions' ) );
    597621            add_action( 'admin_footer', array( $this, 'embedpopup' ) );
    598622            add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'settingslink' ) );
  • embed-any-document/trunk/language/embed-any-document.pot

    r2940168 r2949274  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Embed Any Document 2.7.3\n"
     5"Project-Id-Version: Embed Any Document 2.7.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/Embed-Any-Documents\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-07-12T05:33:32+00:00\n"
     12"POT-Creation-Date: 2023-08-07T08:02:57+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.6.0\n"
     
    132132msgstr ""
    133133
    134 #: awsm-embed.php:644
     134#: awsm-embed.php:597
     135msgid "The third party tools we are using to display your documents easily may use cookies or similar technologies for technical purposes.These third-party services may set their own cookies on your device to provide additional functionality or integrate certain features.The use of third-party cookies is subject to the respective third party privacy and cookie policies."
     136msgstr ""
     137
     138#: awsm-embed.php:668
    135139msgid "Unsupported file content detected. Sorry, you are not allowed to upload this file."
    136140msgstr ""
    137141
    138 #: awsm-embed.php:658
     142#: awsm-embed.php:682
    139143msgid "Buy Pro Version"
    140144msgstr ""
    141145
    142146#. translators: %1$s: Service provider
    143 #: awsm-embed.php:661
     147#: awsm-embed.php:685
    144148msgid "Add From %1$s"
    145149msgstr ""
  • embed-any-document/trunk/readme.txt

    r2940168 r2949274  
    113113
    114114== Changelog ==
     115= V 2.7.4 - 2023-08-07 =
     116* Added: Cookie Policy section.
     117* Code improvements.
    115118
    116119= V 2.7.3 - 2023-07-12 =
     
    131134* Fixed: Browser viewer fallback for unsupported browsers not working.
    132135
    133 = V 2.6.1 - 2020-06-04 =
    134 * Fixed: Fatal error during plugin updation in some installations.
    135 
    136136[See changelog of previous versions](https://raw.githubusercontent.com/awsmin/Embed-Any-Documents/master/CHANGELOG.md)
    137137
    138138== Upgrade Notice ==
    139139
    140 = 2.7.3 =
    141 Improved security.
     140= 2.7.4 =
     141Cookie Policy section added.
Note: See TracChangeset for help on using the changeset viewer.