Changeset 32653 for trunk/src/wp-admin/includes/misc.php
- Timestamp:
- 05/29/2015 05:03:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/misc.php
r32642 r32653 251 251 } 252 252 253 add_action( 'update_option_home', 'update_home_siteurl', 10, 2 );254 add_action( 'update_option_siteurl', 'update_home_siteurl', 10, 2 );255 add_action( 'update_option_page_on_front', 'update_home_siteurl', 10, 2 );256 257 253 /** 258 254 * Shorten an URL, to be used as link text … … 680 676 echo '<script type="text/javascript">var _wpColorScheme = ' . wp_json_encode( array( 'icons' => $icon_colors ) ) . ";</script>\n"; 681 677 } 682 add_action( 'admin_head', 'wp_color_scheme_settings' );683 678 684 679 function _ipad_meta() { … … 689 684 } 690 685 } 691 add_action('admin_head', '_ipad_meta');692 686 693 687 /** … … 720 714 return $response; 721 715 } 722 add_filter( 'heartbeat_received', 'wp_check_locked_posts', 10, 3 );723 716 724 717 /** … … 759 752 return $response; 760 753 } 761 add_filter( 'heartbeat_received', 'wp_refresh_post_lock', 10, 3 );762 754 763 755 /** … … 793 785 return $response; 794 786 } 795 add_filter( 'heartbeat_received', 'wp_refresh_post_nonces', 10, 3 );796 787 797 788 /** … … 814 805 return $settings; 815 806 } 816 add_filter( 'heartbeat_settings', 'wp_heartbeat_set_suspension' );817 807 818 808 /** … … 839 829 return $response; 840 830 } 841 // Run later as we have to set DOING_AUTOSAVE for back-compat842 add_filter( 'heartbeat_received', 'heartbeat_autosave', 500, 2 );843 831 844 832 /** … … 859 847 } 860 848 } 861 add_action( 'post_edit_form_tag', 'post_form_autocomplete_off' );862 849 863 850 /** … … 904 891 <?php 905 892 } 906 add_action( 'admin_head', 'wp_admin_canonical_url' );
Note: See TracChangeset
for help on using the changeset viewer.