IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
42 | 42 | public $_trailing_context_lines = 10000; |
43 | 43 | |
44 | 44 | /** |
45 | | * {@internal Missing Description}} |
| 45 | * Threshold for when a diff should be saved or omitted. |
46 | 46 | * |
47 | 47 | * @var float |
48 | 48 | * @access protected |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
733 | 733 | // |
734 | 734 | |
735 | 735 | /** |
736 | | * {@internal Missing Short Description}} |
| 736 | * Add post meta data defined in $_POST superglobal for post with given ID. |
737 | 737 | * |
738 | 738 | * @since 1.2.0 |
739 | 739 | * |
… |
… |
|
772 | 772 | } // add_meta |
773 | 773 | |
774 | 774 | /** |
775 | | * {@internal Missing Short Description}} |
| 775 | * Delete post meta data by meta ID. |
776 | 776 | * |
777 | 777 | * @since 1.2.0 |
778 | 778 | * |
… |
… |
|
803 | 803 | } |
804 | 804 | |
805 | 805 | /** |
806 | | * {@internal Missing Short Description}} |
| 806 | * Get post meta data by meta ID. |
807 | 807 | * |
808 | 808 | * @since 2.1.0 |
809 | 809 | * |
… |
… |
|
815 | 815 | } |
816 | 816 | |
817 | 817 | /** |
818 | | * {@internal Missing Short Description}} |
| 818 | * Get meta data for given post ID. |
819 | 819 | * |
820 | | * Some postmeta stuff. |
821 | | * |
822 | 820 | * @since 1.2.0 |
823 | 821 | * |
824 | 822 | * @param int $postid |
… |
… |
|
833 | 831 | } |
834 | 832 | |
835 | 833 | /** |
836 | | * {@internal Missing Short Description}} |
| 834 | * Update post meta data by meta ID. |
837 | 835 | * |
838 | 836 | * @since 1.2.0 |
839 | 837 | * |
… |
… |
|
1006 | 1004 | } |
1007 | 1005 | |
1008 | 1006 | /** |
1009 | | * {@internal Missing Short Description}} |
| 1007 | * Get all available post MIME types for given post type (default is attachment). |
1010 | 1008 | * |
1011 | 1009 | * @since 2.5.0 |
1012 | 1010 | * |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
230 | 230 | var $ready = false; |
231 | 231 | |
232 | 232 | /** |
233 | | * {@internal Missing Description}} |
| 233 | * Blog ID. |
234 | 234 | * |
235 | 235 | * @since 3.0.0 |
236 | 236 | * @access public |
… |
… |
|
239 | 239 | public $blogid = 0; |
240 | 240 | |
241 | 241 | /** |
242 | | * {@internal Missing Description}} |
| 242 | * Site ID. |
243 | 243 | * |
244 | 244 | * @since 3.0.0 |
245 | 245 | * @access public |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | | * {@internal Missing Short Description}} |
| 32 | * Get category object for given ID and 'edit' context. |
33 | 33 | * |
34 | 34 | * @since 2.0.0 |
35 | 35 | * |
… |
… |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | | * {@internal Missing Short Description}} |
| 46 | * Add a new category to the database, if it does not already exist. |
47 | 47 | * |
48 | 48 | * @since 2.0.0 |
49 | 49 | * |
… |
… |
|
64 | 64 | * @since 2.0.0 |
65 | 65 | * |
66 | 66 | * @param array $categories List of categories to create. |
67 | | * @param int $post_id Optional. The post ID. Default empty. |
68 | | * @return List of categories to create for the given post. |
| 67 | * @param int $post_id Optional. The post ID. Default 0. |
| 68 | * @return array |
69 | 69 | */ |
70 | | function wp_create_categories( $categories, $post_id = '' ) { |
| 70 | function wp_create_categories( $categories, $post_id = 0 ) { |
71 | 71 | $cat_ids = array (); |
72 | 72 | foreach ( $categories as $category ) { |
73 | 73 | if ( $id = category_exists( $category ) ) { |
… |
… |
|
189 | 189 | // |
190 | 190 | |
191 | 191 | /** |
192 | | * {@internal Missing Short Description}} |
| 192 | * Check whether post tag with given name exists. |
193 | 193 | * |
194 | 194 | * @since 2.3.0 |
195 | 195 | * |
… |
… |
|
201 | 201 | } |
202 | 202 | |
203 | 203 | /** |
204 | | * {@internal Missing Short Description}} |
| 204 | * Add a new tag to the database, if it does not already exist. |
205 | 205 | * |
206 | 206 | * @since 2.3.0 |
207 | 207 | * |
… |
… |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | /** |
216 | | * {@internal Missing Short Description}} |
| 216 | * Get comma-separated list of tags available to edit. |
217 | 217 | * |
218 | 218 | * @since 2.3.0 |
219 | 219 | * |
220 | | * @param int $post_id |
| 220 | * @param int $post_id |
| 221 | * @param string $taxonomy The taxonomy for which to retrieve terms. Default 'post_tag'. |
221 | 222 | * @return string|bool|WP_Error |
222 | 223 | */ |
223 | 224 | function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) { |
… |
… |
|
225 | 226 | } |
226 | 227 | |
227 | 228 | /** |
228 | | * {@internal Missing Short Description}} |
| 229 | * Get comma-separated list of terms available to edit. |
229 | 230 | * |
230 | 231 | * @since 2.8.0 |
231 | 232 | * |
232 | | * @param int $post_id |
| 233 | * @param int $post_id |
| 234 | * @param string $taxonomy The taxonomy for which to retrieve terms. Default 'post_tag'. |
233 | 235 | * @return string|bool|WP_Error |
234 | 236 | */ |
235 | 237 | function get_terms_to_edit( $post_id, $taxonomy = 'post_tag' ) { |
… |
… |
|
272 | 274 | } |
273 | 275 | |
274 | 276 | /** |
275 | | * {@internal Missing Short Description}} |
| 277 | * Add a new term to the database, if it does not already exist. |
276 | 278 | * |
277 | 279 | * @since 2.8.0 |
278 | 280 | * |
279 | 281 | * @param int|string $tag_name |
| 282 | * @param string $taxonomy The taxonomy for which to retrieve terms. Default 'post_tag'. |
280 | 283 | * @return array|WP_Error |
281 | 284 | */ |
282 | 285 | function wp_create_term($tag_name, $taxonomy = 'post_tag') { |
diff --git wp-admin/includes/widgets.php wp-admin/includes/widgets.php
index e3b231b..a83b3b8 100644
|
|
function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) { |
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | | * {@internal Missing Short Description}} |
| 98 | * Before/After Dynamic controls for widgets |
99 | 99 | * |
100 | 100 | * @since 2.5.0 |
101 | 101 | * |
… |
… |
function wp_list_widget_controls_dynamic_sidebar( $params ) { |
108 | 108 | $i++; |
109 | 109 | |
110 | 110 | $widget_id = $params[0]['widget_id']; |
111 | | $id = isset($params[0]['_temp_id']) ? $params[0]['_temp_id'] : $widget_id; |
112 | | $hidden = isset($params[0]['_hide']) ? ' style="display:none;"' : ''; |
| 111 | $id = isset($params[0]['_temp_id']) ? $params[0]['_temp_id'] : $widget_id; |
| 112 | $hidden = isset($params[0]['_hide']) ? ' style="display:none;"' : ''; |
113 | 113 | |
114 | 114 | $params[0]['before_widget'] = "<div id='widget-{$i}_{$id}' class='widget'$hidden>"; |
115 | | $params[0]['after_widget'] = "</div>"; |
116 | | $params[0]['before_title'] = "%BEG_OF_TITLE%"; // deprecated |
117 | | $params[0]['after_title'] = "%END_OF_TITLE%"; // deprecated |
| 115 | $params[0]['after_widget'] = "</div>"; |
| 116 | $params[0]['before_title'] = "%BEG_OF_TITLE%"; // deprecated |
| 117 | $params[0]['after_title'] = "%END_OF_TITLE%"; // deprecated |
118 | 118 | if ( is_callable( $wp_registered_widgets[$widget_id]['callback'] ) ) { |
119 | 119 | $wp_registered_widgets[$widget_id]['_callback'] = $wp_registered_widgets[$widget_id]['callback']; |
120 | | $wp_registered_widgets[$widget_id]['callback'] = 'wp_widget_control'; |
| 120 | $wp_registered_widgets[$widget_id]['callback'] = 'wp_widget_control'; |
121 | 121 | } |
122 | 122 | |
123 | 123 | return $params; |