WordPress.org

Make WordPress Core

Changeset 13690


Ignore:
Timestamp:
03/13/2010 07:40:50 AM (8 years ago)
Author:
dd32
Message:

Move 'restrict_manage_posts' to a more useful place for uploads. Props jfarthing84. Fixes #12325

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r13601 r13690  
    163163wp_enqueue_script('media');
    164164require_once('admin-header.php');
    165 
    166 do_action('restrict_manage_posts');
    167165?>
    168166
     
    332330</select>
    333331<?php endif; // month_count ?>
     332
     333<?php do_action('restrict_manage_posts'); ?>
    334334
    335335<input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter'); ?>" class="button-secondary" />
Note: See TracChangeset for help on using the changeset viewer.