Changeset 13895
- Timestamp:
- 03/30/2010 06:55:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r13827 r13895 10 10 * The custom header image class. 11 11 * 12 * @since 3.0.012 * @since 2.1.0 13 13 * @package WordPress 14 14 * @subpackage Administration … … 20 20 * 21 21 * @var callback 22 * @since 3.0.022 * @since 2.1.0 23 23 * @access private 24 24 */ … … 34 34 var $admin_image_div_callback; 35 35 36 /** 37 * Holds default headers. 38 * 39 * @var array 40 * @since 3.0.0 41 * @access private 42 */ 36 43 var $default_headers = array(); 37 44 … … 39 46 * PHP4 Constructor - Register administration header callback. 40 47 * 41 * @since 3.0.048 * @since 2.1.0 42 49 * @param callback $admin_header_callback 43 50 * @param callback $admin_image_div_callback Optional custom image div output callback. … … 52 59 * Set up the hooks for the Custom Header admin page. 53 60 * 54 * @since 3.0.061 * @since 2.1.0 55 62 */ 56 63 function init() { … … 70 77 * Get the current step. 71 78 * 72 * @since 3.0.079 * @since 2.6.0 73 80 * 74 81 * @return int Current step … … 88 95 * Set up the enqueue for the JavaScript files. 89 96 * 90 * @since 3.0.097 * @since 2.1.0 91 98 */ 92 99 function js_includes() { … … 116 123 * Execute custom header modification. 117 124 * 118 * @since 3.0.0125 * @since 2.6.0 119 126 */ 120 127 function take_action() { … … 149 156 * Process the default headers 150 157 * 151 * 158 * @since 3.0.0 152 159 */ 153 160 function process_default_headers() { … … 211 218 * Execute Javascript depending on step. 212 219 * 213 * @since 3.0.0220 * @since 2.1.0 214 221 */ 215 222 function js() { … … 224 231 * Display Javascript based on Step 1. 225 232 * 226 * @since 3.0.0233 * @since 2.6.0 227 234 */ 228 235 function js_1() { ?> … … 302 309 * Display Javascript based on Step 2. 303 310 * 304 * @since 3.0.0311 * @since 2.6.0 305 312 */ 306 313 function js_2() { ?> … … 354 361 * Display first step of custom header image page. 355 362 * 356 * @since 3.0.0363 * @since 2.1.0 357 364 */ 358 365 function step_1() { … … 449 456 * Display second step of custom header image page. 450 457 * 451 * @since 3.0.0458 * @since 2.1.0 452 459 */ 453 460 function step_2() { … … 529 536 * Display third step of custom header image page. 530 537 * 531 * @since 3.0.0538 * @since 2.1.0 532 539 */ 533 540 function step_3() { … … 578 585 * Display last step of custom header image page. 579 586 * 580 * @since 3.0.0587 * @since 2.1.0 581 588 */ 582 589 function finished() { … … 588 595 * Display the page based on the current step. 589 596 * 590 * @since 3.0.0597 * @since 2.1.0 591 598 */ 592 599 function admin_page() {
Note: See TracChangeset
for help on using the changeset viewer.