Changeset 3470715
- Timestamp:
- 02/26/2026 10:14:57 PM (5 weeks ago)
- Location:
- admin-documentation
- Files:
-
- 5 added
- 2 edited
-
tags/1.2.0 (added)
-
tags/1.2.0/admin-documentation.css (added)
-
tags/1.2.0/admin-documentation.js (added)
-
tags/1.2.0/admin-documentation.php (added)
-
tags/1.2.0/readme.txt (added)
-
trunk/admin-documentation.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin-documentation/trunk/admin-documentation.php
r3341824 r3470715 3 3 * Plugin Name: Admin Documentation 4 4 * Description: Adds a simple documentation page to your WordPress admin to keep instructions, notes, and other helpful information for maintaining your website. 5 * Version: 1. 15 * Version: 1.2.0 6 6 * Author: Basecraft 7 7 * Author URI: https://basecraft.com … … 72 72 <div id="basecraftad-doc-container"> 73 73 <div id="basecraftad-doc-toc"></div> 74 <div id="basecraftad-doc-content-container"><div id="basecraftad-doc-content"><?php echo wp_kses_post(wpautop($content)); ?></div></div> 74 <div id="basecraftad-doc-content-container"><div id="basecraftad-doc-content"><?php 75 $allowed_html = array_merge(wp_kses_allowed_html('post'), array( 76 'video' => array( 77 'src' => true, 78 'controls' => true, 79 'width' => true, 80 'height' => true, 81 'loop' => true, 82 'autoplay' => true, 83 'muted' => true, 84 'preload' => true, 85 'class' => true, 86 'style' => true, 87 ), 88 'source' => array( 89 'src' => true, 90 'type' => true, 91 ), 92 )); 93 echo wp_kses(do_shortcode(wpautop($content)), $allowed_html); 94 ?></div></div> 75 95 </div> 76 96 </div> … … 83 103 return; 84 104 } 85 wp_enqueue_style('basecraftad-admin-style', plugin_dir_url(__FILE__) . 'admin-documentation.css', array(), '1. 1');86 wp_enqueue_script('basecraftad-admin-script', plugin_dir_url(__FILE__) . 'admin-documentation.js', array(), '1. 1', true);105 wp_enqueue_style('basecraftad-admin-style', plugin_dir_url(__FILE__) . 'admin-documentation.css', array(), '1.2.0'); 106 wp_enqueue_script('basecraftad-admin-script', plugin_dir_url(__FILE__) . 'admin-documentation.js', array(), '1.2.0', true); 87 107 } 88 108 add_action('admin_enqueue_scripts', 'basecraftad_enqueue_admin_assets'); -
admin-documentation/trunk/readme.txt
r3341824 r3470715 2 2 Contributors: basecraft 3 3 Tags: admin, documentation, docs, wiki, help 4 Stable tag: 1. 15 Tested up to: 6. 84 Stable tag: 1.2.0 5 Tested up to: 6.9 6 6 Requires at least: 5.0 7 7 Requires PHP: 7.4 … … 22 22 == Changelog == 23 23 24 = 1.2.0 = 25 26 * Improved - Embedded video support 27 24 28 = 1.1.0 = 25 29
Note: See TracChangeset
for help on using the changeset viewer.