mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -769,7 +769,6 @@ function get_available_post_statuses($type = 'post') {
|
||||
* @return unknown
|
||||
*/
|
||||
function wp_edit_posts_query( $q = false ) {
|
||||
global $wpdb;
|
||||
if ( false === $q )
|
||||
$q = $_GET;
|
||||
$q['m'] = isset($q['m']) ? (int) $q['m'] : 0;
|
||||
@@ -832,7 +831,6 @@ function get_available_post_mime_types($type = 'attachment') {
|
||||
* @return unknown
|
||||
*/
|
||||
function wp_edit_attachments_query( $q = false ) {
|
||||
global $wpdb;
|
||||
if ( false === $q )
|
||||
$q = $_GET;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user