Make WordPress Core

Ticket #35553: ticket_35553.2.diff

File ticket_35553.2.diff, 588 bytes (added by dotancohen, 10 years ago)

Same patch, but uses the WP filenames and paths so it may apply easier.

  • src/wp-includes/taxonomy.php

    diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
    index 39b5b00..001d791 100644
    a b function get_taxonomies( $args = array(), $output = 'names', $operator = 'and' ) 
    161161 * It appears that this function can be used to find all of the names inside of
    162162 * $wp_taxonomies global variable.
    163163 *
    164  * `<?php $taxonomies = get_object_taxonomies('post'); ?>` Should
     164 * `$taxonomies = get_object_taxonomies('post')` Should
    165165 * result in `Array( 'category', 'post_tag' )`
    166166 *
    167167 * @since 2.3.0