PluginProbe
TablePress – Tables in WordPress made easy / 3.0
TablePress – Tables in WordPress made easy v3.0
3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.4.4 All 44 releases
← All changes | models/model-options.php +0 -12 trunk3.0 View file →
@@ -112,11 +112,8 @@
112 112 }
113 113
114 114 $plugin_options = $this->plugin_options->get();
115 115 $user_options = $this->user_options->get();
116 -
117 - $old_options = array_merge( $plugin_options, $user_options );
118 -
119 116 foreach ( $new_options as $name => $value ) {
120 117 if ( isset( $this->default_plugin_options[ $name ] ) ) {
121 118 $plugin_options[ $name ] = $value;
122 119 } elseif ( isset( $this->default_user_options[ $name ] ) ) {
@@ -127,17 +124,8 @@
127 124 }
128 125
129 126 $this->plugin_options->update( $plugin_options );
130 127 $this->user_options->update( $user_options );
131 -
132 - /**
133 - * Fires after the options have been saved.
134 - *
135 - * @since 3.1.0
136 - *
137 - * @param array<string, mixed> $old_options Array of all options before the update.
138 - */
139 - do_action( 'tablepress_event_updated_options', $old_options );
140 128 }
141 129
142 130 /**
143 131 * Get the value of a single option, or an array with all options.