Skip to content

Commit df7974a

Browse files
committed
reduxframework#207 - radio (and presumably others) not showing data when using 'get_wordpress_data' after save and refresh.
Signed-off-by: Kevin Provance <kevin.provance@gmail.com>
1 parent a45c25b commit df7974a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redux-core/inc/classes/class-redux-wordpress-data.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ public function __construct( $parent = null ) {
4141
*
4242
* @param bool $type Type.
4343
* @param array $args Args.
44+
* @param array $opt_name Opt name.
4445
* @param string|int $current_value Current value.
4546
* @param bool $ajax Tells if this is a AJAX call.
4647
*
4748
* @return array|mixed|string
4849
*/
49-
public function get( $type = false, $args = array(), $current_value = '', $ajax = false ) {
50+
public function get( $type = false, $args = array(), $opt_name = '', $current_value = '', $ajax = false ) {
5051
$opt_name = $this->opt_name;
5152

5253
// We don't want to run this, it's not a string value. Send it back!

0 commit comments

Comments
 (0)