Changeset 3110119
- Timestamp:
- 06/30/2024 11:13:00 PM (21 months ago)
- Location:
- dynamic-post/trunk
- Files:
-
- 3 edited
-
post-types/post_type_dynamic_post.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
wp_plugin_dynamic_post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dynamic-post/trunk/post-types/post_type_dynamic_post.php
r3060774 r3110119 831 831 } 832 832 } 833 834 835 if (!defined('ABSPATH')) { 836 exit; // Exit if accessed directly 837 } 838 839 function allow_iframes_for_editor_and_author($initArray) { 840 // Add additional allowed HTML elements 841 $initArray['extended_valid_elements'] = 'iframe[src|frameborder|style|scrolling|class|width|height|name|align]'; 842 return $initArray; 843 } 844 845 function add_editor_and_author_capabilities() { 846 $roles = array('editor', 'author'); 847 foreach ($roles as $role_name) { 848 $role = get_role($role_name); 849 if ($role) { 850 // Allow unfiltered HTML for Editors and Authors 851 $role->add_cap('unfiltered_html'); 852 } 853 } 854 } 855 856 // Hook the functions 857 add_filter('tiny_mce_before_init', 'allow_iframes_for_editor_and_author'); 858 add_action('init', 'add_editor_and_author_capabilities'); 859 ?> -
dynamic-post/trunk/readme.txt
r3091662 r3110119 5 5 Tags: financial articles,financial content,CPA content, tax content,free seo content,syndicate articles,blog content,articles for my blog,financial news,business articles,cpa articles,accounting news,cpa newsletter,business newsletter,financial newsletter,accountant newsletter 6 6 Requires at least: 3.0 7 Tested up to: 6.5. 38 Stable tag: 4.0 17 Tested up to: 6.5.5 8 Stable tag: 4.02 9 9 License: GPLv2 or later, Contact sales@service2client.com for duel licensing options. 10 10 … … 227 227 228 228 = 4.01 = 229 *Disclaimer update for only Dynamic Posts, Image Rules for only Dynamic Posts, Save Category for Tech article not working, User Permission Access to Plugin, Plugin Freeze up fixes, Script iframe stripping for video 229 *Disclaimer update for only Dynamic Posts, Image Rules for only Dynamic Posts, Save Category for Tech article not working, User Permission Access to Plugin, Plugin Freeze up fixes, Script iframe stripping for video* 230 231 = 4.02 = 232 *Update Cron code for higer compatibility* 230 233 231 234 == Upgrade Notice == … … 337 340 338 341 = 4.01 =Disclaimer update for only Dynamic Posts, Image Rules for only Dynamic Posts, Save Category for Tech article not working, User Permission Access to Plugin, Plugin Freeze up fixes, Script iframe stripping for video 342 343 = 4.02 =Update Cron code for higer compatibility -
dynamic-post/trunk/wp_plugin_dynamic_post.php
r3091662 r3110119 4 4 Plugin URI: https://www.service2client.com/dynamicpost 5 5 Description: Auto post Service2Clients Dynamic Content articles to your blog on a monthly basis. CPA Content, Tax Content, Accounting Content. 6 Version: 4.0 16 Version: 4.02 7 7 Author: Service2Client 8 8 Author URI: https://www.service2client.com
Note: See TracChangeset
for help on using the changeset viewer.