Media Manager plugin: 50 items per pages, not 10
This commit is contained in:
parent
c662bc3590
commit
1ac326f9cc
@ -8,8 +8,8 @@
|
|||||||
* Description: Manage uploaded files and photo galleries. Part of the standard distribution.
|
* Description: Manage uploaded files and photo galleries. Part of the standard distribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// config
|
// FIXME: Add a config option in the plugin panel to set this value
|
||||||
define('ITEMSPERPAGE', 10);
|
define('ITEMSPERPAGE', 50);
|
||||||
|
|
||||||
//
|
//
|
||||||
function mediamanager_updateUseCountArr(&$files, $fupd) {
|
function mediamanager_updateUseCountArr(&$files, $fupd) {
|
||||||
@ -55,6 +55,4 @@ function mediamanager_invalidatecount($arg) {
|
|||||||
return $arg;
|
return $arg;
|
||||||
}
|
}
|
||||||
add_filter('delete_post', 'mediamanager_invalidatecount', 1);
|
add_filter('delete_post', 'mediamanager_invalidatecount', 1);
|
||||||
add_filter('content_save_pre', 'mediamanager_invalidatecount', 1);
|
add_filter('content_save_pre', 'mediamanager_invalidatecount', 1);
|
||||||
|
|
||||||
?>
|
|
Loading…
x
Reference in New Issue
Block a user