Make WordPress Core

Ticket #10441: deprecated-hooks.txt

File deprecated-hooks.txt, 8.7 KB (added by boonebgorges, 9 years ago)
Line 
1src//wp-includes/taxonomy.php:4110:
2                 * @deprecated 2.5.0 Use 'term_link' instead.
3                 *
4                 * @param string $termlink Tag link URL.
5                 * @param int    $term_id  Term ID.
6                 */
7                $termlink = apply_filters( 'tag_link', $termlink, $term->term_id );
8
9
10src//wp-includes/taxonomy.php:4122:
11                 * @deprecated 2.5.0 Use 'term_link' instead.
12                 *
13                 * @param string $termlink Category link URL.
14                 * @param int    $term_id  Term ID.
15                 */
16                $termlink = apply_filters( 'category_link', $termlink, $term->term_id );
17
18
19src//wp-includes/class-wp-rewrite.php:1423:
20                                 * @deprecated 3.1.0 Use 'post_tag_rewrite_rules' instead
21                                 *
22                                 * @param array $rules The rewrite rules generated for tags.
23                                 */
24                                $rules = apply_filters( 'tag_rewrite_rules', $rules );
25
26
27src//wp-includes/class-wp-rewrite.php:1565:
28                 * @deprecated 1.5.0 Use the mod_rewrite_rules filter instead.
29                 *
30                 * @param string $rules mod_rewrite Rewrite rules formatted for .htaccess.
31                 */
32                return apply_filters( 'rewrite_rules', $rules );
33
34
35src//wp-includes/user.php:2045:
36         * @deprecated 1.5.1 Misspelled. Use 'retrieve_password' hook instead.
37         *
38         * @param string $user_login The user login name.
39         */
40        do_action( 'retreive_password', $user->user_login );
41
42
43src//wp-includes/rss.php:25:
44 * @deprecated 3.0.0
45 */
46do_action( 'load_feed_engine' );
47
48
49src//wp-includes/class-wp.php:538:
50                         * @deprecated 2.1.0 Use 'query_vars' or 'request' filters instead.
51                         *
52                         * @param string $query_string The query string to modify.
53                         */
54                        $this->query_string = apply_filters( 'query_string', $this->query_string );
55
56
57src//wp-includes/post.php:5443:
58                 * @deprecated 3.2.0 The hook transitioned from "somewhat useless" to "totally useless".
59                 *
60                 * @param string $cap Capability.
61                 */
62                if ( ! $cap = apply_filters( 'pub_priv_sql_capability', '' ) ) {
63
64
65src//wp-includes/post.php:5836:
66                 * @deprecated 2.3.0 Use 'private_to_publish' instead.
67                 *
68                 * @param int $post_id Post ID.
69                 */
70                do_action('private_to_published', $post->ID);
71
72
73src//wp-includes/deprecated.php:3555:
74                 * @deprecated 4.3.0
75                 *
76                 * @param string $output Text for the rich text editor.
77                 */
78                return apply_filters( 'richedit_pre', '' );
79
80
81src//wp-includes/deprecated.php:3593:
82         * @deprecated 4.3.0
83         *
84         * @param string $output The HTML-formatted text.
85         */
86        return apply_filters( 'htmledit_pre', $output );
87
88
89src//wp-signup.php:405:
90         * @deprecated 3.0.0 Use the {@see 'add_signup_meta'} filter instead.
91         *
92         * @param array $blog_meta_defaults An array of default blog meta variables.
93         */
94        $meta_defaults = apply_filters( 'signup_create_blog_meta', $blog_meta_defaults );
95
96
97src//wp-admin/edit-tag-form.php:20:
98         * @deprecated 3.0.0 Use {$taxonomy}_pre_edit_form instead.
99         *
100         * @param object $tag Current category term object.
101         */
102        do_action( 'edit_category_form_pre', $tag );
103
104
105src//wp-admin/edit-tag-form.php:30:
106         * @deprecated 3.0.0 Use {$taxonomy}_pre_edit_form instead.
107         *
108         * @param object $tag Current link category term object.
109         */
110        do_action( 'edit_link_category_form_pre', $tag );
111
112
113src//wp-admin/edit-tag-form.php:40:
114         * @deprecated 3.0.0 Use {$taxonomy}_pre_edit_form instead.
115         *
116         * @param object $tag Current tag term object.
117         */
118        do_action( 'edit_tag_form_pre', $tag );
119
120
121src//wp-admin/edit-tag-form.php:186:
122                         * @deprecated 3.0.0 Use {$taxonomy}_edit_form_fields instead.
123                         *
124                         * @param object $tag Current category term object.
125                         */
126                        do_action( 'edit_category_form_fields', $tag );
127
128
129src//wp-admin/edit-tag-form.php:196:
130                         * @deprecated 3.0.0 Use {$taxonomy}_edit_form_fields instead.
131                         *
132                         * @param object $tag Current link category term object.
133                         */
134                        do_action( 'edit_link_category_form_fields', $tag );
135
136
137src//wp-admin/edit-tag-form.php:206:
138                         * @deprecated 3.0.0 Use {$taxonomy}_edit_form_fields instead.
139                         *
140                         * @param object $tag Current tag term object.
141                         */
142                        do_action( 'edit_tag_form_fields', $tag );
143
144
145src//wp-admin/edit-tag-form.php:239:
146         * @deprecated 3.0.0 Use {$taxonomy}_edit_form instead.
147         *
148         * @param object $tag Current taxonomy term object.
149         */
150        do_action( 'edit_tag_form', $tag );
151
152
153src//wp-admin/includes/class-wp-screen.php:735:
154                 * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or
155                 *                   get_current_screen()->remove_help_tab() instead.
156                 *
157                 * @param array     $old_compat_help Old contextual help.
158                 * @param WP_Screen $this            Current WP_Screen instance.
159                 */
160                self::$_old_compat_help = apply_filters( 'contextual_help_list', self::$_old_compat_help, $this );
161
162
163src//wp-admin/includes/class-wp-screen.php:749:
164                 * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or
165                 *                   get_current_screen()->remove_help_tab() instead.
166                 *
167                 * @param string    $old_help  Help text that appears on the screen.
168                 * @param string    $screen_id Screen ID.
169                 * @param WP_Screen $this      Current WP_Screen instance.
170                 *
171                 */
172                $old_help = apply_filters( 'contextual_help', $old_help, $this->id, $this );
173
174
175src//wp-admin/includes/class-wp-screen.php:766:
176                         * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or
177                         *                   get_current_screen()->remove_help_tab() instead.
178                         *
179                         * @param string $old_help_default Default contextual help text.
180                         */
181                        $default_help = apply_filters( 'default_contextual_help', '' );
182
183
184src//wp-admin/includes/class-wp-terms-list-table.php:94:
185                         * @deprecated 2.8.0 Use edit_tags_per_page instead.
186                         *
187                         * @param int $tags_per_page Number of tags to be displayed. Default 20.
188                         */
189                        $tags_per_page = apply_filters( 'tagsperpage', $tags_per_page );
190
191
192src//wp-admin/includes/class-wp-terms-list-table.php:475:
193                 * @deprecated 3.0.0 Use {$taxonomy}_row_actions instead.
194                 *
195                 * @param array  $actions An array of action links to be displayed. Default
196                 *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
197                 * @param object $tag     Term object.
198                 */
199                $actions = apply_filters( 'tag_row_actions', $actions, $tag );
200
201
202src//wp-admin/includes/image-edit.php:266:
203                 * @deprecated 3.5.0 Use image_editor_save_pre instead.
204                 *
205                 * @param resource $image   Image resource to be streamed.
206                 * @param int      $post_id Post ID.
207                 */
208                $image = apply_filters( 'image_save_pre', $image, $post_id );
209
210
211src//wp-admin/includes/image-edit.php:337:
212                 * @deprecated 3.5.0 Use wp_save_image_editor_file instead.
213                 *
214                 * @param mixed           $override  Value to return instead of saving. Default null.
215                 * @param string          $filename  Name of the file to be saved.
216                 * @param WP_Image_Editor $image     WP_Image_Editor instance.
217                 * @param string          $mime_type Image mime type.
218                 * @param int             $post_id   Post ID.
219                 */
220                $saved = apply_filters( 'wp_save_image_file', null, $filename, $image, $mime_type, $post_id );
221
222
223src//wp-admin/includes/image-edit.php:532:
224                 * @deprecated 3.5.0 Use wp_image_editor_before_change instead.
225                 *
226                 * @param resource $image   GD image resource.
227                 * @param array    $changes Array of change operations.
228                 */
229                $image = apply_filters( 'image_edit_before_change', $image, $changes );
230
231
232src//wp-admin/includes/media.php:576:
233         * @deprecated 3.5.0 Use {@see 'media_buttons'} action instead.
234         *
235         * @param string $string Media buttons context. Default empty.
236         */
237        $legacy_filter = apply_filters( 'media_buttons_context', '' );
238
239
240src//wp-admin/edit-tags.php:345:
241                 * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead.
242                 *
243                 * @param object $arg Optional arguments cast to an object.
244                 */
245                do_action( 'add_category_form_pre', (object) array( 'parent' => 0 ) );
246
247
248src//wp-admin/edit-tags.php:355:
249                 * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead.
250                 *
251                 * @param object $arg Optional arguments cast to an object.
252                 */
253                do_action( 'add_link_category_form_pre', (object) array( 'parent' => 0 ) );
254
255
256src//wp-admin/edit-tags.php:365:
257                 * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead.
258                 *
259                 * @param string $taxonomy The taxonomy slug.
260                 */
261                do_action( 'add_tag_form_pre', $taxonomy );
262
263
264src//wp-admin/edit-tags.php:495:
265         * @deprecated 3.0.0 Use {$taxonomy}_add_form instead.
266         *
267         * @param object $arg Optional arguments cast to an object.
268         */
269        do_action( 'edit_category_form', (object) array( 'parent' => 0 ) );
270
271
272src//wp-admin/edit-tags.php:505:
273         * @deprecated 3.0.0 Use {$taxonomy}_add_form instead.
274         *
275         * @param object $arg Optional arguments cast to an object.
276         */
277        do_action( 'edit_link_category_form', (object) array( 'parent' => 0 ) );
278
279
280src//wp-admin/edit-tags.php:515:
281         * @deprecated 3.0.0 Use {$taxonomy}_add_form instead.
282         *
283         * @param string $taxonomy The taxonomy slug.
284         */
285        do_action( 'add_tag_form', $taxonomy );
286
287
288src//wp-admin/edit-form-advanced.php:281:
289 * @deprecated 3.7.0 Use 'add_meta_boxes' instead.
290 *
291 * @param WP_Post $post Post object.
292 */
293do_action( 'dbx_post_advanced', $post );