Plugin Directory

Changeset 3452608


Ignore:
Timestamp:
02/03/2026 06:56:45 AM (8 weeks ago)
Author:
satollo
Message:

Version 1.3.6

Location:
include-me
Files:
7 added
5 edited

Legend:

Unmodified
Added
Removed
  • include-me/trunk

    • Property svn:ignore
      •  

        old new  
         1build.xml
         2phpstan.neon
        13nbproject
         4phpstan.inc
  • include-me/trunk/admin/admin.php

    r2188682 r3452608  
    11<?php
     2
     3defined('ABSPATH') || exit;
    24
    35add_action('admin_menu', function () {
  • include-me/trunk/admin/options.php

    r2985223 r3452608  
    11<?php
     2
     3defined('ABSPATH') || exit;
    24
    35if (isset($_POST['_wpnonce']) && wp_verify_nonce($_POST['_wpnonce'], 'save')) {
     
    3537    </div>
    3638
    37     <h3><?php _e('Configuration', 'include-me') ?></h3>
     39    <h3><?php esc_html_e('Configuration', 'include-me') ?></h3>
    3840
    3941
     
    4345        <table class="form-table">
    4446            <tr>
    45                 <th><?php _e('Execute shortcodes', 'include-me') ?></th>
     47                <th><?php esc_html_e('Execute shortcodes', 'include-me') ?></th>
    4648                <td>
    4749                    <input type="checkbox" name="options[shortcode]" value="1" <?php echo isset($options['shortcode']) ? 'checked' : ''; ?>>
    4850                    <p class="description">
    49                         <?php _e('When checked short codes (like [gallery]) contained in included files will be executed as if they where inside the post or page body content.', 'include-me') ?>
     51                        <?php esc_html_e('When checked short codes (like [gallery]) contained in included files will be executed as if they where inside the post or page body content.', 'include-me') ?>
    5052                    </p>
    5153                </td>
     
    5355        </table>
    5456        <p class="submit">
    55             <input class="button button-primary" type="submit" name="save" value="<?php _e('Save') ?>"/>
     57            <input class="button button-primary" type="submit" name="save" value="<?php esc_html_e('Save', 'include-me') ?>"/>
    5658        </p>
    5759
    58         <h3><?php _e('How to use', 'include-me') ?></h3>
     60        <h3><?php esc_html_e('How to use', 'include-me') ?></h3>
    5961        <p>
    6062            Files to be included with the shortcode <code>[includeme file="..."]</code> should be placed into the <code>wp-content/include-me</code> folder.
     
    8486                <ul>
    8587                    <?php foreach ($posts as $post) { ?>
    86                         <li><a href="<?php echo get_permalink($post->id) ?>" target="_blank"><?php echo esc_html($post->post_title) ?></a></li>
     88                        <li><a href="<?= esc_attr(get_permalink($post->id)) ?>" target="_blank"><?= esc_html($post->post_title) ?></a></li>
    8789                    <?php } ?>
    8890                </ul>
     
    9193
    9294        <p class="submit">
    93             <input class="button button-primary" type="submit" name="find" value="<?php _e('Find') ?>"/>
     95            <input class="button button-primary" type="submit" name="find" value="<?php esc_html_e('Find', 'include-me') ?>"/>
    9496        </p>
    9597    </form>
  • include-me/trunk/plugin.php

    r3354769 r3452608  
    11<?php
     2
     3defined('ABSPATH') || exit;
    24
    35/*
     
    57  Plugin URI: https://www.satollo.net/plugins/include-me
    68  Description: Include external HTML or PHP in any post or page.
    7   Version: 1.3.5
     9  Version: 1.3.6
    810  Requires PHP: 7.0
    911  Requires at least: 6.1
     
    9698        if (isset($attrs['field'])) {
    9799            global $post;
     100            $options = get_option('includeme', []);
    98101            $buffer = get_post_meta($post->ID, $attrs['field'], true);
    99102            if (!current_user_can('unfiltered_html')) {
  • include-me/trunk/readme.txt

    r3354769 r3452608  
    11=== Include Me ===
    22Tags: php, include, php execute, external page, iframe
    3 Tested up to: 6.8.2
    4 Stable tag: 1.3.5
     3Tested up to: 6.9
     4Stable tag: 1.3.6
    55Donate link: https://www.satollo.net/donations
    66Contributors: satollo
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     9
    910Include Me helps to include any external file (textual, HTML or PHP) in posts or pages.
    1011
     
    5455
    5556== Changelog ==
     57
     58= 1.3.6 =
     59
     60* WP 6.9 check
     61* PCP check
    5662
    5763= 1.3.5 =
Note: See TracChangeset for help on using the changeset viewer.