Changeset 41162 for trunk/src/wp-includes/class-wp-customize-widgets.php
- Timestamp:
- 07/27/2017 12:40:27 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r41002 r41162 23 23 * 24 24 * @since 3.9.0 25 * @access public26 25 * @var WP_Customize_Manager 27 26 */ … … 32 31 * 33 32 * @since 3.9.0 34 * @access protected35 33 * @var array 36 34 */ … … 57 55 /** 58 56 * @since 3.9.0 59 * @access protected60 57 * @var array 61 58 */ … … 64 61 /** 65 62 * @since 3.9.0 66 * @access protected67 63 * @var array 68 64 */ … … 71 67 /** 72 68 * @since 3.9.0 73 * @access protected74 69 * @var array 75 70 */ … … 80 75 * 81 76 * @since 4.5.0 82 * @access protected83 77 * @var array 84 78 */ … … 89 83 * 90 84 * @since 4.2.0 91 * @access protected92 85 * @var array 93 86 */ … … 101 94 * 102 95 * @since 3.9.0 103 * @access public104 96 * 105 97 * @param WP_Customize_Manager $manager Customize manager bootstrap instance. … … 144 136 * 145 137 * @since 4.5.0 146 * @access public147 138 * 148 139 * @global WP_Widget_Factory $wp_widget_factory … … 169 160 * 170 161 * @since 4.5.0 171 * @access public172 162 * 173 163 * @param string $id_base Widget ID Base. … … 183 173 * 184 174 * @since 4.2.0 185 * @access protected186 175 * 187 176 * @staticvar array $cache … … 208 197 * 209 198 * @since 4.2.0 210 * @access public211 199 */ 212 200 public function register_settings() { … … 240 228 * 241 229 * @since 4.2.0 242 * @access public243 230 * 244 231 * @param false|array $args The arguments to the WP_Customize_Setting constructor. … … 257 244 * 258 245 * @since 3.9.0 259 * @access protected260 246 * 261 247 * @param string $name Post value. … … 281 267 * 282 268 * @since 3.9.0 283 * @access public284 269 * 285 270 * @global array $sidebars_widgets … … 314 299 * 315 300 * @since 3.9.0 316 * @access public317 301 * 318 302 * @see WP_Customize_Widgets::handle_theme_switch() … … 333 317 * 334 318 * @since 3.9.0 335 * @access public336 319 * 337 320 * @see WP_Customize_Widgets::handle_theme_switch() … … 353 336 * 354 337 * @since 3.9.0 355 * @access public356 338 */ 357 339 public function customize_controls_init() { … … 373 355 * 374 356 * @since 3.9.0 375 * @access public376 357 */ 377 358 public function schedule_customize_register() { … … 387 368 * 388 369 * @since 3.9.0 389 * @access public390 370 * 391 371 * @global array $wp_registered_widgets … … 538 518 * 539 519 * @since 4.4.0 540 * @access public541 520 * 542 521 * @see WP_Customize_Panel::$active_callback … … 554 533 * 555 534 * @since 3.9.0 556 * @access public557 535 * 558 536 * @param string $widget_id Widget ID. … … 580 558 * 581 559 * @since 3.9.0 582 * @access public583 560 * 584 561 * @global $wp_registered_widget_controls … … 610 587 * 611 588 * @since 3.9.0 612 * @access public613 589 * 614 590 * @param string $widget_id Widget ID. … … 635 611 * 636 612 * @since 3.9.0 637 * @access public638 613 * 639 614 * @param string $setting_id Widget setting ID. … … 657 632 * 658 633 * @since 3.9.0 659 * @access public660 634 */ 661 635 public function print_styles() { … … 672 646 * 673 647 * @since 3.9.0 674 * @access public675 648 */ 676 649 public function print_scripts() { … … 686 659 * 687 660 * @since 3.9.0 688 * @access public689 661 * 690 662 * @global WP_Scripts $wp_scripts … … 823 795 * 824 796 * @since 3.9.0 825 * @access public826 797 */ 827 798 public function output_widget_control_templates() { … … 866 837 * 867 838 * @since 3.9.0 868 * @access public869 839 */ 870 840 public function print_footer_scripts() { … … 883 853 * 884 854 * @since 3.9.0 885 * @access public886 855 * 887 856 * @param string $id Widget setting ID. … … 927 896 * 928 897 * @since 3.9.0 929 * @access public930 898 * 931 899 * @param array $widget_ids Array of widget IDs. … … 945 913 * 946 914 * @since 3.9.0 947 * @access public948 915 * 949 916 * @global array $wp_registered_widgets … … 1032 999 * 1033 1000 * @since 3.9.0 1034 * @access protected1035 1001 * 1036 1002 * @param array $widget_a The first widget to compare. … … 1046 1012 * 1047 1013 * @since 3.9.0 1048 * @access public1049 1014 * 1050 1015 * @param array $args Widget control arguments. … … 1066 1031 * 1067 1032 * @since 4.4.0 1068 * @access public1069 1033 * 1070 1034 * @param array $args Widget control arguments. … … 1097 1061 * 1098 1062 * @since 3.9.0 1099 * @access public1100 1063 */ 1101 1064 public function customize_preview_init() { … … 1109 1072 * 1110 1073 * @since 4.2.0 1111 * @access public1112 1074 * 1113 1075 * @param array $nonces Array of nonces. … … 1128 1090 * 1129 1091 * @since 3.9.0 1130 * @access public1131 1092 * 1132 1093 * @param array $sidebars_widgets List of widgets for the current sidebar. … … 1144 1105 * 1145 1106 * @since 3.9.0 1146 * @access public1147 1107 */ 1148 1108 public function customize_preview_enqueue() { … … 1155 1115 * 1156 1116 * @since 3.9.0 1157 * @access public1158 1117 */ 1159 1118 public function print_preview_css() { … … 1216 1175 * 1217 1176 * @since 3.9.0 1218 * @access public1219 1177 * 1220 1178 * @param array $widget Rendered widget to tally. … … 1228 1186 * 1229 1187 * @since 4.0.0 1230 * @access public1231 1188 * 1232 1189 * @param string $widget_id Widget ID to check. … … 1241 1198 * 1242 1199 * @since 4.0.0 1243 * @access public1244 1200 * 1245 1201 * @param string $sidebar_id Sidebar ID to check. … … 1258 1214 * 1259 1215 * @since 3.9.0 1260 * @access public1261 1216 * 1262 1217 * @param bool $is_active Whether the sidebar is active. … … 1284 1239 * 1285 1240 * @since 3.9.0 1286 * @access public1287 1241 * 1288 1242 * @param bool $has_widgets Whether the current sidebar has widgets. … … 1310 1264 * 1311 1265 * @since 3.9.0 1312 * @access protected1313 1266 * 1314 1267 * @param string $serialized_instance Widget instance. … … 1326 1279 * 1327 1280 * @since 3.9.0 1328 * @access public1329 1281 * 1330 1282 * @param array $value Widget instance to sanitize. … … 1364 1316 * 1365 1317 * @since 3.9.0 1366 * @access public1367 1318 * 1368 1319 * @param array $value Widget instance to convert to JSON. … … 1390 1341 * 1391 1342 * @since 3.9.0 1392 * @access public1393 1343 * 1394 1344 * @global array $wp_registered_widgets … … 1409 1359 * 1410 1360 * @since 3.9.0 1411 * @access public1412 1361 * 1413 1362 * @global array $wp_registered_widget_updates … … 1539 1488 * 1540 1489 * @since 3.9.0 1541 * @access public1542 1490 * 1543 1491 * @see wp_ajax_save_widget() … … 1602 1550 * 1603 1551 * @since 4.5.0 1604 * @access public1605 1552 * 1606 1553 * @param array|false $partial_args Partial arguments. … … 1636 1583 * 1637 1584 * @since 4.5.0 1638 * @access public1639 1585 */ 1640 1586 public function selective_refresh_init() { … … 1712 1658 * 1713 1659 * @since 4.5.0 1714 * @access protected1715 1660 * @var array 1716 1661 */ … … 1723 1668 * 1724 1669 * @since 4.5.0 1725 * @access public1726 1670 * 1727 1671 * @param array $allowed_html Allowed HTML. … … 1753 1697 * 1754 1698 * @since 4.5.0 1755 * @access protected1756 1699 * @var array 1757 1700 */ … … 1762 1705 * 1763 1706 * @since 4.5.0 1764 * @access protected1765 1707 * @var int 1766 1708 */ … … 1771 1713 * 1772 1714 * @since 4.5.0 1773 * @access protected1774 1715 * @var array 1775 1716 */ … … 1782 1723 * 1783 1724 * @since 4.5.0 1784 * @access public1785 1725 * 1786 1726 * @param int|string $index Index, name, or ID of the dynamic sidebar. … … 1803 1743 * 1804 1744 * @since 4.5.0 1805 * @access public1806 1745 * 1807 1746 * @param int|string $index Index, name, or ID of the dynamic sidebar. … … 1818 1757 * 1819 1758 * @since 4.5.0 1820 * @access protected1821 1759 * @var string 1822 1760 */ … … 1827 1765 * 1828 1766 * @since 4.5.0 1829 * @access protected1830 1767 * @var string 1831 1768 */ … … 1836 1773 * 1837 1774 * @since 4.5.0 1838 * @access protected1839 1775 * 1840 1776 * @param array $sidebars_widgets Sidebars widgets. … … 1850 1786 * 1851 1787 * @since 4.5.0 1852 * @access public1853 1788 * 1854 1789 * @see dynamic_sidebar() … … 1909 1844 * 1910 1845 * @since 3.9.0 1911 * @access protected1912 1846 * @var array $_captured_options Values updated while option capture is happening. 1913 1847 */ … … 1918 1852 * 1919 1853 * @since 3.9.0 1920 * @access protected1921 1854 * @var bool $_is_current Whether option capture is currently happening or not. 1922 1855 */ … … 1927 1860 * 1928 1861 * @since 3.9.0 1929 * @access protected1930 1862 * 1931 1863 * @param string $option_name Option name. … … 1940 1872 * 1941 1873 * @since 3.9.0 1942 * @access protected1943 1874 * 1944 1875 * @return array Array of captured options. … … 1952 1883 * 1953 1884 * @since 4.2.0 1954 * @access protected1955 1885 * 1956 1886 * @param string $option_name Option name. … … 1971 1901 * 1972 1902 * @since 3.9.0 1973 * @access protected1974 1903 * 1975 1904 * @return int Number of updated options. … … 1983 1912 * 1984 1913 * @since 3.9.0 1985 * @access protected1986 1914 */ 1987 1915 protected function start_capturing_option_updates() { … … 1999 1927 * 2000 1928 * @since 3.9.0 2001 * @access public2002 1929 * 2003 1930 * @param mixed $new_value The new option value. … … 2024 1951 * 2025 1952 * @since 3.9.0 2026 * @access public2027 1953 * 2028 1954 * @param mixed $value Value to return instead of the option value. … … 2046 1972 * 2047 1973 * @since 3.9.0 2048 * @access protected2049 1974 */ 2050 1975 protected function stop_capturing_option_updates() {
Note: See TracChangeset
for help on using the changeset viewer.