WP_Date_Query was only missing one access modifier.

Add access modifier (`public`) to all default widgets' class methods.

See #27881, #22234.


git-svn-id: https://develop.svn.wordpress.org/trunk@28532 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-05-19 17:29:42 +00:00
parent dc1ada20c7
commit 707c313333
2 changed files with 57 additions and 57 deletions

View File

@@ -105,7 +105,7 @@ class WP_Date_Query {
* Accepts 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt',
* 'comment_date', 'comment_date_gmt'.
*/
function __construct( $date_query, $default_column = 'post_date' ) {
public function __construct( $date_query, $default_column = 'post_date' ) {
if ( empty( $date_query ) || ! is_array( $date_query ) )
return;