Have to see the code how you’ve submitted from the form.
Here you go – thanks for help
http://pastebin.com/3ejg8P99
That’s to process the $_POST variable, but what about the actual form? The HTML form code that submits the data?
The form – if I’m not mistaken – is this one that is already on the page –
<form id="your-profile" action="http://localhost/symbiostock/wp-admin/profile.php" method="post">
– Other than that, the add_action() merely adds inputs. Is there more needed?
Looking at this source, its inserting this random stuff –
<pre class='xdebug-var-dump' dir='ltr'>
<b>array</b> <i>(size=0)</i>
<i><font color='#888a85'>empty</font></i>
</pre>
…is this significant?
Apparently at some point it redirects? So I had to update the options here with separate functions:
add_action( 'personal_options_update', 'symbiostock_update_social_credentials' );
add_action( 'edit_user_profile_update', 'symbiostock_update_social_credentials' );