mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -678,9 +678,9 @@ function get_comment_type( $comment_ID = 0 ) {
|
||||
* @param string $pingbacktxt The string to display for pingback type
|
||||
*/
|
||||
function comment_type($commenttxt = false, $trackbacktxt = false, $pingbacktxt = false) {
|
||||
if ( false === $commenttxt ) $commenttxt = _x( 'Comment', 'noun' );
|
||||
if ( false === $trackbacktxt ) $trackbacktxt = __( 'Trackback' );
|
||||
if ( false === $pingbacktxt ) $pingbacktxt = __( 'Pingback' );
|
||||
if ( false === $commenttxt ) $commenttxt = _x( 'Comment', 'noun' );
|
||||
if ( false === $trackbacktxt ) $trackbacktxt = __( 'Trackback' );
|
||||
if ( false === $pingbacktxt ) $pingbacktxt = __( 'Pingback' );
|
||||
$type = get_comment_type();
|
||||
switch( $type ) {
|
||||
case 'trackback' :
|
||||
@@ -946,10 +946,10 @@ function comments_popup_script($width=400, $height=400, $file='') {
|
||||
function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) {
|
||||
global $id, $wpcommentspopupfile, $wpcommentsjavascript;
|
||||
|
||||
if ( false === $zero ) $zero = __( 'No Comments' );
|
||||
if ( false === $one ) $one = __( '1 Comment' );
|
||||
if ( false === $more ) $more = __( '% Comments' );
|
||||
if ( false === $none ) $none = __( 'Comments Off' );
|
||||
if ( false === $zero ) $zero = __( 'No Comments' );
|
||||
if ( false === $one ) $one = __( '1 Comment' );
|
||||
if ( false === $more ) $more = __( '% Comments' );
|
||||
if ( false === $none ) $none = __( 'Comments Off' );
|
||||
|
||||
$number = get_comments_number( $id );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user