mirror of
https://ghproxy.net/https://github.com/AlxMedia/magaziner.git
synced 2025-08-28 19:02:57 +08:00
3.1.4
This commit is contained in:
parent
cf9998ad1b
commit
3896aa0cc0
15 changed files with 60 additions and 34 deletions
|
@ -64,7 +64,7 @@ class Kirki_Settings {
|
|||
* @access private
|
||||
* @param array $args The field definition as sanitized in Kirki_Field.
|
||||
*/
|
||||
final private function add_settings( $args = array() ) {
|
||||
private function add_settings( $args = array() ) {
|
||||
|
||||
// Get the classname we'll be using to create our setting(s).
|
||||
$classname = false;
|
||||
|
@ -106,7 +106,7 @@ class Kirki_Settings {
|
|||
* @param string $transport Use refresh|postMessage.
|
||||
* @param string|array $sanitize_callback A callable sanitization function or method.
|
||||
*/
|
||||
final private function add_setting( $classname, $setting, $default, $type, $capability, $transport, $sanitize_callback ) {
|
||||
private function add_setting( $classname, $setting, $default, $type, $capability, $transport, $sanitize_callback ) {
|
||||
|
||||
$this->wp_customize->add_setting(
|
||||
new $classname(
|
||||
|
@ -130,7 +130,7 @@ class Kirki_Settings {
|
|||
* and that the defined classes actually exist.
|
||||
* If a defined class does not exist, it is removed.
|
||||
*/
|
||||
final private function set_setting_types() {
|
||||
private function set_setting_types() {
|
||||
|
||||
// Apply the kirki_setting_types filter.
|
||||
$this->setting_types = apply_filters(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue