Changeset 41162 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 07/27/2017 12:40:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r41012 r41162 26 26 * 27 27 * @since 3.4.0 28 * @access protected29 28 * @var WP_Theme 30 29 */ … … 35 34 * 36 35 * @since 3.4.0 37 * @access protected38 36 * @var string 39 37 */ … … 44 42 * 45 43 * @since 3.4.0 46 * @access protected47 44 * @var bool 48 45 */ … … 53 50 * 54 51 * @since 3.9.0 55 * @access public56 52 * @var WP_Customize_Widgets 57 53 */ … … 62 58 * 63 59 * @since 4.3.0 64 * @access public65 60 * @var WP_Customize_Nav_Menus 66 61 */ … … 71 66 * 72 67 * @since 4.5.0 73 * @access public74 68 * @var WP_Customize_Selective_Refresh 75 69 */ … … 80 74 * 81 75 * @since 3.4.0 82 * @access protected83 76 * @var array 84 77 */ … … 89 82 * 90 83 * @since 4.0.0 91 * @access protected92 84 * @var array 93 85 */ … … 98 90 * 99 91 * @since 4.0.0 100 * @access protected101 92 * @var array 102 93 */ … … 107 98 * 108 99 * @since 4.5.0 109 * @access protected110 100 * @var array 111 101 */ … … 116 106 * 117 107 * @since 3.4.0 118 * @access protected119 108 * @var array 120 109 */ … … 125 114 * 126 115 * @since 3.4.0 127 * @access protected128 116 * @var array 129 117 */ … … 134 122 * 135 123 * @since 4.3.0 136 * @access protected137 124 * @var array 138 125 */ … … 143 130 * 144 131 * @since 4.3.0 145 * @access protected146 132 * @var array 147 133 */ … … 152 138 * 153 139 * @since 4.1.0 154 * @access protected155 140 * @var array 156 141 */ … … 161 146 * 162 147 * @since 4.4.0 163 * @access protected164 148 * @var string 165 149 */ … … 170 154 * 171 155 * @since 4.4.0 172 * @access protected173 156 * @var string 174 157 */ … … 179 162 * 180 163 * @since 4.4.0 181 * @access protected182 164 * @var array 183 165 */ … … 188 170 * 189 171 * @since 4.7.0 190 * @access protected191 172 * @var string 192 173 */ … … 204 185 * 205 186 * @since 4.7.0 206 * @access private207 187 * @var string 208 188 */ … … 213 193 * 214 194 * @since 4.7.0 215 * @access private216 195 * @var int|false 217 196 */ … … 222 201 * 223 202 * @since 4.7.0 224 * @access private225 203 * @var array 226 204 */ … … 374 352 * @since 3.4.0 375 353 * @since 4.2.0 Added `$action` param. 376 * @access public377 354 * 378 355 * @param string|null $action Whether the supplied Ajax action is being run. … … 649 626 * 650 627 * @since 4.7.0 651 * @access public652 628 * 653 629 * @return string UUID. … … 719 695 * 720 696 * @since 4.0.0 721 * @access public722 697 * 723 698 * @return array Panels. … … 799 774 * 800 775 * @since 4.7.0 801 * @access public802 776 * 803 777 * @param string $uuid Changeset UUID. … … 836 810 * 837 811 * @since 4.7.0 838 * @access public839 812 * 840 813 * @return int|null Post ID on success or null if there is no post yet saved. … … 858 831 * 859 832 * @since 4.7.0 860 * @access protected861 833 * 862 834 * @param int $post_id Changeset post ID. … … 888 860 * 889 861 * @since 4.7.0 890 * @access public891 862 * 892 863 * @return array Changeset data. … … 914 885 * 915 886 * @since 4.7.0 916 * @access private917 887 * @var array 918 888 */ … … 923 893 * 924 894 * @since 4.7.0 925 * @access public926 895 * 927 896 * @param array $starter_content Starter content. Defaults to `get_theme_starter_content()`. … … 1316 1285 * 1317 1286 * @since 4.7.0 1318 * @access private1319 1287 * 1320 1288 * @param array $attachments Attachments. … … 1377 1345 * 1378 1346 * @since 4.7.0 1379 * @access private1380 1347 */ 1381 1348 public function _save_starter_content_changeset() { … … 1486 1453 * @since 4.1.1 Introduced the `$default` parameter. 1487 1454 * @since 4.6.0 `$default` is now returned early when the setting post value is invalid. 1488 * @access public1489 1455 * 1490 1456 * @see WP_REST_Server::dispatch() … … 1521 1487 * 1522 1488 * @since 4.2.0 1523 * @access public1524 1489 * 1525 1490 * @param string $setting_id ID for the WP_Customize_Setting instance. … … 1619 1584 * 1620 1585 * @since 4.7.0 1621 * @access public1622 1586 * 1623 1587 * @param array $headers Headers. … … 1635 1599 * 1636 1600 * @since 4.7.0 1637 * @access public1638 1601 * @see wp_redirect() 1639 1602 * @see WP_Customize_Manager::get_allowed_url() … … 1681 1644 * @since 4.0.0 1682 1645 * @deprecated 4.7.0 1683 * @access public1684 1646 */ 1685 1647 public function customize_preview_override_404_status() { … … 1711 1673 * 1712 1674 * @since 4.2.0 1713 * @access public1714 1675 */ 1715 1676 public function customize_preview_loading_style() { … … 1742 1703 * 1743 1704 * @since 4.7.0 1744 * @access public1745 1705 */ 1746 1706 public function remove_frameless_preview_messenger_channel() { … … 1992 1952 * 1993 1953 * @since 4.6.0 1994 * @access public1995 1954 * 1996 1955 * @see WP_REST_Request::has_valid_params() … … 2059 2018 * 2060 2019 * @since 4.6.0 2061 * @access public2062 2020 * 2063 2021 * @param true|WP_Error $validity Setting validity. … … 2226 2184 * 2227 2185 * @since 4.7.0 2228 * @access public2229 2186 * 2230 2187 * @param array $args { … … 2570 2527 * 2571 2528 * @since 4.7.0 2572 * @access private2573 2529 * @var bool 2574 2530 */ … … 2581 2537 * 2582 2538 * @since 4.7.0 2583 * @access private2584 2539 * 2585 2540 * @param bool $post_has_changed Whether the post has changed. … … 2611 2566 * 2612 2567 * @since 4.7.0 2613 * @access private2614 2568 * @see _wp_customize_publish_changeset() 2615 2569 * … … 2762 2716 * 2763 2717 * @since 4.7.0 2764 * @access private2765 2718 * 2766 2719 * @param array $inactive_theme_mod_settings Mapping of stylesheet to arrays of theme mod settings. … … 2866 2819 * 2867 2820 * @since 4.2.0 2868 * @access public2869 2821 * 2870 2822 * @param array $setting_ids The setting IDs to add. … … 2978 2930 * 2979 2931 * @since 4.0.0 2980 * @access public2981 2932 * 2982 2933 * @param string $id Panel ID to get. … … 2993 2944 * 2994 2945 * @since 4.0.0 2995 * @access public2996 2946 * 2997 2947 * @param string $id Panel ID to remove. … … 3017 2967 * 3018 2968 * @since 4.3.0 3019 * @access public3020 2969 * 3021 2970 * @see WP_Customize_Panel … … 3031 2980 * 3032 2981 * @since 4.3.0 3033 * @access public3034 2982 */ 3035 2983 public function render_panel_templates() { … … 3045 2993 * @since 3.4.0 3046 2994 * @since 4.5.0 Return added WP_Customize_Section instance. 3047 * @access public3048 2995 * 3049 2996 * @param WP_Customize_Section|string $id Customize Section object, or Section ID. … … 3104 3051 * 3105 3052 * @since 4.3.0 3106 * @access public3107 3053 * 3108 3054 * @see WP_Customize_Section … … 3118 3064 * 3119 3065 * @since 4.3.0 3120 * @access public3121 3066 */ 3122 3067 public function render_section_templates() { … … 3132 3077 * @since 3.4.0 3133 3078 * @since 4.5.0 Return added WP_Customize_Control instance. 3134 * @access public3135 3079 * 3136 3080 * @param WP_Customize_Control|string $id Customize Control object, or ID. … … 3198 3142 * 3199 3143 * @since 4.1.0 3200 * @access public3201 3144 * 3202 3145 * @param string $control Name of a custom control which is a subclass of … … 3211 3154 * 3212 3155 * @since 4.1.0 3213 * @access public3214 3156 */ 3215 3157 public function render_control_templates() { … … 3351 3293 * 3352 3294 * @since 4.4.0 3353 * @access public3354 3295 * 3355 3296 * @return bool Whether the user agent is iOS. … … 3363 3304 * 3364 3305 * @since 4.4.0 3365 * @access public3366 3306 * 3367 3307 * @return string The template string for the document title. … … 3385 3325 * 3386 3326 * @since 4.4.0 3387 * @access public3388 3327 * 3389 3328 * @param string $preview_url URL to be previewed. … … 3398 3337 * 3399 3338 * @since 4.4.0 3400 * @access public3401 3339 * 3402 3340 * @return string URL being previewed. … … 3415 3353 * 3416 3354 * @since 4.7.0 3417 * @access public3418 3355 * 3419 3356 * @return bool Whether cross-domain. … … 3437 3374 * 3438 3375 * @since 4.7.0 3439 * @access public3440 3376 * 3441 3377 * @returns array Allowed URLs. … … 3464 3400 * 3465 3401 * @since 4.7.0 3466 * @access public3467 3402 * 3468 3403 * @return string Messenger channel. … … 3478 3413 * 3479 3414 * @since 4.4.0 3480 * @access public3481 3415 * 3482 3416 * @param string $return_url URL for return link. … … 3493 3427 * 3494 3428 * @since 4.4.0 3495 * @access public3496 3429 * 3497 3430 * @return string URL for link to close Customizer. … … 3517 3450 * 3518 3451 * @since 4.4.0 3519 * @access public3520 3452 * 3521 3453 * @param array $autofocus { … … 3535 3467 * 3536 3468 * @since 4.4.0 3537 * @access public3538 3469 * 3539 3470 * @return array { … … 4266 4197 * 4267 4198 * @since 4.2.0 4268 * @access public4269 4199 * 4270 4200 * @see add_dynamic_settings()
Note: See TracChangeset
for help on using the changeset viewer.