Changeset 45602 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 07/05/2019 05:20:52 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/deprecated.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r45424 r45602 248 248 249 249 if ( (($user_id == $post_author_data->ID) && !($post->post_status == 'publish' && $author_data->user_level < 2)) 250 || ($author_data->user_level > $post_author_data->user_level)251 || ($author_data->user_level >= 10) ) {250 || ($author_data->user_level > $post_author_data->user_level) 251 || ($author_data->user_level >= 10) ) { 252 252 return true; 253 253 } else { … … 394 394 */ 395 395 function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id', 396 $show_description = true, $show_rating = false,397 $limit = -1, $show_updated = 0) {396 $show_description = true, $show_rating = false, 397 $limit = -1, $show_updated = 0) { 398 398 _deprecated_function( __FUNCTION__, '2.1.0', 'get_bookmarks()' ); 399 399 … … 566 566 */ 567 567 function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true, 568 $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {568 $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) { 569 569 _deprecated_function( __FUNCTION__, '2.1.0', 'get_bookmarks()' ); 570 570 … … 614 614 */ 615 615 function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0, 616 $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0,617 $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) {616 $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0, 617 $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) { 618 618 _deprecated_function( __FUNCTION__, '2.1.0', 'wp_list_categories()' ); 619 619
Note: See TracChangeset
for help on using the changeset viewer.