iThemes Training, 2015
Slides: https://adcwp.me/itbuildrep
Aaron D. Campbell – https://AaronDCampbell.com/
aaron@ithemes.com – @AaronCampbell
http://profiles.wordpress.org/aaroncampbell/
Index: /trunk/wp-includes/post.php =================================================================== --- /trunk/wp-includes/post.php (revision 5684) +++ /trunk/wp-includes/post.php (revision 5685) @@ -607,5 +607,5 @@ $suffix = 2; do { - $alt_post_name = $post_name . "-$suffix"; + $alt_post_name = substr($post_name, 0, 200-(strlen($suffix)+1)). "-$suffix"; $post_name_check = $wpdb->get_var("SELECT ... LIMIT 1"); $suffix++;
Aaron D. Campbell – http://AaronDCampbell.com/
aaron@ithemes.com – @AaronCampbell
http://profiles.wordpress.org/aaroncampbell/
Slides: https://adcwp.me/itbuildrep
This presentation is running on WordPress using the Presenter plugin