~ubuntu-branches/debian/jessie/wordpress/jessie

« back to all changes in this revision

Viewing changes to wp-admin/includes/taxonomy.php

  • Committer: Package Import Robot
  • Author(s): Craig Small
  • Date: 2014-04-17 20:56:19 UTC
  • mfrom: (1.2.35)
  • Revision ID: package-import@ubuntu.com-20140417205619-nurbet6eho4yvwfv
Tags: 3.9+dfsg-1
* New upstream release
* 3.9 seems to handle different locations for plugins so the
  plugin directory handling patches have been cut back.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
                $tag_names[] = $tag->name;
234
234
        $tags_to_edit = join( ',', $tag_names );
235
235
        $tags_to_edit = esc_attr( $tags_to_edit );
 
236
 
 
237
        /**
 
238
         * Filter the comma-separated list of terms available to edit.
 
239
         *
 
240
         * @since 2.8.0
 
241
         *
 
242
         * @see get_terms_to_edit()
 
243
         *
 
244
         * @param array  $tags_to_edit An array of terms.
 
245
         * @param string $taxonomy     The taxonomy for which to retrieve terms. Default 'post_tag'.
 
246
         */
236
247
        $tags_to_edit = apply_filters( 'terms_to_edit', $tags_to_edit, $taxonomy );
237
248
 
238
249
        return $tags_to_edit;