Ticket #4394: #4394-shashank3105.patch
| File #4394-shashank3105.patch, 6.3 KB (added by , 7 years ago) |
|---|
-
profiles.wordpress.org/public_html/wp-content/plugins/wporg-profiles-activity-handler/wporg-profiles-activity-handler.php
156 156 public function handle_activity() { 157 157 // Return error if not a valid activity request. 158 158 if ( true !== apply_filters( 'wporg_is_valid_activity_request', false ) ) { 159 die( '-1 Not a valid activity request ' );159 die( '-1 Not a valid activity request.' ); 160 160 } 161 161 162 162 // Return error if activities are not enabled. 163 163 if ( ! bp_is_active( 'activity' ) ) { 164 die( '-1 Activity component not activated ' );164 die( '-1 Activity component not activated.' ); 165 165 } 166 166 167 167 if ( empty( $_POST['user'] ) ) { … … 215 215 216 216 /** 217 217 * Handles incoming activities for a forum. 218 * $user value. 218 219 * 219 220 * Recognized activities: 220 221 * - Creating new topic … … 306 307 ); 307 308 } 308 309 310 311 /* 312 * @args array 313 * @return array 314 */ 309 315 $args = array( 310 316 'user_id' => $user->ID, 311 317 'action' => $action, … … 660 666 } 661 667 662 668 } /* /class WPOrg_Profiles_Activity_Handler */ 663 } /* if class_exists */669 } 664 670 671 /* if class_exists */ 665 672 if ( class_exists( 'WPOrg_Profiles_Activity_Handler' ) ) { 666 673 new WPOrg_Profiles_Activity_Handler(); 667 674 } -
wordcamp.org/public_html/wp-content/themes/campsite-2017/style.css
152 152 } 153 153 154 154 hr { 155 -webkit-box-sizing: content-box; 156 -moz-box-sizing: content-box; 155 157 box-sizing: content-box; 156 158 height: 0; 157 159 } … … 212 214 213 215 input[type="checkbox"], 214 216 input[type="radio"] { 217 -webkit-box-sizing: border-box; 218 -moz-box-sizing: border-box; 215 219 box-sizing: border-box; 216 220 padding: 0; 217 221 } … … 326 330 # Elements 327 331 --------------------------------------------------------------*/ 328 332 html { 333 -webkit-box-sizing: border-box; 334 -moz-box-sizing: border-box; 329 335 box-sizing: border-box; 330 336 } 331 337 … … 333 339 *:before, 334 340 *:after { 335 341 /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ 342 -webkit-box-sizing: inherit; 343 -moz-box-sizing: inherit; 336 344 box-sizing: inherit; 337 345 } 338 346 -
wordpress.tv/public_html/wp-content/themes/wptv2/style.css
150 150 font-style: italic; 151 151 } 152 152 153 strong {153 strong, b { 154 154 font-weight: bold; 155 155 } 156 156 … … 232 232 233 233 /* Figures & images */ 234 234 .image { 235 max-width: 100%; 236 height: auto; 235 237 } 236 238 237 239 .figure { … … 295 297 296 298 #searchform #searchbox, 297 299 #searchform input#s { 300 -webkit-box-sizing: content-box; 301 -moz-box-sizing: content-box; 298 302 box-sizing: content-box; 299 303 border: 1px solid #ccc; 300 304 -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1); … … 1804 1808 .tag-count { 1805 1809 border-radius: 20px; 1806 1810 background: #dedede; 1807 1808 1811 font-size: 11px; 1809 1812 font-weight: bold; 1810 1811 1813 padding: 1px 5px 0px 5px; 1812 1814 margin: 0 0 0 2px; 1813 1815 } … … 1937 1939 h3 { 1938 1940 font-family: "ff-meta-web-pro", Helvetica Neue, Helvetica, sans-serif; 1939 1941 border-bottom: 1px #e9e9e9 solid; 1940 1941 1942 clear: both; 1942 1943 1943 font-size: 18px; 1944 1944 font-weight: bold; 1945 1946 1945 margin: 20px 0 20px; 1947 1946 padding: 0 0 9px; 1948 1947 } … … 1955 1954 font-family: "ff-meta-web-pro", Helvetica Neue, Helvetica, sans-serif; 1956 1955 font-size: 16px; 1957 1956 font-weight: bold; 1958 1959 1957 margin: 20px 0 10px; 1960 1958 } 1961 1959 … … 1963 1961 font-size: 12px; 1964 1962 font-weight: bold; 1965 1963 text-transform: uppercase; 1966 1967 1964 margin: 10px 0 2px 0; 1968 1965 } 1969 1966 1970 1967 .view-more { 1971 1968 font-size: 13px; 1972 1973 1969 display: block; 1974 1970 float: right; 1975 1971 margin: 5px 0 0 0; … … 1977 1973 1978 1974 .breadcrumb { 1979 1975 color: #8B8B8B; 1980 1981 1976 font-size: 13px; 1982 1977 text-transform: uppercase; 1983 1984 1978 margin: 0 0 10px 0; 1985 1979 } 1986 1980 … … 2000 1994 .breadcrumb .arrow { 2001 1995 font-family: Arial, Helvetica, sans-serif; 2002 1996 font-size: 12px; 2003 2004 1997 margin: 0 5px; 2005 2006 1998 position: relative; 2007 1999 top: -1px; 2008 2000 } … … 2016 2008 2017 2009 .wptv-hero { 2018 2010 clear: both; 2019 2020 2011 margin: 10px auto 30px auto; 2021 2012 padding: 30px 0 10px 0; 2022 2023 2013 background: #F0F0F0; 2024 2014 } 2025 2015 … … 2026 2016 .wptv-hero .main-video { 2027 2017 background: #2f2f2f; 2028 2018 clear: both; 2029 2030 2019 float: left; 2031 2020 width: 575px; 2032 2021 } … … 2057 2046 .wptv-hero .main-video h3 { 2058 2047 border-bottom: 0; 2059 2048 border-top: 6px #464646 solid; 2060 2061 2049 text-align: left; 2062 2063 2050 margin: 0; 2064 2051 padding: 15px; 2065 2052 } … … 2104 2091 font-size: 18px; 2105 2092 font-weight: bold; 2106 2093 border-bottom: 1px #dfdfdf solid; 2107 2108 2094 padding: 0 0 14px 0; 2109 2095 margin: 0 0 18px 0; 2110 2096 } … … 2111 2097 2112 2098 .wptv-hero .secondary-videos li { 2113 2099 font-size: 13px; 2114 2115 2100 min-height: 75px; 2116 2101 position: relative; 2117 2118 2102 margin: 0 auto 23px 0; 2119 2103 padding: 0 0 0 142px; 2120 2104 } … … 2122 2106 .wptv-hero .secondary-videos .video-thumbnail img { 2123 2107 width: 130px; 2124 2108 height: 75px; 2125 2126 2109 position: absolute; 2127 2110 left: 0; 2128 2111 } … … 2148 2131 display: block; 2149 2132 width: 100%; 2150 2133 height: 100px; 2151 2152 2134 margin: 0 0 8px 0; 2153 2154 2135 overflow: hidden; 2155 2136 position: relative; 2156 2137 } … … 2197 2178 .archive.video-list li { 2198 2179 margin: 0 0 40px 0; 2199 2180 min-height: 120px; 2200 2201 2181 display: block; 2202 2182 float: none; 2203 2183 position: relative; … … 2207 2187 position: absolute; 2208 2188 top: 0; 2209 2189 left: 0; 2210 2211 2190 width: 220px; 2212 2191 height: 120px; 2213 2214 2192 margin: 0 20px 0 0; 2215 2193 } 2216 2194 … … 2227 2205 .archive.video-list .video-date { 2228 2206 color: #aaa; 2229 2207 display: block; 2230 2231 2208 margin: 10px 0 0 0; 2232 2233 2209 font-size: 12px; 2234 2210 } 2235 2211 … … 2285 2261 float: left; 2286 2262 width: 940px !important; 2287 2263 height: 529px !important; 2288 2289 2264 overflow: hidden; 2290 2265 } 2291 2266 … … 2406 2381 .secondary-videos .video-event { 2407 2382 display: block; 2408 2383 margin: 5px 0 0 0; 2409 2410 2384 font-size: 12px; 2411 2385 font-weight: normal; 2412 2386 text-transform: capitalize;