Changeset 3794746 for copy-delete-posts/trunk/menu/variables.php
- Timestamp:
- 11/10/2026 04:01:40 PM (2 weeks ago)
- File:
-
- 1 edited
-
copy-delete-posts/trunk/menu/variables.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
copy-delete-posts/trunk/menu/variables.php
r3455545 r3794746 134 134 </script> 135 135 <div class="cdp-copy-alert-success" style="top: -28px; opacity: 0; display: none;"> 136 <img src="<?php echo $cdp_plug_url?>/assets/imgs/copy.png" alt="<?php _e('Successfull copy image', 'copy-delete-posts'); ?>">136 <img src="<?php echo esc_url($cdp_plug_url) ?>/assets/imgs/copy.png" alt="<?php _e('Successfull copy image', 'copy-delete-posts'); ?>"> 137 137 </div> 138 138 <?php do_action('cdp_notices_special'); ?> … … 148 148 <div class="cdp-spinner"></div> 149 149 </div> 150 <input type="text" hidden id="cdp-purl" style="display: none; visibility: hidden;" value="<?php echo $cdp_plug_url?>">150 <input type="text" hidden id="cdp-purl" style="display: none; visibility: hidden;" value="<?php echo esc_url($cdp_plug_url) ?>"> 151 151 <?php if ($hideTT == true): ?> 152 152 <input type="text" hidden id="cdp-hideTT" style="display: none; visibility: hidden;" value="true"> … … 154 154 155 155 <?php if ($post_id != false): ?> 156 <input type="text" hidden id="cdp-current-post-id" style="display: none; visibility: hidden;" value="<?php echo $post_id?>">156 <input type="text" hidden id="cdp-current-post-id" style="display: none; visibility: hidden;" value="<?php echo esc_attr(intval($post_id)) ?>"> 157 157 <?php endif;?> 158 158 159 <?php if ($parent != false ): ?>160 <input type="text" hidden id="cdp-original-post" style="display: none; visibility: hidden;" data-cdp-parent="<?php echo $parent['title'] ?>" data-cdp-parent-url="<?php echo $parent['link']?>">159 <?php if ($parent != false && is_array($parent)): ?> 160 <input type="text" hidden id="cdp-original-post" style="display: none; visibility: hidden;" data-cdp-parent="<?php echo esc_attr(isset($parent['title']) ? $parent['title'] : '') ?>" data-cdp-parent-url="<?php echo esc_url(isset($parent['link']) ? $parent['link'] : '') ?>"> 161 161 <?php endif;?> 162 162
Note:
See TracChangeset
for help on using the changeset viewer.