Plugin Directory

Changeset 3376164


Ignore:
Timestamp:
10/10/2025 10:23:01 AM (4 months ago)
Author:
alexvtn
Message:

Plugin update

Location:
internal-linking-of-related-contents
Files:
66 added
7 edited

Legend:

Unmodified
Added
Removed
  • internal-linking-of-related-contents/trunk/README.txt

    r3307944 r3376164  
    77Tested up to: 6.8
    88Requires PHP: 5.6
    9 Stable tag: 1.1.9
     9Stable tag: 1.2.0
    1010License: GPLv3 or later
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    10610612. Template 12
    10710713. Template 13
     10813. Template 14 (Premium)
    108109
    109110== Changelog ==
     111
     112= 1.2.0 =
     113Release date - October, 10 - 2025
     114
     115* Fixed : Backend access issue for non-administrator users.
     116* Edit : Code optimized
    110117
    111118= 1.1.9 =
  • internal-linking-of-related-contents/trunk/core/admin/panel.php

    r3293115 r3376164  
    4949                                'template-11' => esc_html__( 'Template 11','internal-linking-of-related-contents'),
    5050                                'template-12' => esc_html__( 'Template 12','internal-linking-of-related-contents'),
    51                                 'template-13' => esc_html__( 'Template 13','internal-linking-of-related-contents')
     51                                'template-13' => esc_html__( 'Template 13','internal-linking-of-related-contents'),
     52                                'template-14' => esc_html__( 'Template 14 (PRO)','internal-linking-of-related-contents'),
    5253                            ),
    5354                            'std' => 'template-2'
  • internal-linking-of-related-contents/trunk/core/assets/css/panel.css

    r3293115 r3376164  
    534534#ilrc_template option[value="template-8"],
    535535#ilrc_template option[value="template-9"],
    536 #ilrc_template option[value="template-10"] {
     536#ilrc_template option[value="template-10"],
     537#ilrc_template option[value="template-14"] {
    537538  color: #888;
    538539}
  • internal-linking-of-related-contents/trunk/core/assets/js/panel.js

    r3293115 r3376164  
    1212        var $template_val = $template.val();
    1313
    14         var template_array = ['template-4','template-5','template-6','template-7','template-8','template-9','template-10'];
     14        var template_array = ['template-4','template-5','template-6','template-7','template-8','template-9','template-10','template-14'];
    1515       
    1616        if(jQuery.inArray($template_val, template_array) != -1) {
     
    7171
    7272        var template = $('#ilrc_template').val();
    73         var template_array = ['template-4','template-5','template-6','template-7','template-8','template-9','template-10'];
     73        var template_array = ['template-4','template-5','template-6','template-7','template-8','template-9','template-10','template-14'];
    7474
    7575        if(jQuery.inArray(template, template_array) != -1) {
  • internal-linking-of-related-contents/trunk/core/includes/class-notice.php

    r3293115 r3376164  
    1515        public function __construct( $fields = array() ) {
    1616
    17             if ( !get_user_meta( get_current_user_id(), 'ilrc_notice_userid_' . get_current_user_id() , TRUE ) ) {
     17            if (
     18                current_user_can('manage_options') &&
     19                !get_user_meta( get_current_user_id(), 'ilrc_notice_userid_' . get_current_user_id() , TRUE )
     20            ) {
    1821
    1922                add_action( 'admin_notices', array(&$this, 'admin_notice') );
  • internal-linking-of-related-contents/trunk/core/includes/class-panel.php

    r3307944 r3376164  
    399399            global $ilrc_message;
    400400
    401             if (!current_user_can('manage_options')) {
    402                 exit;
    403             }
    404 
    405401            $ilrc_setting = get_option($this->plugin_optionname);
    406402
     
    416412
    417413            if (
     414                current_user_can('manage_options') &&
    418415                isset($_GET['action']) &&
    419416                ($_GET['action'] == 'ilrc_export_action') &&
     
    432429
    433430            if (
     431                current_user_can('manage_options') &&
    434432                isset($_GET['action']) &&
    435433                ($_GET['action'] == 'ilrc_backup_reset') &&
     
    445443
    446444            if (
     445                current_user_can('manage_options') &&
    447446                isset($_POST['ilrc_upload_backup']) &&
    448447                isset($_POST['ilrc_upload_nonce']) &&
     
    473472
    474473                if (
     474                    !current_user_can('manage_options') ||
    475475                    !isset($_POST['ilrc_save_nonces']) ||
    476476                    !wp_verify_nonce(esc_attr($_POST['ilrc_save_nonces']), 'ilrc_save_options' )
     
    10841084                                            echo $ilrcForm->tableElementStart('td', FALSE, 'indicator');
    10851085
    1086                                                 echo esc_html__('13', 'internal-linking-of-related-contents');
     1086                                                echo esc_html__('14', 'internal-linking-of-related-contents');
    10871087
    10881088                                            echo $ilrcForm->tableElementEnd('td');
  • internal-linking-of-related-contents/trunk/init.php

    r3307944 r3376164  
    55Plugin URI: https://www.themeinprogress.com/internal-linking-related-contents-pro/
    66Description: Internal Linking of Related Contents allows you to automatically insert inline related posts within your WordPress articles.
    7 Version: 1.1.9
     7Version: 1.2.0
    88Text Domain: internal-linking-of-related-contents
    99Author: ThemeinProgress
     
    3030
    3131define( 'ILRC_NAME', 'Internal Linking Related Contents' );
    32 define( 'ILRC_VERSION', '1.1.9' );
     32define( 'ILRC_VERSION', '1.2.0' );
    3333define( 'ILRC_PLUGIN_FOLDER', plugins_url(false, __FILE__ ) );
    3434define( 'ILRC_ITEM_SLUG', 'ilrc');
Note: See TracChangeset for help on using the changeset viewer.