mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Permalinks: Change structure tag button state more reliably.
Changes the highlighted tag buttons accordingly when selecting one of the commong permalink settings. Deprecates `options_permalink_add_js()` as that JavaScript isn't added inline anymore. Fixes #29872. git-svn-id: https://develop.svn.wordpress.org/trunk@41598 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -46,8 +46,6 @@ get_current_screen()->set_help_sidebar(
|
||||
'<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
|
||||
);
|
||||
|
||||
add_filter('admin_head', 'options_permalink_add_js');
|
||||
|
||||
$home_path = get_home_path();
|
||||
$iis7_permalinks = iis7_supports_permalinks();
|
||||
$permalink_structure = get_option( 'permalink_structure' );
|
||||
|
||||
Reference in New Issue
Block a user