mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Add missing access modifiers to methods/members in WP_Customize_*.
See #27881, #22234. git-svn-id: https://develop.svn.wordpress.org/trunk@28509 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -93,7 +93,7 @@ class WP_Customize_Section {
|
||||
* @param string $id An specific ID of the section.
|
||||
* @param array $args Section arguments.
|
||||
*/
|
||||
function __construct( $manager, $id, $args = array() ) {
|
||||
public function __construct( $manager, $id, $args = array() ) {
|
||||
$keys = array_keys( get_class_vars( __CLASS__ ) );
|
||||
foreach ( $keys as $key ) {
|
||||
if ( isset( $args[ $key ] ) )
|
||||
|
||||
Reference in New Issue
Block a user