hlashbrooke / WordPress-Plugin-Template

A robust code template for creating a standards-compliant WordPress plugin.
https://hughlashbrooke.com/
GNU General Public License v2.0
1.03k stars 329 forks source link

updated_messages missing dollar sign #38

Open heddesheimer opened 8 years ago

heddesheimer commented 8 years ago

I found a strange behavior when posting new custom post_types that are defined in the plugin. There is a missing dollar sign in the line for function updated_messages for message 6

6 => sprintf( __( '%1$s published. %2$sView %3$s%4s.' , 'wordpress-plugin-template' ), $this->single, '<a href="' . esc_url( get_permalink( $post_ID ) ) . '">', $this->single, '</a>' ),

the last %4s should read $4$s