Changeset 719414
- Timestamp:
- 05/28/2013 03:01:29 PM (13 years ago)
- Location:
- multiple-content-blocks/trunk
- Files:
-
- 3 edited
-
assets/inc/functions.template-tags.php (modified) (1 diff)
-
multiple-content-blocks.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multiple-content-blocks/trunk/assets/inc/functions.template-tags.php
r703344 r719414 75 75 function mcb_block_exists($post_id,$name,$type='editor') { 76 76 $blocks = get_post_meta($post_id,'mcb-blocks',true); 77 if(is_array($blocks) ) :77 if(is_array($blocks) && in_array(sanitize_title($name), $blocks)) : 78 78 if(is_array($blocks[sanitize_title($name)])) : 79 79 $comparable_name = $blocks[sanitize_title($name)]['name']; -
multiple-content-blocks/trunk/multiple-content-blocks.php
r703344 r719414 4 4 Plugin URI: https://github.com/trendwerk/multiple-content-blocks/ 5 5 Description: Allow for more content blocks in WordPress than just the one. 6 Version: 3.0. 46 Version: 3.0.5 7 7 Author: Ontwerpstudio Trendwerk 8 8 Author URI: https://github.com/trendwerk/ -
multiple-content-blocks/trunk/readme.txt
r703344 r719414 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5.1 7 Stable tag: 3.0. 47 Stable tag: 3.0.5 8 8 9 9 Allow for more content blocks in WordPress than just the one.
Note: See TracChangeset
for help on using the changeset viewer.