Plugin Directory

Changeset 1049798

Timestamp:
12/19/2014 09:44:22 PM (10 years ago)
Author:
corvidism
Message:

Corrected bug in automatic adding new pages to whitelists.

Location:
page-whitelists/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • page-whitelists/trunk/classes/WL_Access_Manager.php

    r1049797 r1049798  
    115115            WL_Dev::log("user can create pages");
    116116            $page_id = $post->ID;
     117
    117118            foreach ($lists as $list) {
    118119                $list->add_page($page_id);
  • page-whitelists/trunk/templates/lists_page.php

    r1049786 r1049798  
    1818            <th scope="col" class="manage-column"><?php _e("Assigned to users",'page-whitelists'); ?></th>
    1919            <th scope="col" class="manage-column"><?php _e("Allow creation of new pages",'page-whitelists'); ?></th>
    20             <!-- <th scope="col" class="manage-column">Date</th> -->
    2120        </tr>
    2221    </thead>
     
    3736            <td class="wlist-users"><?php $list->the_users(); ?></td>
    3837            <td class="wlist-strict"><?php echo ($list->is_strict())?__('no','page-whitelists'):__('yes','page-whitelists');?></td>
    39            
    40             <!--<td class="wlist-time"><abbr title="<?php echo mysql2date( 'Y/m/d h:i:s A', $list->get_time(),true); ?>"><?php echo mysql2date( 'Y/m/d', $list->get_time(),true); ?></abbr></td>-->
    4138        </tr>           
    4239            <?php }; ?>
Note: See TracChangeset for help on using the changeset viewer.