Ticket #1069: 1069.diff
File 1069.diff, 53.3 KB (added by , 10 years ago) |
---|
-
sites/trunk/buddypress.org/public_html/wp-content/plugins/bbpress-org/toolbar.php
41 41 $wp_admin_bar->add_menu( array( 42 42 'id' => 'wp-logo', 43 43 'title' => '<span class="ab-icon"></span>', 44 'href' => 'http ://bbpress.org',44 'href' => 'https://bbpress.org', 45 45 'meta' => array( 46 46 'title' => __( 'bbPress.org' ), 47 47 ), … … 54 54 'parent' => 'wp-logo', 55 55 'id' => 'wordpress', 56 56 'title' => __( 'WordPress.org' ), 57 'href' => 'http ://wordpress.org',57 'href' => 'https://wordpress.org', 58 58 ) ); 59 59 60 60 $wp_admin_bar->add_menu( array( … … 61 61 'parent' => 'wordpress', 62 62 'id' => 'wp-about', 63 63 'title' => __( 'About WordPress' ), 64 'href' => 'http ://wordpress.org/about/',64 'href' => 'https://wordpress.org/about/', 65 65 ) ); 66 66 67 67 // Add codex link … … 69 69 'parent' => 'wordpress', 70 70 'id' => 'wp-documentation', 71 71 'title' => __('Documentation'), 72 'href' => 'http ://codex.wordpress.org/',72 'href' => 'https://codex.wordpress.org/', 73 73 ) ); 74 74 75 75 // Add forums link … … 77 77 'parent' => 'wordpress', 78 78 'id' => 'wp-support-forums', 79 79 'title' => __('Support Forums'), 80 'href' => 'http ://wordpress.org/support/',80 'href' => 'https://wordpress.org/support/', 81 81 ) ); 82 82 83 83 // Add feedback link … … 85 85 'parent' => 'wordpress', 86 86 'id' => 'wp-feedback', 87 87 'title' => __('Feedback'), 88 'href' => 'http ://wordpress.org/support/forum/requests-and-feedback',88 'href' => 'https://wordpress.org/support/forum/requests-and-feedback', 89 89 ) ); 90 90 91 91 /** BuddyPress Developer **/ … … 101 101 'parent' => 'wp-developer', 102 102 'id' => 'wp-trac', 103 103 'title' => __( 'Developer Trac' ), 104 'href' => 'http ://core.trac.wordpress.org'104 'href' => 'https://core.trac.wordpress.org' 105 105 ) ); 106 106 107 107 $wp_admin_bar->add_menu( array( … … 108 108 'parent' => 'wp-developer', 109 109 'id' => 'wp-dev-blog', 110 110 'title' => __( 'Developer Blog' ), 111 'href' => 'http ://make.wordpress.org'111 'href' => 'https://make.wordpress.org' 112 112 ) ); 113 113 114 114 /** bbPress ***************************************************************/ … … 118 118 'parent' => 'wp-logo', 119 119 'id' => 'bbpress', 120 120 'title' => __( 'bbPress.org' ), 121 'href' => 'http ://bbpress.org',121 'href' => 'https://bbpress.org', 122 122 ) ); 123 123 124 124 $wp_admin_bar->add_menu( array( … … 125 125 'parent' => 'bbpress', 126 126 'id' => 'bbp-about', 127 127 'title' => __( 'About bbPress' ), 128 'href' => 'http ://bbpress.org/about/',128 'href' => 'https://bbpress.org/about/', 129 129 ) ); 130 130 131 131 // Add codex link … … 133 133 'parent' => 'bbpress', 134 134 'id' => 'bbp-documentation', 135 135 'title' => __( 'Documentation' ), 136 'href' => 'http ://codex.bbpress.org/',136 'href' => 'https://codex.bbpress.org/', 137 137 ) ); 138 138 139 139 // Add forums link … … 141 141 'parent' => 'bbpress', 142 142 'id' => 'bbp-support-forums', 143 143 'title' => __( 'Support Forums' ), 144 'href' => 'http ://bbpress.org/forums/',144 'href' => 'https://bbpress.org/forums/', 145 145 ) ); 146 146 147 147 // Add feedback link … … 149 149 'parent' => 'bbpress', 150 150 'id' => 'bbp-feedback', 151 151 'title' => __( 'Feedback' ), 152 'href' => 'http ://bbpress.org/forums/forum/requests-and-feedback',152 'href' => 'https://bbpress.org/forums/forum/requests-and-feedback', 153 153 ) ); 154 154 155 155 /** BuddyPress Developer **/ … … 165 165 'parent' => 'bbp-developer', 166 166 'id' => 'bbp-trac', 167 167 'title' => __( 'Developer Trac' ), 168 'href' => 'http ://bbpress.trac.wordpress.org'168 'href' => 'https://bbpress.trac.wordpress.org' 169 169 ) ); 170 170 171 171 $wp_admin_bar->add_menu( array( … … 172 172 'parent' => 'bbp-developer', 173 173 'id' => 'bbp-dev-blog', 174 174 'title' => __( 'Developer Blog' ), 175 'href' => 'http ://bbpdevel.wordpress.com'175 'href' => 'https://bbpdevel.wordpress.com' 176 176 ) ); 177 177 178 178 /** BuddyPress ************************************************************/ … … 182 182 'parent' => 'wp-logo', 183 183 'id' => 'buddypress', 184 184 'title' => __( 'BuddyPress.org' ), 185 'href' => 'http ://buddypress.org',185 'href' => 'https://buddypress.org', 186 186 ) ); 187 187 188 188 $wp_admin_bar->add_menu( array( … … 189 189 'parent' => 'buddypress', 190 190 'id' => 'bp-about', 191 191 'title' => __( 'About BuddyPress' ), 192 'href' => 'http ://buddypress.org/about/',192 'href' => 'https://buddypress.org/about/', 193 193 ) ); 194 194 195 195 // Add codex link … … 197 197 'parent' => 'buddypress', 198 198 'id' => 'bp-documentation', 199 199 'title' => __( 'Documentation' ), 200 'href' => 'http ://codex.buddypress.org/',200 'href' => 'https://codex.buddypress.org/', 201 201 ) ); 202 202 203 203 // Add forums link … … 205 205 'parent' => 'buddypress', 206 206 'id' => 'bp-support-forums', 207 207 'title' => __( 'Support Forums' ), 208 'href' => 'http ://buddypress.org/forums/',208 'href' => 'https://buddypress.org/forums/', 209 209 ) ); 210 210 211 211 // Add feedback link … … 213 213 'parent' => 'buddypress', 214 214 'id' => 'bp-feedback', 215 215 'title' => __( 'Feedback' ), 216 'href' => 'http ://buddypress.org/support/forum/feedback/',216 'href' => 'https://buddypress.org/support/forum/feedback/', 217 217 ) ); 218 218 219 219 /** BuddyPress Developer **/ … … 229 229 'parent' => 'bp-developer', 230 230 'id' => 'bp-trac', 231 231 'title' => __( 'Developer Trac' ), 232 'href' => 'http ://buddypress.trac.wordpress.org'232 'href' => 'https://buddypress.trac.wordpress.org' 233 233 ) ); 234 234 235 235 $wp_admin_bar->add_menu( array( … … 236 236 'parent' => 'bp-developer', 237 237 'id' => 'bp-dev-blog', 238 238 'title' => __( 'Developer Blog' ), 239 'href' => 'http ://bpdevel.wordpress.com'239 'href' => 'https://bpdevel.wordpress.com' 240 240 ) ); 241 241 } 242 242 add_action( 'admin_bar_menu', 'bbporg_new_admin_bar_wp_menu', 10 ); … … 264 264 'parent' => 'bbp-site-name', 265 265 'id' => 'bbp-new-topic', 266 266 'title' => __( 'Create New Topic' ), 267 'href' => 'http ://bbpress.org/forums/new-topic/'267 'href' => 'https://bbpress.org/forums/new-topic/' 268 268 ) ); 269 269 270 270 // Add an option to visit the admin dashboard … … 292 292 'parent' => 'bbp-site-name', 293 293 'id' => 'bbp-login', 294 294 'title' => __( 'Log in' ), 295 'href' => 'http ://bbpress.org/login/'295 'href' => 'https://bbpress.org/login/' 296 296 ) ); 297 297 } 298 298 } … … 333 333 'id' => 'my-account', 334 334 'parent' => 'top-secondary', 335 335 'title' => $howdy . $avatar, 336 'href' => 'http ://bbpress.org/login/',336 'href' => 'https://bbpress.org/login/', 337 337 'meta' => array( 338 338 'class' => $class, 339 339 'title' => __('My Account'), … … 442 442 'parent' => 'user-actions', 443 443 'id' => 'user-info', 444 444 'title' => $user_info, 445 'href' => 'http ://bbpress.org/login/',445 'href' => 'https://bbpress.org/login/', 446 446 'meta' => array( 447 447 'tabindex' => -1, 448 448 ), … … 452 452 'parent' => 'user-actions', 453 453 'id' => 'register', 454 454 'title' => __( 'Register' ), 455 'href' => 'http ://bbpress.org/register/'455 'href' => 'https://bbpress.org/register/' 456 456 ) ); 457 457 $wp_admin_bar->add_menu( array( 458 458 'parent' => 'user-actions', 459 459 'id' => 'lost-pass', 460 460 'title' => __( 'Lost Password' ), 461 'href' => 'http ://bbpress.org/lost-password/'461 'href' => 'https://bbpress.org/lost-password/' 462 462 ) ); 463 463 $wp_admin_bar->add_menu( array( 464 464 'parent' => 'user-actions', 465 465 'id' => 'login', 466 466 'title' => __( 'Log In' ), 467 'href' => 'http ://bbpress.org/login/'467 'href' => 'https://bbpress.org/login/' 468 468 ) ); 469 469 } 470 470 } -
sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/extensions.php
141 141 $url = '/support/forum/plugins/'; 142 142 break; 143 143 default: 144 $url = trailingslashit( 'http ://buddypress.org/support/forum/' . $uri_chunks[3] );144 $url = trailingslashit( 'https://buddypress.org/support/forum/' . $uri_chunks[3] ); 145 145 break; 146 146 } 147 147 bp_core_redirect( home_url( $url ) ); … … 162 162 $uri_chunks = explode( '/', trim( $_SERVER['REQUEST_URI'], '/' ) ); 163 163 if ( 'users' == $uri_chunks[0] ) { 164 164 if ( ! empty( $uri_chunks[1] ) ) { 165 wp_redirect( 'http ://profiles.wordpress.org/' . $uri_chunks[1] . '/', 301 );165 wp_redirect( 'https://profiles.wordpress.org/' . $uri_chunks[1] . '/', 301 ); 166 166 } else { 167 wp_redirect( 'http ://wordpress.org/' );167 wp_redirect( 'https://wordpress.org/' ); 168 168 } 169 169 exit; 170 170 } … … 174 174 } 175 175 176 176 if ( $user = get_user_by( 'login', urldecode( $uri_chunks[0] ) ) ) { 177 wp_redirect( 'http ://profiles.wordpress.org/' . $user->user_nicename . '/', 301 );177 wp_redirect( 'https://profiles.wordpress.org/' . $user->user_nicename . '/', 301 ); 178 178 exit; 179 179 } elseif ( $user = get_user_by( 'login', str_replace( ' ', '', urldecode( $uri_chunks[0] ) ) ) ) { 180 wp_redirect( 'http ://profiles.wordpress.org/' . $user->user_nicename . '/', 301 );180 wp_redirect( 'https://profiles.wordpress.org/' . $user->user_nicename . '/', 301 ); 181 181 exit; 182 182 } 183 183 … … 191 191 } 192 192 193 193 ob_start(); 194 wp_redirect( 'http ://wordpress.org/' );194 wp_redirect( 'https://wordpress.org/' ); 195 195 exit; 196 196 } 197 197 -
sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/toolbar.php
48 48 $wp_admin_bar->add_menu( array( 49 49 'id' => 'wp-logo', 50 50 'title' => '<span class="ab-icon"></span>', 51 'href' => 'http ://wordpress.org',51 'href' => 'https://wordpress.org', 52 52 'meta' => array( 53 53 'title' => __( 'WordPress.org' ), 54 54 ), … … 61 61 'parent' => 'wp-logo', 62 62 'id' => 'wordpress', 63 63 'title' => __( 'WordPress.org' ), 64 'href' => 'http ://wordpress.org',64 'href' => 'https://wordpress.org', 65 65 ) ); 66 66 67 67 $wp_admin_bar->add_menu( array( … … 68 68 'parent' => 'wordpress', 69 69 'id' => 'wp-about', 70 70 'title' => __( 'About WordPress' ), 71 'href' => 'http ://wordpress.org/about/',71 'href' => 'https://wordpress.org/about/', 72 72 ) ); 73 73 74 74 // Add codex link … … 76 76 'parent' => 'wordpress', 77 77 'id' => 'wp-documentation', 78 78 'title' => __('Documentation'), 79 'href' => 'http ://codex.wordpress.org/',79 'href' => 'https://codex.wordpress.org/', 80 80 ) ); 81 81 82 82 // Add forums link … … 84 84 'parent' => 'wordpress', 85 85 'id' => 'wp-support-forums', 86 86 'title' => __('Support Forums'), 87 'href' => 'http ://wordpress.org/support/',87 'href' => 'https://wordpress.org/support/', 88 88 ) ); 89 89 90 90 // Add feedback link … … 92 92 'parent' => 'wordpress', 93 93 'id' => 'wp-feedback', 94 94 'title' => __('Feedback'), 95 'href' => 'http ://wordpress.org/support/forum/requests-and-feedback',95 'href' => 'https://wordpress.org/support/forum/requests-and-feedback', 96 96 ) ); 97 97 98 98 /** BuddyPress Developer **/ … … 108 108 'parent' => 'wp-developer', 109 109 'id' => 'wp-trac', 110 110 'title' => __( 'Developer Trac' ), 111 'href' => 'http ://core.trac.wordpress.org'111 'href' => 'https://core.trac.wordpress.org' 112 112 ) ); 113 113 114 114 $wp_admin_bar->add_menu( array( … … 115 115 'parent' => 'wp-developer', 116 116 'id' => 'wp-dev-blog', 117 117 'title' => __( 'Developer Blog' ), 118 'href' => 'http ://make.wordpress.org'118 'href' => 'https://make.wordpress.org' 119 119 ) ); 120 120 121 121 /** bbPress ***************************************************************/ … … 125 125 'parent' => 'wp-logo', 126 126 'id' => 'bbpress', 127 127 'title' => __( 'bbPress.org' ), 128 'href' => 'http ://bbpress.org',128 'href' => 'https://bbpress.org', 129 129 ) ); 130 130 131 131 $wp_admin_bar->add_menu( array( … … 132 132 'parent' => 'bbpress', 133 133 'id' => 'bbp-about', 134 134 'title' => __( 'About bbPress' ), 135 'href' => 'http ://bbpress.org/about/',135 'href' => 'https://bbpress.org/about/', 136 136 ) ); 137 137 138 138 // Add codex link … … 140 140 'parent' => 'bbpress', 141 141 'id' => 'bbp-documentation', 142 142 'title' => __( 'Documentation' ), 143 'href' => 'http ://codex.bbpress.org/',143 'href' => 'https://codex.bbpress.org/', 144 144 ) ); 145 145 146 146 // Add forums link … … 148 148 'parent' => 'bbpress', 149 149 'id' => 'bbp-support-forums', 150 150 'title' => __( 'Support Forums' ), 151 'href' => __( 'http ://bbpress.org/forums/' ),151 'href' => __( 'https://bbpress.org/forums/' ), 152 152 ) ); 153 153 154 154 // Add feedback link … … 156 156 'parent' => 'bbpress', 157 157 'id' => 'bbp-feedback', 158 158 'title' => __( 'Feedback' ), 159 'href' => 'http ://bbpress.org/forums/forum/requests-and-feedback',159 'href' => 'https://bbpress.org/forums/forum/requests-and-feedback', 160 160 ) ); 161 161 162 162 /** BuddyPress Developer **/ … … 172 172 'parent' => 'bbp-developer', 173 173 'id' => 'bbp-trac', 174 174 'title' => __( 'Developer Trac' ), 175 'href' => 'http ://bbpress.trac.wordpress.org'175 'href' => 'https://bbpress.trac.wordpress.org' 176 176 ) ); 177 177 178 178 $wp_admin_bar->add_menu( array( … … 179 179 'parent' => 'bbp-developer', 180 180 'id' => 'bbp-dev-blog', 181 181 'title' => __( 'Developer Blog' ), 182 'href' => 'http ://bbpdevel.wordpress.com'182 'href' => 'https://bbpdevel.wordpress.com' 183 183 ) ); 184 184 185 185 /** BuddyPress ************************************************************/ … … 189 189 'parent' => 'wp-logo', 190 190 'id' => 'buddypress', 191 191 'title' => __( 'BuddyPress.org' ), 192 'href' => 'http ://buddypress.org',192 'href' => 'https://buddypress.org', 193 193 ) ); 194 194 195 195 $wp_admin_bar->add_menu( array( … … 196 196 'parent' => 'buddypress', 197 197 'id' => 'bp-about', 198 198 'title' => __( 'About BuddyPress' ), 199 'href' => 'http ://buddypress.org/about/',199 'href' => 'https://buddypress.org/about/', 200 200 ) ); 201 201 202 202 // Add codex link … … 204 204 'parent' => 'buddypress', 205 205 'id' => 'bp-documentation', 206 206 'title' => __( 'Documentation' ), 207 'href' => 'http ://codex.buddypress.org/',207 'href' => 'https://codex.buddypress.org/', 208 208 ) ); 209 209 210 210 // Add forums link … … 212 212 'parent' => 'buddypress', 213 213 'id' => 'bp-support-forums', 214 214 'title' => __( 'Support Forums' ), 215 'href' => 'http ://buddypress.org/forums/',215 'href' => 'https://buddypress.org/forums/', 216 216 ) ); 217 217 218 218 // Add feedback link … … 220 220 'parent' => 'buddypress', 221 221 'id' => 'bp-feedback', 222 222 'title' => __( 'Feedback' ), 223 'href' => 'http ://buddypress.org/support/forum/feedback/',223 'href' => 'https://buddypress.org/support/forum/feedback/', 224 224 ) ); 225 225 226 226 /** BuddyPress Developer **/ … … 236 236 'parent' => 'bp-developer', 237 237 'id' => 'bp-trac', 238 238 'title' => __( 'Developer Trac' ), 239 'href' => 'http ://buddypress.trac.wordpress.org'239 'href' => 'https://buddypress.trac.wordpress.org' 240 240 ) ); 241 241 242 242 $wp_admin_bar->add_menu( array( … … 243 243 'parent' => 'bp-developer', 244 244 'id' => 'bp-dev-blog', 245 245 'title' => __( 'Developer Blog' ), 246 'href' => 'http ://bpdevel.wordpress.com'246 'href' => 'https://bpdevel.wordpress.com' 247 247 ) ); 248 248 } 249 249 add_action( 'admin_bar_menu', 'bporg_new_admin_bar_wp_menu', 10 ); … … 262 262 $wp_admin_bar->add_menu( array( 263 263 'id' => 'bp-site-name', 264 264 'title' => __( 'WordPress.org' ), 265 'href' => 'http ://wordpress.org'265 'href' => 'https://wordpress.org' 266 266 ) ); 267 267 268 268 return; … … 272 272 $wp_admin_bar->add_menu( array( 273 273 'id' => 'bp-site-name', 274 274 'title' => __( 'bbPress.org' ), 275 'href' => 'http ://bbpress.org'275 'href' => 'https://bbpress.org' 276 276 ) ); 277 277 278 278 return; … … 282 282 $wp_admin_bar->add_menu( array( 283 283 'id' => 'bp-site-name', 284 284 'title' => __( 'BuddyPress.org' ), 285 'href' => 'http ://buddypress.org'285 'href' => 'https://buddypress.org' 286 286 ) ); 287 287 } 288 288 … … 295 295 'parent' => 'bp-site-name', 296 296 'id' => 'bp-new-topic', 297 297 'title' => __( 'Create New Topic' ), 298 'href' => 'http ://buddypress.org/forums/new-topic/'298 'href' => 'https://buddypress.org/forums/new-topic/' 299 299 ) ); 300 300 301 301 // Add an option to visit the admin dashboard … … 323 323 'parent' => 'bp-site-name', 324 324 'id' => 'bp-login', 325 325 'title' => __( 'Log in' ), 326 'href' => 'http ://buddypress.org/login/'326 'href' => 'https://buddypress.org/login/' 327 327 ) ); 328 328 } 329 329 } … … 376 376 'parent' => 'user-actions', 377 377 'id' => 'user-info', 378 378 'title' => $user_info, 379 'href' => 'http ://buddypress.org/login/',379 'href' => 'https://buddypress.org/login/', 380 380 'meta' => array( 381 381 'tabindex' => -1, 382 382 ), … … 386 386 'parent' => 'user-actions', 387 387 'id' => 'register', 388 388 'title' => __( 'Register' ), 389 'href' => 'http ://buddypress.org/register/'389 'href' => 'https://buddypress.org/register/' 390 390 ) ); 391 391 $wp_admin_bar->add_menu( array( 392 392 'parent' => 'user-actions', 393 393 'id' => 'lost-pass', 394 394 'title' => __( 'Lost Password' ), 395 'href' => 'http ://buddypress.org/lost-password/'395 'href' => 'https://buddypress.org/lost-password/' 396 396 ) ); 397 397 $wp_admin_bar->add_menu( array( 398 398 'parent' => 'user-actions', 399 399 'id' => 'login', 400 400 'title' => __( 'Log In' ), 401 'href' => 'http ://buddypress.org/login/'401 'href' => 'https://buddypress.org/login/' 402 402 ) ); 403 403 } 404 404 } … … 423 423 'id' => 'my-account', 424 424 'parent' => 'top-secondary', 425 425 'title' => $howdy . $avatar, 426 'href' => 'http ://buddypress.org/login/',426 'href' => 'https://buddypress.org/login/', 427 427 'meta' => array( 428 428 'class' => $class, 429 429 'title' => __('My Account'), -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic.php
31 31 <div class="bbp-template-notice"> 32 32 <p><?php _e( 'If asking for help, please include your WordPress version, bbPress version, and a link to your site.', 'bbporg' ); ?></p> 33 33 <p><?php _e( 'If you have a problem while using a non-bundled theme, check if it happens with TwentyTen or TwentyEleven.', 'bbporg' ); ?></p> 34 <p><?php _e( 'If you found a bug, please create a <a href="http ://bbpress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bbporg' ); ?></p>34 <p><?php _e( 'If you found a bug, please create a <a href="https://bbpress.trac.wordpress.org/">trac ticket</a> with detailed duplication steps.', 'bbporg' ); ?></p> 35 35 </div> 36 36 37 37 <?php endif; ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/footer.php
5 5 <div id="footer"> 6 6 <div class="links"> 7 7 <p> 8 See also: 9 <a href="http ://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a> •10 <a href="http ://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a> •11 <a href="http ://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a> •12 <a href="http ://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a> •8 See also: 9 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a> • 10 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a> • 11 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a> • 12 <a href="https://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a> • 13 13 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php _e( 'RSS Feed for Articles', 'bbporg' ); ?>"><?php _e( 'Blog RSS', 'bbporg' ); ?></a> 14 14 </p> 15 15 </div> 16 16 <div class="details"> 17 17 <p> 18 <a href="http ://twitter.com/bbpress" class="twitter"><?php _e( 'Follow bbPress on Twitter', 'bbporg'); ?></a> •19 <a href="http ://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a> •20 <a href="http ://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a> •21 <a href="http ://bbpress.org/terms/"><?php _e('Terms of Service', 'bbporg'); ?></a>18 <a href="https://twitter.com/bbpress" class="twitter"><?php _e( 'Follow bbPress on Twitter', 'bbporg'); ?></a> • 19 <a href="https://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a> • 20 <a href="https://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a> • 21 <a href="https://bbpress.org/terms/"><?php _e('Terms of Service', 'bbporg'); ?></a> 22 22 </p> 23 23 </div> 24 24 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions.php
104 104 105 105 function bb_base_plugin_search_form() { 106 106 ?> 107 107 108 108 <form role="search" method="get" id="searchform" action=""> 109 109 <div> 110 110 <h3><?php _e( 'Plugin Search', 'bbporg'); ?></h3> … … 118 118 } 119 119 120 120 function bb_base_topic_search_query( $escaped = true ) { 121 121 122 122 if ( empty( $_GET['ts'] ) ) { 123 123 return false; 124 124 } … … 132 132 } 133 133 134 134 function bb_base_reply_search_query( $escaped = true ) { 135 135 136 136 if ( empty( $_GET['rs'] ) ) { 137 137 return false; 138 138 } … … 146 146 } 147 147 148 148 function bb_base_plugin_search_query( $escaped = true ) { 149 149 150 150 if ( empty( $_GET['ps'] ) ) { 151 151 return false; 152 152 } … … 271 271 // Cache individual plugin requests and query requests 272 272 273 273 if ( empty( $res ) ) { 274 $request = wp_remote_post( 'http ://api.wordpress.org/plugins/info/1.0/', array( 'body' => array( 'action' => $action, 'request' => serialize( $args ) ) ) );274 $request = wp_remote_post( 'https://api.wordpress.org/plugins/info/1.0/', array( 'body' => array( 'action' => $action, 'request' => serialize( $args ) ) ) ); 275 275 276 276 if ( is_wp_error( $request ) ) { 277 277 $res = new WP_Error( 'plugins_api_failed', __( 'An Unexpected HTTP Error occurred during the API request.</p> <p><a href="?" onclick="document.location.reload(); return false;">Try again</a>' ), $request->get_error_message() ); -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/sidebar.php
2 2 <div class="sidebar"> 3 3 4 4 <?php if ( function_exists( 'is_bbpress' ) && ( is_bbpress() ) || is_page( 'new-topic' ) ) : ?> 5 5 6 6 <?php if ( bbp_is_single_forum() || bb_base_topic_search_query( false ) ) : ?> 7 7 8 8 <div> … … 95 95 96 96 <div class="feature"> 97 97 <h3><?php _e('WordPress', 'bbporg'); ?></h3> 98 <p><a href="http ://wordpress.org"><img width="78" height="58" alt="" src="<?php echo get_template_directory_uri(); ?>/images/wordpress.gif"/></a>The world’s most powerful web publishing software.</p>98 <p><a href="https://wordpress.org"><img width="78" height="58" alt="" src="<?php echo get_template_directory_uri(); ?>/images/wordpress.gif"/></a>The world’s most powerful web publishing software.</p> 99 99 </div> 100 100 <div class="feature"> 101 101 <h3><?php _e('bbPress', 'bbporg'); ?></h3> 102 <p><a href="http ://bbpress.org"><img width="78" height="58" alt="" src="<?php echo get_template_directory_uri(); ?>/images/bbpress.gif"/></a>Simple and elegant forum software from the creators of WordPress.</p>102 <p><a href="https://bbpress.org"><img width="78" height="58" alt="" src="<?php echo get_template_directory_uri(); ?>/images/bbpress.gif"/></a>Simple and elegant forum software from the creators of WordPress.</p> 103 103 </div> 104 104 <div style="margin-right: 0pt;" class="feature"> 105 105 <h3><?php _e('BuddyPress', 'bbporg'); ?></h3> 106 <p><a href="http ://buddypress.org"><img width="78" height="58" alt="" src="<?php echo get_template_directory_uri(); ?>/images/buddypress.gif"/></a>Create a fully featured niche social-network with a few easy clicks.</p>106 <p><a href="https://buddypress.org"><img width="78" height="58" alt="" src="<?php echo get_template_directory_uri(); ?>/images/buddypress.gif"/></a>Create a fully featured niche social-network with a few easy clicks.</p> 107 107 </div> 108 108 109 109 <?php elseif ( ( ! is_page( 'login' ) && ! is_page( 'register' ) && ! is_page( 'lost-password' ) ) || is_home() || is_singular( 'post' ) || is_archive() ) : ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/style.css
1 1 /** 2 2 * Theme Name: BB's Parent 3 * Theme URL: http ://buddypress.org3 * Theme URL: https://buddypress.org 4 4 * Description: Parent theme for BuddyPress.org and bbPress.org 5 5 * Author: John James Jacoby 6 6 * Author URI: http://jaco.by … … 1317 1317 } 1318 1318 1319 1319 #bbpress-forums .bbp-the-content-wrapper a.switch-html { 1320 1320 1321 1321 } 1322 1322 1323 1323 #bbpress-forums .bbp-the-content-wrapper a.switch-tmce { 1324 1325 }1326 1324 1325 } 1326 1327 1327 #bbpress-forums .bbp-topic-form fieldset.bbp-form button { 1328 1328 float: right; 1329 1329 margin-top: -160px; -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/functions.php
5 5 */ 6 6 function bb_theme_login_redirect() { 7 7 if ( is_user_logged_in() && is_page( 'login' ) ) { 8 wp_safe_redirect( 'http ://bbpress.org/forums/' );8 wp_safe_redirect( 'https://bbpress.org/forums/' ); 9 9 exit(); 10 10 } 11 11 } -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php
47 47 ?> 48 48 49 49 <div class="single-plugin"> 50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'http ://wordpress.org/extend/plugins/' . $plugin->slug ); ?>/" title="Plugin Information"><?php echo esc_html( $plugin->name ); ?></a></h3>50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/extend/plugins/' . $plugin->slug ); ?>/" title="Plugin Information"><?php echo esc_html( $plugin->name ); ?></a></h3> 51 51 52 52 <div class="plugin-meta"> 53 53 <?php if ( !empty( $plugin->version ) ) : ?><div>Version: <?php echo esc_html( $plugin->version ); ?></div><?php if ( !empty( $plugin->requires ) ) : ?><?php endif; ?><?php endif; ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php
2 2 <div class="sidebar"> 3 3 4 4 <?php if ( is_bbpress() || is_page( 'new-topic' ) ) : ?> 5 5 6 6 <?php if ( bbp_is_single_forum() || bb_base_topic_search_query( false ) ) : ?> 7 7 8 8 <div> … … 95 95 96 96 <div class="feature"> 97 97 <h3><?php _e('bbPress Complete', 'bbporg'); ?></h3> 98 <p><a href="http ://www.packtpub.com/bbpress-complete-comprehensive-guide/book" title="bbPress Complete"><img width="225" alt="" src="<?php echo get_stylesheet_directory_uri(); ?>/images/bbpress-packt.jpg"/></a></p>98 <p><a href="https://www.packtpub.com/web-development/bbpress-complete" title="bbPress Complete"><img width="225" alt="" src="<?php echo get_stylesheet_directory_uri(); ?>/images/bbpress-packt.jpg"/></a></p> 99 99 <p class="book-description">A step-by-step guide to creating, managing, and growing a community around your WordPress website.</p> 100 100 </div> 101 101 -
sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/style.css
1 1 /** 2 2 * Theme Name: bbPress.org 2013 3 * Theme URL: http ://bbPress.org3 * Theme URL: https://bbPress.org 4 4 * Description: A WordPress theme for bbPress.org 5 5 * Author: John James Jacoby 6 6 * Author URI: http://jaco.by -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/footer.php
5 5 <div id="footer"> 6 6 <div class="links"> 7 7 <p> 8 See also: 9 <a href="http ://wordpress.org"><?php _e( 'WordPress.org', 'bporg'); ?></a> •10 <a href="http ://bbpress.org"><?php _e( 'bbPress.org', 'bporg'); ?></a> •11 <a href="http ://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg'); ?></a> •12 <a href="http ://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a> •8 See also: 9 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg'); ?></a> • 10 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg'); ?></a> • 11 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg'); ?></a> • 12 <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a> • 13 13 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php _e( 'RSS Feed for Articles', 'bporg' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a> 14 14 </p> 15 15 </div> 16 16 <div class="details"> 17 17 <p> 18 <a href="http ://twitter.com/buddypressdev" class="twitter"><?php _e( 'Follow BuddyPress on Twitter', 'bporg'); ?></a> •19 <a href="http ://buddypress.org/about/gpl/"><?php _e('GPL', 'bporg'); ?></a> •20 <a href="http ://buddypress.org/contact/"><?php _e('Contact Us', 'bporg'); ?></a> •21 <a href="http ://buddypress.org/terms/"><?php _e('Terms of Service', 'bporg'); ?></a>18 <a href="https://twitter.com/buddypressdev" class="twitter"><?php _e( 'Follow BuddyPress on Twitter', 'bporg'); ?></a> • 19 <a href="https://buddypress.org/about/gpl/"><?php _e('GPL', 'bporg'); ?></a> • 20 <a href="https://buddypress.org/contact/"><?php _e('Contact Us', 'bporg'); ?></a> • 21 <a href="https://buddypress.org/terms/"><?php _e('Terms of Service', 'bporg'); ?></a> 22 22 </p> 23 23 </div> 24 24 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/functions.php
5 5 */ 6 6 function bb_theme_login_redirect() { 7 7 if ( is_user_logged_in() && is_page( 'login' ) ) { 8 wp_safe_redirect( 'http ://buddypress.org/support/' );8 wp_safe_redirect( 'https://buddypress.org/support/' ); 9 9 exit(); 10 10 } 11 11 } -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/page-plugins.php
47 47 ?> 48 48 49 49 <div class="single-plugin"> 50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'http ://wordpress.org/extend/plugins/' . $plugin->slug ); ?>/" title="Plugin Information"><?php echo esc_html( $plugin->name ); ?></a></h3>50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/extend/plugins/' . $plugin->slug ); ?>/" title="Plugin Information"><?php echo esc_html( $plugin->name ); ?></a></h3> 51 51 52 52 <div class="plugin-meta"> 53 53 <?php if ( !empty( $plugin->version ) ) : ?><div>Version: <?php echo esc_html( $plugin->version ); ?></div><?php if ( !empty( $plugin->requires ) ) : ?><?php endif; ?><?php endif; ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/sidebar.php
2 2 <div class="sidebar"> 3 3 4 4 <?php if ( function_exists( 'is_buddypress' ) && is_buddypress() ) : ?> 5 5 6 6 <?php if ( bp_is_user() ) : ?> 7 7 8 8 <div id="item-header-avatar"> 9 9 <a href="<?php bp_displayed_user_link(); ?>"> 10 10 … … 14 14 </div><!-- #item-header-avatar --> 15 15 16 16 <?php bp_nav_menu(); ?> 17 17 18 18 <?php endif; ?> 19 19 20 20 <?php elseif ( ( function_exists( 'is_bbpress' ) && is_bbpress() ) || is_page( 'new-topic' ) ) : ?> 21 21 22 22 <?php if ( bbp_is_single_forum() || bb_base_topic_search_query( false ) ) : ?> 23 23 24 24 <div> … … 111 111 112 112 <div class="feature"> 113 113 <h3><?php _e( 'Theme Development', 'bporg' ); ?></h3> 114 <p><a href="http ://www.packtpub.com/buddypress-theme-development/book" title="BuddyPress Theme Development"><img width="225" alt="A book by: Tammie Lister" src="<?php echo get_stylesheet_directory_uri(); ?>/images/buddypress-packt.jpg"/></a></p>114 <p><a href="https://www.packtpub.com/web-development/buddypress-theme-development" title="BuddyPress Theme Development"><img width="225" alt="A book by: Tammie Lister" src="<?php echo get_stylesheet_directory_uri(); ?>/images/buddypress-packt.jpg"/></a></p> 115 115 <p class="book-description">An in-depth guide to designing, developing, and testing your very own custom BuddyPress theme.</p> 116 116 </div> 117 117 … … 122 122 <div> 123 123 <h3><?php _e( 'Legacy', 'bporg'); ?></h3> 124 124 <ul> 125 <li><a href="http ://buddypress.org/support/forum/plugin-forums/" title="Plugin Forums">Legacy Plugin Forums</a></li>125 <li><a href="https://buddypress.org/support/forum/plugin-forums/" title="Plugin Forums">Legacy Plugin Forums</a></li> 126 126 </ul> 127 127 </div> 128 128 -
sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/style.css
1 1 /** 2 2 * Theme Name: BuddyPress.org 2013 3 * Theme URL: http ://buddypress.org3 * Theme URL: https://buddypress.org 4 4 * Description: A WordPress theme for BuddyPress.org 5 5 * Author: John James Jacoby 6 6 * Author URI: http://jaco.by -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/footer.php
43 43 44 44 <div class="col-half"> 45 45 <h3 class="title">Want to help?</h3> 46 <p>The bbPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our <a href="http ://codex.bbpress.org/participate-and-contribute/codex-standards-guidelines/">Codex Standards & Guidelines</a>.</p>46 <p>The bbPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our <a href="https://codex.bbpress.org/participate-and-contribute/codex-standards-guidelines/">Codex Standards & Guidelines</a>.</p> 47 47 </div> 48 48 </div> 49 49 </div> … … 53 53 <div id="footer"> 54 54 <div class="links"> 55 55 <p> 56 See also: 57 <a href="http ://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a> •58 <a href="http ://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a> •59 <a href="http ://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a> •60 <a href="http ://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a> •56 See also: 57 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a> • 58 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a> • 59 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a> • 60 <a href="https://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a> • 61 61 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bbporg' ); ?>"><?php _e( 'Blog RSS', 'bbporg' ); ?></a> 62 62 </p> 63 63 </div> 64 64 <div class="details"> 65 65 <p> 66 <a href="http ://twitter.com/bbpress" class="twitter"><?php _e( 'Follow bbPress on Twitter', 'bbporg'); ?></a> •67 <a href="http ://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a> •68 <a href="http ://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a> •69 <a href="http ://bbpress.org/terms/"><?php _e('Terms of Service', 'bbporg'); ?></a>66 <a href="https://twitter.com/bbpress" class="twitter"><?php _e( 'Follow bbPress on Twitter', 'bbporg'); ?></a> • 67 <a href="https://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a> • 68 <a href="https://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a> • 69 <a href="https://bbpress.org/terms/"><?php _e('Terms of Service', 'bbporg'); ?></a> 70 70 </p> 71 71 </div> 72 72 </div> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/front-page.php
20 20 echo '<h2>Components</h2>'; 21 21 echo '<ul>'; 22 22 foreach ( $terms as $term ) { 23 echo '<li><a href="' . esc_url( 'http ://codex.bbpress.org/component/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';23 echo '<li><a href="' . esc_url( 'https://codex.bbpress.org/component/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>'; 24 24 } 25 25 echo '</ul>'; 26 26 echo '</div>'; … … 38 38 echo '<h2>Versions</h2>'; 39 39 echo '<ul>'; 40 40 foreach ( $terms as $term ) { 41 echo '<li><a href="' . esc_url( 'http ://codex.bbpress.org/version/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';41 echo '<li><a href="' . esc_url( 'https://codex.bbpress.org/version/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>'; 42 42 } 43 43 echo '</ul>'; 44 44 echo '</div>'; … … 56 56 echo '<h2>Types</h2>'; 57 57 echo '<ul>'; 58 58 foreach ( $terms as $term ) { 59 echo '<li><a href="' . esc_url( 'http ://codex.bbpress.org/type/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';59 echo '<li><a href="' . esc_url( 'https://codex.bbpress.org/type/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>'; 60 60 } 61 61 echo '</ul>'; 62 62 echo '</div>'; … … 74 74 echo '<h2>Contexts</h2>'; 75 75 echo '<ul>'; 76 76 foreach ( $terms as $term ) { 77 echo '<li><a href="' . esc_url( 'http ://codex.bbpress.org/context/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';77 echo '<li><a href="' . esc_url( 'https://codex.bbpress.org/context/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>'; 78 78 } 79 79 echo '</ul>'; 80 80 echo '</div>'; … … 92 92 global $post; 93 93 94 94 $args = array( 'order' => 'ASC', ); 95 $revisions = wp_get_post_revisions( get_queried_object_id(), $args ); 95 $revisions = wp_get_post_revisions( get_queried_object_id(), $args ); 96 96 $post_authors = array( $post->post_author => 1 ); 97 97 foreach( (array)$revisions as $revision ) { 98 98 $post_authors[$revision->post_author] += 1; -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/header-nav.php
1 1 <ul id="nav" class="menu"> 2 <li><a href="http ://bbpress.org/about/">About</a></li>3 <li><a href="http ://bbpress.org/plugins/">Plugins</a></li>4 <li><a href="http ://bbpress.org/themes/">Themes</a></li>5 <li class="current"class="current"><a href="http ://codex.bbpress.org/">Documentation</a></li>6 <li><a href="http ://bbpress.org/blog/">Blog</a></li>7 <li><a href="http ://bbpress.org/forums/">Support</a></li>8 <li><a href="http ://bbpress.org/download/">Download</a></li>2 <li><a href="https://bbpress.org/about/">About</a></li> 3 <li><a href="https://bbpress.org/plugins/">Plugins</a></li> 4 <li><a href="https://bbpress.org/themes/">Themes</a></li> 5 <li class="current"class="current"><a href="https://codex.bbpress.org/">Documentation</a></li> 6 <li><a href="https://bbpress.org/blog/">Blog</a></li> 7 <li><a href="https://bbpress.org/forums/">Support</a></li> 8 <li><a href="https://bbpress.org/download/">Download</a></li> 9 9 </ul> 10 No newline at end of file -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/style.css
1 1 /** 2 2 * Theme Name: bbPress.org Codex 2013 3 * Theme URL: http ://codex.bbpress.org3 * Theme URL: https://codex.bbpress.org 4 4 * Description: A WordPress theme for bbPress.org codex 5 5 * Author: John James Jacoby 6 6 * Author URI: http://jaco.by -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer.php
14 14 <div class="col-half"> 15 15 16 16 <h3 class="title">Article Contributors</h3> 17 17 18 18 <?php 19 19 20 20 global $codex_contributors, $post; … … 36 36 echo '<div class="inner">'; 37 37 echo '<h5>' . esc_html( $userdata->display_name ) . '</h5>'; 38 38 echo '<p>' . esc_html( $codex_contributors[$post->post_author] ) . ' revision'; 39 if ( $codex_contributors[$post->post_author] > 1 ) 39 if ( $codex_contributors[$post->post_author] > 1 ) 40 40 echo 's'; 41 41 echo '</p>'; 42 42 echo '</div>'; … … 71 71 72 72 <h3 class="title">Want to help?</h3> 73 73 74 <p>The BuddyPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our <a href="http ://codex.buddypress.org/participate-and-contribute/codex-standards-guidelines/">Codex Standards & Guidelines</a>.</p>74 <p>The BuddyPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our <a href="https://codex.buddypress.org/participate-and-contribute/codex-standards-guidelines/">Codex Standards & Guidelines</a>.</p> 75 75 76 76 </div> 77 77 … … 85 85 86 86 <div class="links"> 87 87 <p> 88 See also: 89 <a href="http ://wordpress.org"><?php _e( 'WordPress.org', 'bporg'); ?></a> •90 <a href="http ://bbpress.org"><?php _e( 'bbPress.org', 'bporg'); ?></a> •91 <a href="http ://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg'); ?></a> •92 <a href="http ://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a> •88 See also: 89 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg'); ?></a> • 90 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg'); ?></a> • 91 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg'); ?></a> • 92 <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a> • 93 93 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bporg' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a> 94 94 </p> 95 95 </div> … … 96 96 97 97 <div class="details"> 98 98 <p> 99 <a href="http ://twitter.com/buddypressdev" class="twitter"><?php _e( 'Follow BuddyPress on Twitter', 'bporg'); ?></a> •100 <a href="http ://buddypress.org/about/gpl/"><?php _e('GPL', 'bporg'); ?></a> •101 <a href="http ://buddypress.org/contact/"><?php _e('Contact Us', 'bporg'); ?></a> •102 <a href="http ://buddypress.org/terms/"><?php _e('Terms of Service', 'bporg'); ?></a>99 <a href="https://twitter.com/buddypressdev" class="twitter"><?php _e( 'Follow BuddyPress on Twitter', 'bporg'); ?></a> • 100 <a href="https://buddypress.org/about/gpl/"><?php _e('GPL', 'bporg'); ?></a> • 101 <a href="https://buddypress.org/contact/"><?php _e('Contact Us', 'bporg'); ?></a> • 102 <a href="https://buddypress.org/terms/"><?php _e('Terms of Service', 'bporg'); ?></a> 103 103 </p> 104 104 </div> 105 105 106 106 </div> 107 107 <?php wp_footer(); ?> 108 108 </body> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/front-page.php
20 20 echo '<h2>Components</h2>'; 21 21 echo '<ul>'; 22 22 foreach ( $terms as $term ) { 23 echo '<li><a href="' . esc_url( 'http ://codex.buddypress.org/component/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';23 echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/component/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>'; 24 24 } 25 25 echo '</ul>'; 26 26 echo '</div>'; … … 38 38 echo '<h2>Versions</h2>'; 39 39 echo '<ul>'; 40 40 foreach ( $terms as $term ) { 41 echo '<li><a href="' . esc_url( 'http ://codex.buddypress.org/version/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';41 echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/version/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>'; 42 42 } 43 43 echo '</ul>'; 44 44 echo '</div>'; … … 56 56 echo '<h2>Types</h2>'; 57 57 echo '<ul>'; 58 58 foreach ( $terms as $term ) { 59 echo '<li><a href="' . esc_url( 'http ://codex.buddypress.org/type/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';59 echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/type/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>'; 60 60 } 61 61 echo '</ul>'; 62 62 echo '</div>'; … … 74 74 echo '<h2>Contexts</h2>'; 75 75 echo '<ul>'; 76 76 foreach ( $terms as $term ) { 77 echo '<li><a href="' . esc_url( 'http ://codex.buddypress.org/context/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ). '">' . esc_html( $term->name ) . '</a></li>';77 echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/context/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ). '">' . esc_html( $term->name ) . '</a></li>'; 78 78 } 79 79 echo '</ul>'; 80 80 echo '</div>'; … … 92 92 global $post; 93 93 94 94 $args = array( 'order' => 'ASC', ); 95 $revisions = wp_get_post_revisions( get_queried_object_id(), $args ); 95 $revisions = wp_get_post_revisions( get_queried_object_id(), $args ); 96 96 $post_authors = array( $post->post_author => 1 ); 97 97 foreach( (array)$revisions as $revision ) { 98 98 $post_authors[$revision->post_author] += 1; -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/functions.php
5 5 */ 6 6 function bpcodex_register_stylesheet() { 7 7 wp_enqueue_style( 'bp-codex-screen', get_stylesheet_directory_uri() . '/screen.css', false, '2.0.9', 'screen' ); 8 wp_enqueue_style( 'google-font-source', 'http ://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700', false, '1.0', 'all' );8 wp_enqueue_style( 'google-font-source', 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700', false, '1.0', 'all' ); 9 9 } 10 10 add_action( 'wp_enqueue_scripts', 'bpcodex_register_stylesheet' ); 11 11 -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/header-nav.php
1 1 <ul id="nav" class="menu"> 2 <li><a href="http ://buddypress.org/about/">About</a></li>3 <li><a href="http ://buddypress.org/plugins/">Plugins</a></li>4 <li><a href="http ://buddypress.org/themes/">Themes</a></li>5 <li class="current"class="current"><a href="http ://codex.buddypress.org/">Documentation</a></li>6 <li><a href="http ://buddypress.org/blog/">Blog</a></li>7 <li><a href="http ://buddypress.org/support/">Support</a></li>8 <li><a href="http ://buddypress.org/download/">Download</a></li>2 <li><a href="https://buddypress.org/about/">About</a></li> 3 <li><a href="https://buddypress.org/plugins/">Plugins</a></li> 4 <li><a href="https://buddypress.org/themes/">Themes</a></li> 5 <li class="current"class="current"><a href="https://codex.buddypress.org/">Documentation</a></li> 6 <li><a href="https://buddypress.org/blog/">Blog</a></li> 7 <li><a href="https://buddypress.org/support/">Support</a></li> 8 <li><a href="https://buddypress.org/download/">Download</a></li> 9 9 </ul> 10 No newline at end of file -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/style.css
1 1 /** 2 2 * Theme Name: BuddyPress.org Codex 2013 3 * Theme URL: http ://codex.buddypress.org3 * Theme URL: https://codex.buddypress.org 4 4 * Description: A WordPress theme for BuddyPress.org codex 5 5 * Author: John James Jacoby 6 6 * Author URI: http://jaco.by