Changeset 3452608
- Timestamp:
- 02/03/2026 06:56:45 AM (8 weeks ago)
- Location:
- include-me
- Files:
-
- 7 added
- 5 edited
-
tags/1.3.6 (added)
-
tags/1.3.6/admin (added)
-
tags/1.3.6/admin/admin.css (added)
-
tags/1.3.6/admin/admin.php (added)
-
tags/1.3.6/admin/options.php (added)
-
tags/1.3.6/plugin.php (added)
-
tags/1.3.6/readme.txt (added)
-
trunk (modified) (1 prop)
-
trunk/admin/admin.php (modified) (1 diff)
-
trunk/admin/options.php (modified) (6 diffs)
-
trunk/plugin.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
include-me/trunk
- Property svn:ignore
-
old new 1 build.xml 2 phpstan.neon 1 3 nbproject 4 phpstan.inc
-
- Property svn:ignore
-
include-me/trunk/admin/admin.php
r2188682 r3452608 1 1 <?php 2 3 defined('ABSPATH') || exit; 2 4 3 5 add_action('admin_menu', function () { -
include-me/trunk/admin/options.php
r2985223 r3452608 1 1 <?php 2 3 defined('ABSPATH') || exit; 2 4 3 5 if (isset($_POST['_wpnonce']) && wp_verify_nonce($_POST['_wpnonce'], 'save')) { … … 35 37 </div> 36 38 37 <h3><?php _e('Configuration', 'include-me') ?></h3>39 <h3><?php esc_html_e('Configuration', 'include-me') ?></h3> 38 40 39 41 … … 43 45 <table class="form-table"> 44 46 <tr> 45 <th><?php _e('Execute shortcodes', 'include-me') ?></th>47 <th><?php esc_html_e('Execute shortcodes', 'include-me') ?></th> 46 48 <td> 47 49 <input type="checkbox" name="options[shortcode]" value="1" <?php echo isset($options['shortcode']) ? 'checked' : ''; ?>> 48 50 <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') ?> 50 52 </p> 51 53 </td> … … 53 55 </table> 54 56 <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') ?>"/> 56 58 </p> 57 59 58 <h3><?php _e('How to use', 'include-me') ?></h3>60 <h3><?php esc_html_e('How to use', 'include-me') ?></h3> 59 61 <p> 60 62 Files to be included with the shortcode <code>[includeme file="..."]</code> should be placed into the <code>wp-content/include-me</code> folder. … … 84 86 <ul> 85 87 <?php foreach ($posts as $post) { ?> 86 <li><a href="<? php echo get_permalink($post->id) ?>" target="_blank"><?php echoesc_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> 87 89 <?php } ?> 88 90 </ul> … … 91 93 92 94 <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') ?>"/> 94 96 </p> 95 97 </form> -
include-me/trunk/plugin.php
r3354769 r3452608 1 1 <?php 2 3 defined('ABSPATH') || exit; 2 4 3 5 /* … … 5 7 Plugin URI: https://www.satollo.net/plugins/include-me 6 8 Description: Include external HTML or PHP in any post or page. 7 Version: 1.3. 59 Version: 1.3.6 8 10 Requires PHP: 7.0 9 11 Requires at least: 6.1 … … 96 98 if (isset($attrs['field'])) { 97 99 global $post; 100 $options = get_option('includeme', []); 98 101 $buffer = get_post_meta($post->ID, $attrs['field'], true); 99 102 if (!current_user_can('unfiltered_html')) { -
include-me/trunk/readme.txt
r3354769 r3452608 1 1 === Include Me === 2 2 Tags: php, include, php execute, external page, iframe 3 Tested up to: 6. 8.24 Stable tag: 1.3. 53 Tested up to: 6.9 4 Stable tag: 1.3.6 5 5 Donate link: https://www.satollo.net/donations 6 6 Contributors: satollo 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Include Me helps to include any external file (textual, HTML or PHP) in posts or pages. 10 11 … … 54 55 55 56 == Changelog == 57 58 = 1.3.6 = 59 60 * WP 6.9 check 61 * PCP check 56 62 57 63 = 1.3.5 =
Note: See TracChangeset
for help on using the changeset viewer.