Changeset 32650 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 05/29/2015 03:42:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r32643 r32650 606 606 * @since 2.5.0 607 607 * 608 * @staticvar string $update_nonce 609 * 608 610 * @param array $entry 609 611 * @param int $count … … 611 613 */ 612 614 function _list_meta_row( $entry, &$count ) { 613 static $update_nonce = false;615 static $update_nonce = ''; 614 616 615 617 if ( is_protected_meta( $entry['meta_key'], 'post' ) ) 616 618 return ''; 617 619 618 if ( ! $update_nonce )620 if ( ! $update_nonce ) 619 621 $update_nonce = wp_create_nonce( 'add-meta' ); 620 622 … … 1992 1994 * remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) ); 1993 1995 * 1996 * @static 1997 * 1994 1998 * @param string $hook_suffix The current admin page. 1995 1999 */ … … 2048 2052 * @since 3.3.0 2049 2053 * 2054 * @static 2055 * 2050 2056 * @param string $pointer_id The pointer ID. 2051 2057 * @param string $selector The HTML elements, on which the pointer should be attached. … … 2095 2101 public static function pointer_wp360_revisions() {} 2096 2102 2103 /** 2104 * @static 2105 */ 2097 2106 public static function pointer_wp360_locks() { 2098 2107 if ( ! is_multi_author() ) { … … 2109 2118 } 2110 2119 2120 /** 2121 * @static 2122 */ 2111 2123 public static function pointer_wp390_widgets() { 2112 2124 if ( ! current_theme_supports( 'widgets' ) ) { … … 2165 2177 * 2166 2178 * @since 3.3.0 2179 * 2180 * @static 2167 2181 * 2168 2182 * @param int $user_id User ID.
Note: See TracChangeset
for help on using the changeset viewer.