tmfrltd
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Admin UI Customize] Admin Bar Menu – Unable to save changesI’m sorry, I forgot to click “code” to make sure the code I included would show in the message. I will show the issue here –
The browser HTML code for setting_admin_bar_menu.php shows differently than the actual code in setting_admin_bar_menu.php. I know that both setting_admin_bar_menu.php and wp-admin-ui-customize.php make the webpage at this URL:
wp-admin/admin.php?page=wp_admin_ui_customize_admin_bar
the code in browser is:
</form> <p class="submit"> <input type="submit" class="button-primary" name="update" value="Save" /> </p> <p class="submit reset"> <span class="description">Reset all settings?</span> <input type="submit" class="button-secondary" name="reset" value="Reset" /> </p>
in Google chrome when right clicking “save” button, then choosing inspect element. the browser shows the save button outside of the form, which would be why the save button doesn’t work for this page. I’m not sure why this happens, because I looked at the code for the other files –
list_variables.php, reset_userrole.php, setting_admin_bar_menu.php, setting_admin_general.php, setting_appearance_menus.php, setting_dashboard.php, setting_default.php, setting_loginscreen.php, setting_post_add_edit.php, setting_removemtabox.php, setting_sidemenu.php, setting_site.php
All files with “save” and “reset” have same code for buttons inside </form>. The only page that “save” and “reset” do not work is setting_admin_bar_menu.php If we can find why browser puts “save” and “reset” code outside <form> </form> on that page, we can fix issue mentioned above.
Do you understand the problem?
Forum: Plugins
In reply to: [WP Admin UI Customize] Admin Bar Menu – Unable to save changesgqevu6bsiz,
I’ve tracked what seems to be the likely source for the code –
setting_admin_bar_menu.phpHowever, the file I’m looking at doesn’t have the submit button outside the form. Why would it render the page with the submit button outside the form?
Also, in your setting_admin_general.php file, at –
<form id=”wauc_setting_admin_genelral” class=”wauc_form” method=”post” action=””>
you have general misspelled. In my version I corrected that issue.Can you assist me to figure out why the browser renders the submit button after the </form> for that page? The URL call is –
/wp-admin/admin.php?page=wp_admin_ui_customize_admin_bar
Forum: Plugins
In reply to: [WP Admin UI Customize] Admin Bar Menu – Unable to save changesThis is an actual code issue. I’ve isolated it to here –
<form id="wauc_setting_admin_bar_menu" class="wauc_form" action="" method="post"> … </form> <div id="can_menus" class="metabox-holder columns-1"> … </div> <p class="submit"><input class="button-primary" type="submit" value="Save" name="update"></input></p> <p class="submit reset"> … </p></div>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
This issues comes from the submit and reset buttons not existing within the form. i’m working on isolating which file has the code that generates this. This issue isn’t resolved yet.
– richard
Or, even better, what’s the simple PHP code that I need to copy into my footer.php file?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] I can't add my facebook pageThanks. I’m glad I saw this post, instead of creating a new one! currently I’m getting all the way to connecting to my account, but it won’t allow me to select a specific page I want to consume the new posts. Looking forward to this working!