IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
44 | 44 | <?php if ( !global_terms_enabled() ) { ?> |
45 | 45 | <tr class="form-field"> |
46 | 46 | <th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th> |
47 | | <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" /> |
| 47 | <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug, $tag)); ?>" size="40" /> |
48 | 48 | <p class="description"><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td> |
49 | 49 | </tr> |
50 | 50 | <?php } ?> |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
589 | 589 | */ |
590 | 590 | function post_slug_meta_box($post) { |
591 | 591 | ?> |
592 | | <label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( apply_filters('editable_slug', $post->post_name) ); ?>" /> |
| 592 | <label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( apply_filters('editable_slug', $post->post_name, $post) ); ?>" /> |
593 | 593 | <?php |
594 | 594 | } |
595 | 595 | |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
1040 | 1040 | $uri = untrailingslashit($uri); |
1041 | 1041 | $uri = strrev( stristr( strrev( $uri ), '/' ) ); |
1042 | 1042 | $uri = untrailingslashit($uri); |
1043 | | $uri = apply_filters( 'editable_slug', $uri ); |
| 1043 | $uri = apply_filters( 'editable_slug', $uri, $post ); |
1044 | 1044 | if ( !empty($uri) ) |
1045 | 1045 | $uri .= '/'; |
1046 | 1046 | $permalink = str_replace('%pagename%', "{$uri}%pagename%", $permalink); |
1047 | 1047 | } |
1048 | 1048 | |
1049 | | $permalink = array($permalink, apply_filters('editable_slug', $post->post_name)); |
| 1049 | $permalink = array($permalink, apply_filters('editable_slug', $post->post_name, $post)); |
1050 | 1050 | $post->post_status = $original_status; |
1051 | 1051 | $post->post_date = $original_date; |
1052 | 1052 | $post->post_name = $original_name; |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
268 | 268 | $out .= $this->row_actions( $actions ); |
269 | 269 | $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">'; |
270 | 270 | $out .= '<div class="name">' . $qe_data->name . '</div>'; |
271 | | $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>'; |
| 271 | $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug, $qe_data ) . '</div>'; |
272 | 272 | $out .= '<div class="parent">' . $qe_data->parent . '</div></div>'; |
273 | 273 | |
274 | 274 | return $out; |
… |
… |
|
279 | 279 | } |
280 | 280 | |
281 | 281 | function column_slug( $tag ) { |
282 | | return apply_filters( 'editable_slug', $tag->slug ); |
| 282 | return apply_filters( 'editable_slug', $tag->slug, $tag ); |
283 | 283 | } |
284 | 284 | |
285 | 285 | function column_posts( $tag ) { |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
295 | 295 | echo ' |
296 | 296 | <div class="hidden" id="inline_' . $post->ID . '"> |
297 | 297 | <div class="post_title">' . $title . '</div> |
298 | | <div class="post_name">' . apply_filters('editable_slug', $post->post_name) . '</div> |
| 298 | <div class="post_name">' . apply_filters('editable_slug', $post->post_name, $post) . '</div> |
299 | 299 | <div class="post_author">' . $post->post_author . '</div> |
300 | 300 | <div class="comment_status">' . esc_html( $post->comment_status ) . '</div> |
301 | 301 | <div class="ping_status">' . esc_html( $post->ping_status ) . '</div> |